1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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@eager.cx (maintainer)
This commit is contained in:
Gerald Pfeifer 2020-06-12 21:30:44 +00:00
parent 5e0252a127
commit e77338406a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538632

View File

@ -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