ports/sysutils/dvdisaster/files/patch-dvdisaster.h
Gerald Pfeifer e77338406a 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)
2020-06-12 21:30:44 +00:00

24 lines
563 B
C

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