public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stelian Ionescu" <sionescu@cddr.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/sbcl/, dev-lisp/sbcl/files/
Date: Fri, 26 Aug 2011 23:20:29 +0000 (UTC)	[thread overview]
Message-ID: <b4f30c95c4e8af9b3be3a151ef7f2c3564011d20.fenlix@gentoo> (raw)

commit:     b4f30c95c4e8af9b3be3a151ef7f2c3564011d20
Author:     Stelian Ionescu <sionescu <AT> cddr <DOT> org>
AuthorDate: Fri Aug 26 23:20:21 2011 +0000
Commit:     Stelian Ionescu <sionescu <AT> cddr <DOT> org>
CommitDate: Fri Aug 26 23:20:21 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=b4f30c95

dev-lisp/sbcl: fix build system

---
 .../1.0.50-fix-linux-kernel-version-parsing.patch  |   38 --
 ....patch => 1.0.51-gentoo-fix_build_system.patch} |  359 +++++++++++---------
 dev-lisp/sbcl/sbcl-1.0.51.ebuild                   |    1 -
 3 files changed, 203 insertions(+), 195 deletions(-)

diff --git a/dev-lisp/sbcl/files/1.0.50-fix-linux-kernel-version-parsing.patch b/dev-lisp/sbcl/files/1.0.50-fix-linux-kernel-version-parsing.patch
deleted file mode 100644
index cf3746a..0000000
--- a/dev-lisp/sbcl/files/1.0.50-fix-linux-kernel-version-parsing.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-commit b43c51beeb0569a38900e1e5a78606711f987742
-Author: Paul Khuong <pvk@pvk.ca>
-Date:   Wed Aug 3 10:20:41 2011 -0400
-
-    Fix version string parsing for Linux 3.0
-    
-     Stop assuming the presence of minor and patch version numbers; missing
-     values are defaulted to 0 (e.g. 3.0.0).
-    
-     Reported by a few people on IRC.
-
-diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c
-index db72fa6..e262f41 100644
---- a/src/runtime/linux-os.c
-+++ b/src/runtime/linux-os.c
-@@ -198,12 +198,18 @@ os_init(char *argv[], char *envp[])
-     int patch_version;
-     char *p;
-     uname(&name);
-+
-     p=name.release;
-     major_version = atoi(p);
--    p=strchr(p,'.')+1;
--    minor_version = atoi(p);
--    p=strchr(p,'.')+1;
--    patch_version = atoi(p);
-+    minor_version = patch_version = 0;
-+    p=strchr(p,'.');
-+    if (p != NULL) {
-+            minor_version = atoi(++p);
-+            p=strchr(p,'.');
-+            if (p != NULL)
-+                    patch_version = atoi(++p);
-+    }
-+
-     if (major_version<2) {
-         lose("linux kernel version too old: major version=%d (can't run in version < 2.0.0)\n",
-              major_version);

diff --git a/dev-lisp/sbcl/files/1.0.50-gentoo-fix_build_system.patch b/dev-lisp/sbcl/files/1.0.51-gentoo-fix_build_system.patch
similarity index 55%
rename from dev-lisp/sbcl/files/1.0.50-gentoo-fix_build_system.patch
rename to dev-lisp/sbcl/files/1.0.51-gentoo-fix_build_system.patch
index fbfcff2..f3dbbc7 100644
--- a/dev-lisp/sbcl/files/1.0.50-gentoo-fix_build_system.patch
+++ b/dev-lisp/sbcl/files/1.0.51-gentoo-fix_build_system.patch
@@ -1,13 +1,14 @@
-diff -Naur sbcl-1.0.49.orig/contrib/asdf-module.mk sbcl-1.0.49/contrib/asdf-module.mk
---- sbcl-1.0.49.orig/contrib/asdf-module.mk	2011-06-05 21:35:33.000000000 +0200
-+++ sbcl-1.0.49/contrib/asdf-module.mk	2011-06-08 17:50:43.402210614 +0200
+diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk
+index d3ffbad..7a5936e 100644
+--- a/contrib/asdf-module.mk
++++ b/contrib/asdf-module.mk
 @@ -1,3 +1,5 @@
 +# -*- makefile -*- included by contribs built with ASDF
 +
  CC=gcc
  
  # We need to extend flags to the C compiler and the linker
-@@ -7,6 +9,9 @@
+@@ -7,6 +9,9 @@ CC=gcc
  # directly via ASDF from a non-C-aware module which has these tricky
  # ones as dependencies.
  
@@ -17,7 +18,7 @@ diff -Naur sbcl-1.0.49.orig/contrib/asdf-module.mk sbcl-1.0.49/contrib/asdf-modu
  UNAME:=$(shell uname -s)
  
  ifeq (SunOS,$(UNAME))
-@@ -23,7 +28,9 @@
+@@ -23,7 +28,9 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
    CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC))))
  endif
  
