Date: Thu, 1 Oct 2020 19:02:23 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550866 - in head/graphics/multican: . files Message-ID: <202010011902.091J2NcL024787@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Thu Oct 1 19:02:23 2020 New Revision: 550866 URL: https://svnweb.freebsd.org/changeset/ports/550866 Log: Fix build with -fno-common Added: head/graphics/multican/files/patch-usbio.c (contents, props changed) Modified: head/graphics/multican/Makefile head/graphics/multican/files/patch-usbio.h Modified: head/graphics/multican/Makefile ============================================================================== --- head/graphics/multican/Makefile Thu Oct 1 18:57:41 2020 (r550865) +++ head/graphics/multican/Makefile Thu Oct 1 19:02:23 2020 (r550866) @@ -3,7 +3,7 @@ PORTNAME= multican DISTVERSION= 0.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF Added: head/graphics/multican/files/patch-usbio.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/multican/files/patch-usbio.c Thu Oct 1 19:02:23 2020 (r550866) @@ -0,0 +1,10 @@ +--- usbio.c.orig 2020-10-01 18:59:21 UTC ++++ usbio.c +@@ -29,6 +29,7 @@ + + unsigned usb_sequence = 0; + int tolerate_error = 0, retries = 5000; ++unsigned char usb_packet[0x1400]; + + void usb_hexdump( char *bytes, int size ) { + int n, i; Modified: head/graphics/multican/files/patch-usbio.h ============================================================================== --- head/graphics/multican/files/patch-usbio.h Thu Oct 1 18:57:41 2020 (r550865) +++ head/graphics/multican/files/patch-usbio.h Thu Oct 1 19:02:23 2020 (r550866) @@ -9,3 +9,12 @@ {0, 0, 0, NULL} }; +@@ -203,7 +205,7 @@ static struct { + {0x00000000, NULL} + }; + +-unsigned char usb_packet[0x1400]; ++extern unsigned char usb_packet[0x1400]; + extern unsigned usb_sequence; + extern int tolerate_error, retries; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010011902.091J2NcL024787>