mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
- Remove GCC dependency since it now builds fine with Clang - Set WRKSRC directly instead of symlinking in post-extract
14 lines
577 B
C
14 lines
577 B
C
./par2/par2fileformat.h:89:25: error: flexible array member 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []'
|
|
FILEVERIFICATIONENTRY entries[];
|
|
|
|
--- par2/par2fileformat.h.orig 2017-10-14 03:14:17 UTC
|
|
+++ par2/par2fileformat.h
|
|
@@ -86,7 +86,7 @@ struct FILEVERIFICATIONPACKET
|
|
PACKET_HEADER header;
|
|
// Body
|
|
MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name
|
|
- FILEVERIFICATIONENTRY entries[];
|
|
+ FILEVERIFICATIONENTRY entries[0];
|
|
} PACKED;
|
|
|
|
// The file description packet is used to record the name of the file,
|