@@ -28,9 +29,10 @@ diff -Naur sbcl-1.0.49.orig/contrib/asdf-module.mk sbcl-1.0.49/contrib/asdf-modu
  
  all: $(EXTRA_ALL_TARGETS)
  	$(MAKE) -C ../asdf
-diff -Naur sbcl-1.0.49.orig/contrib/vanilla-module.mk sbcl-1.0.49/contrib/vanilla-module.mk
---- sbcl-1.0.49.orig/contrib/vanilla-module.mk	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/contrib/vanilla-module.mk	2011-06-08 17:50:43.405543933 +0200
+diff --git a/contrib/vanilla-module.mk b/contrib/vanilla-module.mk
+index 41c1771..4c343ee 100644
+--- a/contrib/vanilla-module.mk
++++ b/contrib/vanilla-module.mk
 @@ -1,3 +1,7 @@
 +# -*- makefile -*- included by contribs that don't use ASDF
 +
@@ -39,10 +41,11 @@ diff -Naur sbcl-1.0.49.orig/contrib/vanilla-module.mk sbcl-1.0.49/contrib/vanill
  
  $(MODULE).fasl: $(MODULE).lisp ../../output/sbcl.core
  	$(SBCL) --eval '(compile-file (format nil "SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "$(MODULE)" "$(MODULE)"))' </dev/null
