svn commit: r538632 - head/sysutils/dvdisaster/files
Gerald Pfeifer
gerald at FreeBSD.org
Fri Jun 12 21:30:45 UTC 2020
Author: gerald
Date: Fri Jun 12 21:30:44 2020
New Revision: 538632
URL: https://svnweb.freebsd.org/changeset/ports/538632
Log:
Fix the build with GCC 10 that defaults to -fno-common via a new local
patch files/patch-dvdisaster.h.
PR: 246700, 246957, 246987
Submitted by: bob at eager.cx (maintainer)
Added:
head/sysutils/dvdisaster/files/patch-dvdisaster.h (contents, props changed)
Added: head/sysutils/dvdisaster/files/patch-dvdisaster.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/dvdisaster/files/patch-dvdisaster.h Fri Jun 12 21:30:44 2020 (r538632)
@@ -0,0 +1,24 @@
+--- dvdisaster.h.orig 2020-06-03 17:37:22 UTC
++++ dvdisaster.h
+@@ -425,9 +425,9 @@ typedef struct _CrcBlock
+ *** forward declarations
+ ***/
+
+-struct _RawBuffer *rawbuffer_forward;
+-struct _DefectiveSectorHeader *dsh_forward;
+-struct _DeviceHandle *dh_forward;
++extern struct _RawBuffer *rawbuffer_forward;
++extern struct _DefectiveSectorHeader *dsh_forward;
++extern struct _DeviceHandle *dh_forward;
+
+ /***
+ *** bitmap.c
+@@ -450,7 +450,7 @@ void FreeBitmap(Bitmap*);
+ *** build.h
+ ***/
+
+-int buildCount;
++extern int buildCount;
+
+ /***
+ *** cacheprobe.h
More information about the svn-ports-all
mailing list