1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix -O2 build. If declared static, integrity_identifier is optimized out

since it isn't referenced, so postproc can't find it and the build bombs.
This commit is contained in:
Dag-Erling Smørgrav 2004-11-02 22:58:44 +00:00
parent f1c4651d85
commit c1afd5180c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120669

View File

@ -0,0 +1,11 @@
--- integr.c.orig Thu Mar 28 01:03:00 2002
+++ integr.c Tue Nov 2 23:53:18 2004
@@ -5,7 +5,7 @@
*
*/
-static char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
+char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
0xB0, 0x04, 0xB0, 0x05,
0x90, 0x90, 0x90, 0x90,
0x90, 0x90, 0x90, 0x90,