-diff -Naur sbcl-1.0.49.orig/make-target-contrib.sh sbcl-1.0.49/make-target-contrib.sh
---- sbcl-1.0.49.orig/make-target-contrib.sh	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/make-target-contrib.sh	2011-06-08 17:50:43.405543933 +0200
-@@ -66,7 +66,7 @@
+diff --git a/make-target-contrib.sh b/make-target-contrib.sh
+index 85345e6..e3185d8 100644
+--- a/make-target-contrib.sh
++++ b/make-target-contrib.sh
+@@ -66,7 +66,7 @@ for i in contrib/*; do
      # export INSTALL_DIR=$SBCL_HOME/`basename $i `
      test -f $i/test-passed && rm $i/test-passed
      # hack to get exit codes right.
@@ -51,21 +54,23 @@ diff -Naur sbcl-1.0.49.orig/make-target-contrib.sh sbcl-1.0.49/make-target-contr
  	:
      else
  	exit $?
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.alpha-linux sbcl-1.0.49/src/runtime/Config.alpha-linux
---- sbcl-1.0.49.orig/src/runtime/Config.alpha-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.alpha-linux	2011-06-08 17:50:43.405543933 +0200
+diff --git a/src/runtime/Config.alpha-linux b/src/runtime/Config.alpha-linux
+index 42df1fc..50de020 100644
+--- a/src/runtime/Config.alpha-linux
++++ b/src/runtime/Config.alpha-linux
 @@ -10,7 +10,7 @@
  # files for more information.
  
  LD = ld -taso
 -LINKFLAGS += -dynamic -v -Wl,-T -Wl,ld-script.alpha-linux -rdynamic
-+LDFLAGS += -dynamic -v -Wl,-T -Wl,ld-script.alpha-linux -rdynamic
++SBCL_LDFLAGS += -dynamic -v -Wl,-T -Wl,ld-script.alpha-linux -rdynamic
  NM = ./linux-nm
  
  ASSEM_SRC = alpha-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.alpha-osf1 sbcl-1.0.49/src/runtime/Config.alpha-osf1
---- sbcl-1.0.49.orig/src/runtime/Config.alpha-osf1	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.alpha-osf1	2011-06-08 17:50:43.405543933 +0200
+diff --git a/src/runtime/Config.alpha-osf1 b/src/runtime/Config.alpha-osf1
+index 0553f48..8c39543 100644
+--- a/src/runtime/Config.alpha-osf1
++++ b/src/runtime/Config.alpha-osf1
 @@ -9,11 +9,10 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
@@ -80,9 +85,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.alpha-osf1 sbcl-1.0.49/src/runtim
  # Digital^WCompaq^WHP's cc declares `static inline' functions to exist
  # in multiple places in the binary; we add the '-g' flag to suppress all
  # internal (i.e. static) function names being spat out.  GENESIS
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.hppa-hpux sbcl-1.0.49/src/runtime/Config.hppa-hpux
---- sbcl-1.0.49.orig/src/runtime/Config.hppa-hpux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.hppa-hpux	2011-06-08 17:50:43.408877251 +0200
+diff --git a/src/runtime/Config.hppa-hpux b/src/runtime/Config.hppa-hpux
+index fec282b..7509a60 100644
+--- a/src/runtime/Config.hppa-hpux
++++ b/src/runtime/Config.hppa-hpux
 @@ -9,7 +9,7 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
@@ -92,33 +98,45 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.hppa-hpux sbcl-1.0.49/src/runtime
  # avoid native tools
  NM = /usr/local/bin/nm
  CC = /usr/local/bin/gcc
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.hppa-linux sbcl-1.0.49/src/runtime/Config.hppa-linux
---- sbcl-1.0.49.orig/src/runtime/Config.hppa-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.hppa-linux	2011-06-08 17:50:43.408877251 +0200
+diff --git a/src/runtime/Config.hppa-linux b/src/runtime/Config.hppa-linux
+index 72449bd..1145452 100644
+--- a/src/runtime/Config.hppa-linux
++++ b/src/runtime/Config.hppa-linux
 @@ -9,7 +9,7 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
  
 -LINKFLAGS += -v -static
-+LDFLAGS += -v -static
++SBCL_LDFLAGS += -v -static
  NM = ./linux-nm
  
  ASSEM_SRC = hppa-assem.S #hppa-linux-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.mips-linux sbcl-1.0.49/src/runtime/Config.mips-linux
---- sbcl-1.0.49.orig/src/runtime/Config.mips-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.mips-linux	2011-06-08 17:50:43.408877251 +0200
+diff --git a/src/runtime/Config.mips-linux b/src/runtime/Config.mips-linux
+index 9f32f3c..88cc65c 100644
+--- a/src/runtime/Config.mips-linux
++++ b/src/runtime/Config.mips-linux
 @@ -9,7 +9,7 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
  
 -LINKFLAGS += -v -O2 -Wl,--export-dynamic
-+LDFLAGS += -v -O2 -Wl,--export-dynamic
++SBCL_LDFLAGS += -v -O2 -Wl,--export-dynamic
  NM = ./linux-nm
  
  ASSEM_SRC = mips-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.ppc-darwin sbcl-1.0.49/src/runtime/Config.ppc-darwin
---- sbcl-1.0.49.orig/src/runtime/Config.ppc-darwin	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.ppc-darwin	2011-06-08 17:50:43.408877251 +0200
+@@ -19,7 +19,7 @@ OS_SRC = linux-os.c mips-linux-os.c
+ OS_LIBS = -ldl
+ 
+ ifdef LISP_FEATURE_LARGEFILE
+-  CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
++  SBCL_CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+ endif
+ 
+ ifdef LISP_FEATURE_SB_THREAD
+diff --git a/src/runtime/Config.ppc-darwin b/src/runtime/Config.ppc-darwin
+index 0d3d79a..ea3eaf7 100644
+--- a/src/runtime/Config.ppc-darwin
++++ b/src/runtime/Config.ppc-darwin
 @@ -9,8 +9,8 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
@@ -130,22 +148,24 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.ppc-darwin sbcl-1.0.49/src/runtim
  
  OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c
  
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.ppc-linux sbcl-1.0.49/src/runtime/Config.ppc-linux
---- sbcl-1.0.49.orig/src/runtime/Config.ppc-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.ppc-linux	2011-06-08 17:50:43.412210569 +0200
+diff --git a/src/runtime/Config.ppc-linux b/src/runtime/Config.ppc-linux
+index f8ceded..77fa228 100644
+--- a/src/runtime/Config.ppc-linux
++++ b/src/runtime/Config.ppc-linux
 @@ -9,8 +9,7 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
  
 -CFLAGS = -g
 -LINKFLAGS += -v -rdynamic
-+LDFLAGS += -v -rdynamic
++SBCL_LDFLAGS += -v -rdynamic
  NM = ./linux-nm
  
  ASSEM_SRC = ppc-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.ppc-netbsd sbcl-1.0.49/src/runtime/Config.ppc-netbsd
---- sbcl-1.0.49.orig/src/runtime/Config.ppc-netbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.ppc-netbsd	2011-06-08 17:50:43.412210569 +0200
+diff --git a/src/runtime/Config.ppc-netbsd b/src/runtime/Config.ppc-netbsd
+index 07f668e..a17ebc7 100644
+--- a/src/runtime/Config.ppc-netbsd
++++ b/src/runtime/Config.ppc-netbsd
 @@ -9,8 +9,8 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
@@ -157,22 +177,24 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.ppc-netbsd sbcl-1.0.49/src/runtim
  
  ASSEM_SRC = ppc-assem.S ldso-stubs.S
  ARCH_SRC = ppc-arch.c
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.sparc-linux sbcl-1.0.49/src/runtime/Config.sparc-linux
---- sbcl-1.0.49.orig/src/runtime/Config.sparc-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.sparc-linux	2011-06-08 17:50:43.412210569 +0200
+diff --git a/src/runtime/Config.sparc-linux b/src/runtime/Config.sparc-linux
+index 1ad0213..4b4f389 100644
+--- a/src/runtime/Config.sparc-linux
++++ b/src/runtime/Config.sparc-linux
 @@ -9,8 +9,7 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
  
 -ASFLAGS = -g -Wall
 -LINKFLAGS += -v -rdynamic
-+LDFLAGS += -v -rdynamic
++SBCL_LDFLAGS += -v -rdynamic
  NM = ./linux-nm
  
  ASSEM_SRC = sparc-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.sparc-netbsd sbcl-1.0.49/src/runtime/Config.sparc-netbsd
---- sbcl-1.0.49.orig/src/runtime/Config.sparc-netbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.sparc-netbsd	2011-06-08 17:50:43.412210569 +0200
+diff --git a/src/runtime/Config.sparc-netbsd b/src/runtime/Config.sparc-netbsd
+index ec95cf8..7ca8cab 100644
+--- a/src/runtime/Config.sparc-netbsd
++++ b/src/runtime/Config.sparc-netbsd
 @@ -10,8 +10,8 @@
  # files for more information.
  
@@ -184,9 +206,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.sparc-netbsd sbcl-1.0.49/src/runt
  NM = nm -t x -p
  
  ASSEM_SRC = sparc-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.sparc-sunos sbcl-1.0.49/src/runtime/Config.sparc-sunos
---- sbcl-1.0.49.orig/src/runtime/Config.sparc-sunos	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.sparc-sunos	2011-06-08 17:50:43.415543887 +0200
+diff --git a/src/runtime/Config.sparc-sunos b/src/runtime/Config.sparc-sunos
+index c5c89b8..7ca56e8 100644
+--- a/src/runtime/Config.sparc-sunos
++++ b/src/runtime/Config.sparc-sunos
 @@ -11,8 +11,8 @@
  
  CC = gcc
@@ -198,9 +221,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.sparc-sunos sbcl-1.0.49/src/runti
  NM = nm -t x -p 
  
  ASSEM_SRC = sparc-assem.S ldso-stubs.S
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-darwin sbcl-1.0.49/src/runtime/Config.x86-64-darwin
---- sbcl-1.0.49.orig/src/runtime/Config.x86-64-darwin	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-64-darwin	2011-06-08 17:50:43.415543887 +0200
+diff --git a/src/runtime/Config.x86-64-darwin b/src/runtime/Config.x86-64-darwin
+index 24965f5..efecb06 100644
+--- a/src/runtime/Config.x86-64-darwin
++++ b/src/runtime/Config.x86-64-darwin
 @@ -9,13 +9,15 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
@@ -220,7 +244,7 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-darwin sbcl-1.0.49/src/run
  endif
  ifdef LISP_FEATURE_INODE64
  CFLAGS += -D_DARWIN_USE_64_BIT_INODE
-@@ -31,9 +33,9 @@
+@@ -31,9 +33,9 @@ endif
  ASSEM_SRC = x86-64-assem.S ldso-stubs.S
  ARCH_SRC = x86-64-arch.c
  
@@ -232,10 +256,11 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-darwin sbcl-1.0.49/src/run
  
  GC_SRC = gencgc.c
  
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-freebsd sbcl-1.0.49/src/runtime/Config.x86-64-freebsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-64-freebsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-64-freebsd	2011-06-08 17:50:43.415543887 +0200
-@@ -13,11 +13,11 @@
+diff --git a/src/runtime/Config.x86-64-freebsd b/src/runtime/Config.x86-64-freebsd
+index cb35476..2945aa5 100644
+--- a/src/runtime/Config.x86-64-freebsd
++++ b/src/runtime/Config.x86-64-freebsd
+@@ -13,11 +13,11 @@ include Config.x86-64-bsd
  
  ASSEM_SRC += ldso-stubs.S
  
@@ -249,22 +274,11 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-freebsd sbcl-1.0.49/src/ru
  
  # use libthr (1:1 threading).  libpthread (m:n threading) does not work.
  ifdef LISP_FEATURE_SB_THREAD
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86_64-linux sbcl-1.0.49/src/runtime/Config.x86_64-linux
---- sbcl-1.0.49.orig/src/runtime/Config.x86_64-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86_64-linux	2011-06-08 17:50:43.425543844 +0200
-@@ -27,7 +27,7 @@
- # (You *are* encouraged to design and implement a coherent stable
- # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
- # working on one and it would be a nice thing to have.)
--LINKFLAGS += -Wl,--export-dynamic
-+LDFLAGS += -Wl,--export-dynamic
- OS_LIBS = -ldl
- 
- ifdef LISP_FEATURE_LARGEFILE
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-netbsd sbcl-1.0.49/src/runtime/Config.x86-64-netbsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-64-netbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-64-netbsd	2011-06-08 17:50:43.415543887 +0200
-@@ -14,9 +14,4 @@
+diff --git a/src/runtime/Config.x86-64-netbsd b/src/runtime/Config.x86-64-netbsd
+index e893ee0..41e66ba 100644
+--- a/src/runtime/Config.x86-64-netbsd
++++ b/src/runtime/Config.x86-64-netbsd
+@@ -14,9 +14,4 @@ include Config.x86-64-bsd
  ASSEM_SRC += ldso-stubs.S
  OS_LIBS += -lutil
  
@@ -274,10 +288,11 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-netbsd sbcl-1.0.49/src/run
 -
 -LINKFLAGS += -export-dynamic
  LDFLAGS += -export-dynamic
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-openbsd sbcl-1.0.49/src/runtime/Config.x86-64-openbsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-64-openbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-64-openbsd	2011-06-08 17:50:43.418877206 +0200
-@@ -14,9 +14,4 @@
+diff --git a/src/runtime/Config.x86-64-openbsd b/src/runtime/Config.x86-64-openbsd
+index e893ee0..41e66ba 100644
+--- a/src/runtime/Config.x86-64-openbsd
++++ b/src/runtime/Config.x86-64-openbsd
+@@ -14,9 +14,4 @@ include Config.x86-64-bsd
  ASSEM_SRC += ldso-stubs.S
  OS_LIBS += -lutil
  
@@ -287,9 +302,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-openbsd sbcl-1.0.49/src/ru
 -
 -LINKFLAGS += -export-dynamic
  LDFLAGS += -export-dynamic
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-sunos sbcl-1.0.49/src/runtime/Config.x86-64-sunos
---- sbcl-1.0.49.orig/src/runtime/Config.x86-64-sunos	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-64-sunos	2011-06-08 17:50:43.418877206 +0200
+diff --git a/src/runtime/Config.x86-64-sunos b/src/runtime/Config.x86-64-sunos
+index 8441cef..208a4f7 100644
+--- a/src/runtime/Config.x86-64-sunos
++++ b/src/runtime/Config.x86-64-sunos
 @@ -1,14 +1,14 @@
  CC=gcc
 -CFLAGS = -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
@@ -310,33 +326,45 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-64-sunos sbcl-1.0.49/src/runt
  
  ASSEM_SRC = x86-64-assem.S ldso-stubs.S
  ARCH_SRC = x86-64-arch.c
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-darwin sbcl-1.0.49/src/runtime/Config.x86-darwin
---- sbcl-1.0.49.orig/src/runtime/Config.x86-darwin	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-darwin	2011-06-08 17:50:43.418877206 +0200
-@@ -9,14 +9,15 @@
+diff --git a/src/runtime/Config.x86-darwin b/src/runtime/Config.x86-darwin
+index df53b0c..4e6683d 100644
+--- a/src/runtime/Config.x86-darwin
++++ b/src/runtime/Config.x86-darwin
+@@ -9,14 +9,14 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.
  
--CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers
+-CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -fno-omit-frame-pointer
 -LINKFLAGS += -arch i386
-+CFLAGS += -arch i386 -g -Wall -O2 -fdollars-in-identifiers
-+LDFLAGS += -arch i386
-+
++SBCL_CFLAGS += -arch i386 -O2 -fdollars-in-identifiers -fno-omit-frame-pointer
++SBCL_LDFLAGS += -arch i386
  ifdef LISP_FEATURE_DARWIN9_OR_BETTER
- CFLAGS += -mmacosx-version-min=10.5
+-CFLAGS += -mmacosx-version-min=10.5
 -LINKFLAGS += -mmacosx-version-min=10.5
-+LDFLAGS += -mmacosx-version-min=10.5
++SBCL_CFLAGS += -mmacosx-version-min=10.5
++SBCL_LDFLAGS += -mmacosx-version-min=10.5
  else
- CFLAGS += -mmacosx-version-min=10.4
+-CFLAGS += -mmacosx-version-min=10.4
 -LINKFLAGS += -mmacosx-version-min=10.4
-+LDFLAGS += -mmacosx-version-min=10.4
++SBCL_CFLAGS += -mmacosx-version-min=10.4
++SBCL_LDFLAGS += -mmacosx-version-min=10.4
  endif
  
  OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-freebsd sbcl-1.0.49/src/runtime/Config.x86-freebsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-freebsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-freebsd	2011-06-08 17:50:43.418877206 +0200
-@@ -13,11 +13,11 @@
+@@ -31,7 +31,7 @@ CC = gcc
+ ASSEM_SRC = x86-assem.S ldso-stubs.S
+ ARCH_SRC = x86-arch.c
+ 
+-CPPFLAGS += -no-cpp-precomp
++SBCL_CPPFLAGS += -no-cpp-precomp
+ 
+ GC_SRC = gencgc.c
+ 
+diff --git a/src/runtime/Config.x86-freebsd b/src/runtime/Config.x86-freebsd
+index a30afdc..497334f 100644
+--- a/src/runtime/Config.x86-freebsd
++++ b/src/runtime/Config.x86-freebsd
+@@ -13,11 +13,11 @@ include Config.x86-bsd
  
  ASSEM_SRC += ldso-stubs.S
  
@@ -350,87 +378,104 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-freebsd sbcl-1.0.49/src/runti
  
  # use libthr (1:1 threading).  libpthread (m:n threading) does not work.
  ifdef LISP_FEATURE_SB_THREAD
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-linux sbcl-1.0.49/src/runtime/Config.x86-linux
---- sbcl-1.0.49.orig/src/runtime/Config.x86-linux	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-linux	2011-06-08 17:50:43.422210525 +0200
-@@ -27,11 +27,11 @@
+diff --git a/src/runtime/Config.x86-linux b/src/runtime/Config.x86-linux
+index cabbf71..a5f9af4 100644
+--- a/src/runtime/Config.x86-linux
++++ b/src/runtime/Config.x86-linux
+@@ -27,13 +27,13 @@ OS_SRC = linux-os.c x86-linux-os.c
  # (You *are* encouraged to design and implement a coherent stable
  # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
  # working on one and it would be a nice thing to have.)
--LINKFLAGS += -Wl,--export-dynamic
-+SBCL_LDFLAGS += -Wl,--export-dynamic
+-LINKFLAGS += -Wl,--export-dynamic -m32
++SBCL_LDFLAGS += -Wl,--export-dynamic -m32
  OS_LIBS = -ldl
  
  ifdef LISP_FEATURE_LARGEFILE
 -  CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 +  SBCL_CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  endif
+-CFLAGS += -m32 -fno-omit-frame-pointer
++SBCL_CFLAGS += -m32 -fno-omit-frame-pointer
  
  ifdef LISP_FEATURE_SB_THREAD
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-netbsd sbcl-1.0.49/src/runtime/Config.x86-netbsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-netbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-netbsd	2011-06-08 17:50:43.422210525 +0200
-@@ -13,6 +13,6 @@
+   OS_LIBS += -lpthread
+diff --git a/src/runtime/Config.x86-netbsd b/src/runtime/Config.x86-netbsd
+index b101bd1..53ff180 100644
+--- a/src/runtime/Config.x86-netbsd
++++ b/src/runtime/Config.x86-netbsd
+@@ -13,6 +13,6 @@ include Config.x86-bsd
  
  ASSEM_SRC += ldso-stubs.S
  OS_SRC += undefineds.c
 -LINKFLAGS += -dynamic -export-dynamic
-+LDFLAGS += -dynamic -export-dynamic
- 
--CFLAGS =  -g -Wall -O2
-+CFLAGS += -O2
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-openbsd sbcl-1.0.49/src/runtime/Config.x86-openbsd
---- sbcl-1.0.49.orig/src/runtime/Config.x86-openbsd	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-openbsd	2011-06-08 17:50:43.422210525 +0200
-@@ -18,11 +18,6 @@
++SBCL_LDFLAGS += -dynamic -export-dynamic
+ 
+-CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer
++SBCL_CFLAGS = -O2 -fno-omit-frame-pointer
+diff --git a/src/runtime/Config.x86-openbsd b/src/runtime/Config.x86-openbsd
+index 144cc2b..fc4a17e 100644
+--- a/src/runtime/Config.x86-openbsd
++++ b/src/runtime/Config.x86-openbsd
+@@ -18,11 +18,6 @@ OS_LIBS += -lutil
  # locations used. If you wish to link the runtime using -Z option then
  # please see the comments in src/compiler/x86/parms.lisp
  
 -# XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
 -# LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
 -# dladdr test in tools-for-build/ to fail.
--
++SBCL_LDFLAGS += -export-dynamic
+ 
 -LINKFLAGS += -export-dynamic
- LDFLAGS += -export-dynamic
+-LDFLAGS += -export-dynamic
+-
+-CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer
++SBCL_CFLAGS += -O2 -fno-omit-frame-pointer
+diff --git a/src/runtime/Config.x86-sunos b/src/runtime/Config.x86-sunos
+index 1367565..ab2d748 100644
+--- a/src/runtime/Config.x86-sunos
++++ b/src/runtime/Config.x86-sunos
+@@ -10,8 +10,8 @@
+ # files for more information.
  
--CFLAGS =  -g -Wall -O2
-+CFLAGS += -O2
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-sunos sbcl-1.0.49/src/runtime/Config.x86-sunos
---- sbcl-1.0.49.orig/src/runtime/Config.x86-sunos	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-sunos	2011-06-08 17:50:43.422210525 +0200
-@@ -1,6 +1,5 @@
  CC=gcc
--CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT
+-CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
 -ASFLAGS = -Wall
-+CFLAGS += -O2 -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT
++SBCL_CFLAGS += -O2 -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
++SBCL_ASFLAGS += -Wall
  LD = ld
  NM = nm -xgp
  GREP = ggrep
-diff -Naur sbcl-1.0.49.orig/src/runtime/Config.x86-win32 sbcl-1.0.49/src/runtime/Config.x86-win32
---- sbcl-1.0.49.orig/src/runtime/Config.x86-win32	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/Config.x86-win32	2011-06-08 18:02:18.182444901 +0200
-@@ -25,13 +25,13 @@
+diff --git a/src/runtime/Config.x86_64-linux b/src/runtime/Config.x86_64-linux
+index e1efb79..ea0f567 100644
+--- a/src/runtime/Config.x86_64-linux
++++ b/src/runtime/Config.x86_64-linux
+@@ -27,18 +27,18 @@ OS_SRC = linux-os.c x86-64-linux-os.c
  # (You *are* encouraged to design and implement a coherent stable
  # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
  # working on one and it would be a nice thing to have.)
--OS_LINK_FLAGS = -Wl,--export-dynamic
--OS_LIBS =
-+OS_LINK_FLAGS += -Wl,--export-dynamic
-+OS_LIBS +=
+-LINKFLAGS += -Wl,--export-dynamic
++LDFLAGS += -Wl,--export-dynamic
+ OS_LIBS = -ldl
  
- GC_SRC = gencgc.c
+ ifdef LISP_FEATURE_LARGEFILE
+-  CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
++  SBCL_CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+ endif
  
--CFLAGS =  -g -Wall -O3
--ASFLAGS = $(CFLAGS)
-+CFLAGS +=  -g -Wall -O3
-+ASFLAGS += $(CFLAGS)
+ ifdef LISP_FEATURE_SB_THREAD
+   OS_LIBS += -lpthread
+ endif
  
- CPP = cpp
- CC = gcc
-diff -Naur sbcl-1.0.49.orig/src/runtime/GNUmakefile sbcl-1.0.49/src/runtime/GNUmakefile
---- sbcl-1.0.49.orig/src/runtime/GNUmakefile	2011-06-05 21:35:34.000000000 +0200
-+++ sbcl-1.0.49/src/runtime/GNUmakefile	2011-06-08 17:50:43.425543844 +0200
-@@ -18,27 +18,19 @@
+-CFLAGS += -fno-omit-frame-pointer
++SBCL_CFLAGS += -fno-omit-frame-pointer
+ 
+ GC_SRC = gencgc.c
+ 
+diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile
+index f0fbe19..6dc0581 100644
+--- a/src/runtime/GNUmakefile
++++ b/src/runtime/GNUmakefile
+@@ -18,27 +18,19 @@ TARGET=sbcl
  # Config file. Most of them are same on most systems right now.
  # If you need to override one of these, do it in Config.
  LD = ld
@@ -445,7 +490,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/GNUmakefile sbcl-1.0.49/src/runtime/GNUm
 -CFLAGS = -g -Wall -Wsign-compare -O3
 -ASFLAGS = $(CFLAGS)
 -CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\"
--
++SBCL_CFLAGS = -g -Wall -Wsign-compare -O3
++SBCL_ASFLAGS = $(SBCL_CFLAGS)
++SBCL_CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\"
+ 
 -# Give make access to the target Lisp features.
 -include genesis/Makefile.features
 -
@@ -456,16 +504,12 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/GNUmakefile sbcl-1.0.49/src/runtime/GNUm
 -# Commonly used variables in Config are: ARCH_SRC, ASSEM_SRC, GC_SRC,
 -# OS_SRC, OS_LIBS, OS_OBJS, OS_CLEAN_FILES
 -include Config
-+SBCL_CFLAGS = -g -Wall -Wsign-compare -O3
-+SBCL_ASFLAGS = $(SBCL_CFLAGS)
-+SBCL_CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\"
-+
 +# Also included by tools-for-build/Makefile
 +-include platform.mk
  
  COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c \
  	dynbind.c funcall.c gc-common.c globals.c interr.c interrupt.c \
-@@ -58,7 +50,7 @@
+@@ -58,7 +50,7 @@ LIBS = ${OS_LIBS} -lm
  targets: $(TARGET) sbcl.nm
  
  $(TARGET): $(OBJS)
@@ -474,9 +518,11 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/GNUmakefile sbcl-1.0.49/src/runtime/GNUm
  
  sbcl.nm: $(TARGET)
  	$(NM) $(TARGET) | $(GREP) -v " [FUw] " > ,$@
-diff -Naur sbcl-1.0.49.orig/src/runtime/platform.mk sbcl-1.0.49/src/runtime/platform.mk
---- sbcl-1.0.49.orig/src/runtime/platform.mk	1970-01-01 01:00:00.000000000 +0100
-+++ sbcl-1.0.49/src/runtime/platform.mk	2011-06-08 17:50:43.428877162 +0200
+diff --git a/src/runtime/platform.mk b/src/runtime/platform.mk
+new file mode 100644
+index 0000000..d2470cd
+--- /dev/null
++++ b/src/runtime/platform.mk
 @@ -0,0 +1,17 @@
 +# -*- makefile -*- for the C-level run-time support for SBCL
 +
@@ -495,9 +541,10 @@ diff -Naur sbcl-1.0.49.orig/src/runtime/platform.mk sbcl-1.0.49/src/runtime/plat
 +CFLAGS   := $(SBCL_CFLAGS)   $(CFLAGS)
 +ASFLAGS  := $(SBCL_ASFLAGS)  $(ASFLAGS)
 +LDFLAGS  := $(SBCL_LDFLAGS)  $(LDFLAGS)
-diff -Naur sbcl-1.0.49.orig/tools-for-build/Makefile sbcl-1.0.49/tools-for-build/Makefile
---- sbcl-1.0.49.orig/tools-for-build/Makefile	2011-06-05 21:35:35.000000000 +0200
-+++ sbcl-1.0.49/tools-for-build/Makefile	2011-06-08 17:50:43.428877162 +0200
+diff --git a/tools-for-build/Makefile b/tools-for-build/Makefile
+index 7a4c16f..dc99ebc 100644
+--- a/tools-for-build/Makefile
++++ b/tools-for-build/Makefile
 @@ -7,12 +7,11 @@
  # provided with absolutely no warranty. See the COPYING and CREDITS
  # files for more information.

diff --git a/dev-lisp/sbcl/sbcl-1.0.51.ebuild b/dev-lisp/sbcl/sbcl-1.0.51.ebuild
index ccc2eda..4c47165 100644
--- a/dev-lisp/sbcl/sbcl-1.0.51.ebuild
+++ b/dev-lisp/sbcl/sbcl-1.0.51.ebuild
@@ -77,7 +77,6 @@ src_unpack() {
 
 src_prepare() {
 	epatch "${FILESDIR}"/${PV}-gentoo-fix_build_system.patch
-	epatch "${FILESDIR}"/${PV}-fix-linux-kernel-version-parsing.patch
 	epatch "${FILESDIR}"/gentoo-fix_install_man.patch
 	epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
 



             reply	other threads:[~2011-08-26 23:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 23:20 Stelian Ionescu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-01 11:12 [gentoo-commits] proj/lisp:master commit in: dev-lisp/sbcl/, dev-lisp/sbcl/files/ Ulrich Müller
2017-07-02 16:11 José María Alonso
2017-04-04 18:39 José María Alonso
2017-04-04 18:05 José María Alonso
2014-12-17 16:17 José María Alonso
2013-04-05  0:31 Stelian Ionescu
2012-02-04 20:15 Stelian Ionescu
2011-11-04 10:10 Stelian Ionescu
2011-08-08  0:03 Stelian Ionescu
2011-07-14 16:37 Stelian Ionescu
2011-06-08 16:20 Stelian Ionescu
2011-03-29 22:51 Stelian Ionescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4f30c95c4e8af9b3be3a151ef7f2c3564011d20.fenlix@gentoo \
    --to=sionescu@cddr.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox