svn commit: r550866 - in head/graphics/multican: . files

Stefan Eßer se at FreeBSD.org
Thu Oct 1 19:02:24 UTC 2020


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;
+ 


More information about the svn-ports-all mailing list