1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Fix build on sparc64

This commit is contained in:
Michael Johnson 2006-07-07 02:33:15 +00:00
parent 4ad87006d2
commit fc86b31b20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167106
2 changed files with 11 additions and 6 deletions

View File

@ -19,10 +19,6 @@ MAN1= xxgdb.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
# This isn't included in the original Imakefile for some reason.
# Yes, I know this will recompile the program every time, but
# we have the cookie anyway and it's much easier this way

View File

@ -1,5 +1,5 @@
--- regex.c.orig Thu Apr 20 01:58:00 1995
+++ regex.c Fri Nov 17 21:37:49 2000
--- regex.c.orig Wed Apr 19 12:58:00 1995
+++ regex.c Thu Jul 6 22:30:45 2006
@@ -114,7 +114,7 @@
* Date : July 27, 1990
*/
@ -9,3 +9,12 @@
#include <malloc.h>
#endif
#include <string.h>
@@ -123,7 +123,7 @@
#include <assert.h>
#ifdef sparc
-#include <alloca.h>
+/* #include <alloca.h> */
#else
#pragma alloca
#endif