You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Deal with lack of UNIX03 compliance in this code.
Obtained from: git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@18621 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
+3
-1
@@ -1,4 +1,4 @@
|
||||
# $Id: Portfile,v 1.32 2006/07/03 18:07:18 gwright Exp $
|
||||
# $Id: Portfile,v 1.33 2006/07/16 06:13:29 jkh Exp $
|
||||
|
||||
PortSystem 1.0
|
||||
name sbcl
|
||||
@@ -47,6 +47,8 @@ worksrcdir ${name}-${version}
|
||||
checksums ${name}-${version}-source${extract.suffix} \
|
||||
md5 d37a369e387286a0ceca51dbd8d1b173
|
||||
|
||||
patchfiles patch-Config.x86-darwin patch-Config.ppc-darwin
|
||||
|
||||
post-patch { reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
|
||||
${worksrcpath}/src/runtime/runtime.c
|
||||
reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/runtime/Config.ppc-darwin.orig 2006-07-15 14:36:03.000000000 -0700
|
||||
+++ src/runtime/Config.ppc-darwin 2006-07-15 14:36:20.000000000 -0700
|
||||
@@ -9,7 +9,7 @@
|
||||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
-CFLAGS = -g -Wall -O2 -fdollars-in-identifiers
|
||||
+CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -D_NONSTD_SOURCE=1
|
||||
OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c ppc-darwin-dlshim.c ppc-darwin-langinfo.c
|
||||
OS_LIBS = -lSystem -lc
|
||||
OS_OBJS = ppc-darwin-rospace.o
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/runtime/Config.x86-darwin.orig 2006-07-15 11:52:56.000000000 -0700
|
||||
+++ src/runtime/Config.x86-darwin 2006-07-15 11:53:24.000000000 -0700
|
||||
@@ -9,7 +9,7 @@
|
||||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
-CFLAGS = -g -Wall -O2 -fdollars-in-identifiers
|
||||
+CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -D_NONSTD_SOURCE=1
|
||||
OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c ppc-darwin-dlshim.c x86-darwin-langinfo.c
|
||||
OS_LIBS = -lSystem -lc -ldl
|
||||
OS_OBJS = x86-darwin-rospace.o
|
||||
Reference in New Issue
Block a user