mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +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:
parent
5e0252a127
commit
e77338406a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538632
24
sysutils/dvdisaster/files/patch-dvdisaster.h
Normal file
24
sysutils/dvdisaster/files/patch-dvdisaster.h
Normal 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
|
Loading…
Reference in New Issue
Block a user