mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix build with gcc 4.2
PR: 117699 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Approved by: portmgr (pav)
This commit is contained in:
parent
2ba7749b7e
commit
e45db0c535
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202460
@ -36,10 +36,4 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
9
games/blobwars/files/patch-src-CFileData.h
Normal file
9
games/blobwars/files/patch-src-CFileData.h
Normal file
@ -0,0 +1,9 @@
|
||||
--- src/CFileData.h.orig 2005-04-25 18:25:38.000000000 +0000
|
||||
+++ src/CFileData.h 2007-10-31 02:26:03.000000000 +0000
|
||||
@@ -30,5 +30,5 @@
|
||||
FileData();
|
||||
|
||||
void swapEndians();
|
||||
- void FileData::set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location);
|
||||
+ void set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location);
|
||||
};
|
10
games/blobwars/files/patch-src-CKeyboard.h
Normal file
10
games/blobwars/files/patch-src-CKeyboard.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/CKeyboard.h.orig 2005-04-25 18:25:38.000000000 +0000
|
||||
+++ src/CKeyboard.h 2007-10-31 02:29:26.000000000 +0000
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
Keyboard();
|
||||
void setDefaultKeys();
|
||||
- static char *Keyboard::translateKey(int value);
|
||||
+ static char *translateKey(int value);
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user