[gcl] Update to 20121008 snapshot. Add patch to identify unknown relocs instead of just exiting.
Jerry James
jjames at fedoraproject.org
Tue Oct 30 18:18:22 UTC 2012
commit e20a87f3bdaa520f3a3458dca1511c63fd65c0b7
Author: Jerry James <loganjerry at gmail.com>
Date: Tue Oct 30 12:18:00 2012 -0600
Update to 20121008 snapshot.
Add patch to identify unknown relocs instead of just exiting.
gcl-2.6.8-reloc-type.patch | 10 ++++++++
gcl.spec | 50 +++++++++++++++++++++++++------------------
sources | 2 +-
3 files changed, 40 insertions(+), 22 deletions(-)
---
diff --git a/gcl-2.6.8-reloc-type.patch b/gcl-2.6.8-reloc-type.patch
new file mode 100644
index 0000000..64e6270
--- /dev/null
+++ b/gcl-2.6.8-reloc-type.patch
@@ -0,0 +1,10 @@
+--- ./o/sfaslelf.c.orig 2012-08-22 09:11:18.000000000 -0600
++++ ./o/sfaslelf.c 2012-10-30 12:05:54.879951878 -0600
+@@ -178,6 +178,7 @@ relocate(Sym *sym1,void *v,ul a,ul start
+ #include RELOC_H
+
+ default:
++ fprintf(stderr, "Unknown reloc type %lu\n", tp);
+ massert(tp&~tp);
+
+ }
diff --git a/gcl.spec b/gcl.spec
index 4a5bb15..4ab1ca7 100644
--- a/gcl.spec
+++ b/gcl.spec
@@ -3,11 +3,11 @@
%global __global_cflags %(printf %%s '%__global_cflags' | sed 's/-fstack-protector --param=ssp-buffer-size=4//')
# Prerelease of 2.6.8
-%global alphatag 20120705cvs
+%global alphatag 20121008cvs
Name: gcl
Version: 2.6.8
-Release: 0.11.%{alphatag}%{?dist}
+Release: 0.12.%{alphatag}%{?dist}
Summary: GNU Common Lisp
Group: Development/Languages
@@ -16,72 +16,75 @@ URL: http://www.gnu.org/software/gcl/
# The source for this package was pulled from upstream's CVS repository. Use
# the following commands to generate the tarball:
# cvs -d:pserver:anonymous at cvs.savannah.gnu.org:/sources/gcl export \
-# -r Version_2_6_8pre -D 2012-07-06 -d gcl-2.6.8 gcl
+# -r Version_2_6_8pre -D 2012-10-09 -d gcl-2.6.8 gcl
# tar cvJf gcl-2.6.8.tar gcl-2.6.8
-Source0: gcl-%{version}.tar.xz
+Source0: %{name}-%{version}.tar.xz
Source1: gcl.el
# This is some info files that are needed for the DESCRIBE function to do
# something useful. These files are present in CVS HEAD (i.e., the upcoming
# 2.7.0 release), but are missing in the 2.6 branch.
-Source2: gcl-2.6.8-info.tar.xz
+Source2: %{name}-2.6.8-info.tar.xz
# This patch was last sent upstream on 29 Dec 2008. It fixes a file descriptor
# leak, as well as combining 4 system calls into only 2 on an exec().
-Patch0: gcl-2.6.8-fd-leak.patch
+Patch0: %{name}-2.6.8-fd-leak.patch
# This patch was last sent upstream on 29 Dec 2008. It updates one source file
# from LaTeX 2.09 to LaTeX 2e, thereby eliminating LaTeX warnings about running
# in compatibility mode.
-Patch1: gcl-2.6.8-latex.patch
+Patch1: %{name}-2.6.8-latex.patch
# This patch was last sent upstream on 29 Dec 2008. It eliminates a few minor
# texinfo warnings.
-Patch2: gcl-2.6.8-texinfo.patch
+Patch2: %{name}-2.6.8-texinfo.patch
# This patch was last sent upstream on 29 Dec 2008. It fixes a large number of
# compile- and run-time problems with the Emacs interface code.
-Patch3: gcl-2.6.8-elisp.patch
+Patch3: %{name}-2.6.8-elisp.patch
# This patch was last sent upstream on 17 Jan 2009. It adds support for
# compiling and running on an SELinux-enabled host.
-Patch4: gcl-2.6.8-selinux.patch
+Patch4: %{name}-2.6.8-selinux.patch
# This patch was last sent upstream on 29 Dec 2008. It uses the rename()
# system call when it is available to avoid spawning a subshell and suffering a
# context switch just to rename a file.
-Patch5: gcl-2.6.8-rename.patch
+Patch5: %{name}-2.6.8-rename.patch
# This patch was last sent upstream on 29 Dec 2008. It eliminates a
# compilation problem due to the fact that, at high optimization levels,
# getcwd() is an inline function.
-Patch6: gcl-2.6.8-getcwd.patch
+Patch6: %{name}-2.6.8-getcwd.patch
# This patch was last sent upstream on 29 Dec 2008. It updates the autoconf
# and libtool files to newer versions. By itself, this patch accomplishes
# little of interest. However, some of the later patches change configure.in.
# Without this patch, autoconf appears to run successfully, but generates a
# configure script that contains invalid shell script syntax.
-Patch7: gcl-2.6.8-infrastructure.patch
+Patch7: %{name}-2.6.8-infrastructure.patch
# This patch was last sent upstream on 29 Dec 2008. It simplifies the handling
# of alloca() detection in the configure script.
-Patch8: gcl-2.6.8-alloca.patch
+Patch8: %{name}-2.6.8-alloca.patch
# This patch was last sent upstream on 29 Dec 2008. It rationalizes the
# handling of system extensions. For example, on glibc-based systems, some
# functionality is available only when _GNU_SOURCE is defined.
-Patch9: gcl-2.6.8-extension.patch
+Patch9: %{name}-2.6.8-extension.patch
# This patch was last sent upstream on 29 Dec 2008. It fixes a compilation
# error on newer GCC systems due to an include inside a function. This affects
# the "unrandomize" sbrk() functionality, hence the name of the patch.
-Patch10: gcl-2.6.8-unrandomize.patch
+Patch10: %{name}-2.6.8-unrandomize.patch
# This is a Fedora-specific patch. Do not delete C files produced from D files
# so they can be pulled into the debuginfo package.
-Patch11: gcl-2.6.8-debuginfo.patch
+Patch11: %{name}-2.6.8-debuginfo.patch
# The need for this patch was last communicated to upstream on 21 May 2009.
# Without this patch, compilation fails due to conflicting type definitions
# between glibc and Linux kernel headers. This patch prevents the kernel
# headers from being used.
-Patch12: gcl-2.6.8-asm-signal-h.patch
+Patch12: %{name}-2.6.8-asm-signal-h.patch
# This patch was last sent upstream on 13 Oct 2009. It fixes two bugs in the
# reading of PLT information.
-Patch13: gcl-2.6.8-plt.patch
+Patch13: %{name}-2.6.8-plt.patch
# This patch was last sent upstream on 13 Oct 2009. It fixes several malformed
# function prototypes involving an ellipsis.
-Patch14: gcl-2.6.8-ellipsis.patch
+Patch14: %{name}-2.6.8-ellipsis.patch
# This patch was last sent upstream on 30 Dec 2010. It fixes some malformed
# man page constructions.
-Patch15: gcl-2.6.8-man.patch
+Patch15: %{name}-2.6.8-man.patch
+# This patch was last sent upstream on 30 Oct 2012. It provides more
+# information when an unknown reloc type is encountered.
+Patch16: %{name}-2.6.8-reloc-type.patch
BuildRequires: libSM-devel
BuildRequires: libXext-devel
@@ -183,6 +186,7 @@ gcl_exec_t.
%patch13
%patch14
%patch15
+%patch16
# Don't let the configure script add compiler flags we don't want
sed -i -e 's/"-fomit-frame-pointer"/""/' -e 's/-O3/-O2/g' configure
@@ -332,6 +336,10 @@ fi
%changelog
+* Tue Oct 30 2012 Jerry James <loganjerry at gmail.com> - 2.6.8-0.12.20121008cvs
+- Update to 20121008 snapshot
+- Add patch to identify unknown relocs instead of just exiting
+
* Thu Jul 26 2012 Jerry James <loganjerry at gmail.com> - 2.6.8-0.11.20120705cvs
- Update to 20120705 snapshot
- Change SELinux BR to match recent changes in Rawhide
diff --git a/sources b/sources
index 1a175fc..5cd7999 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-4a53090cc59f4b33a0c77526b292246a gcl-2.6.8.tar.xz
+57551a5aa8f6e8b3248dd2b38aba4eb5 gcl-2.6.8.tar.xz
b965d4ea561a9c3e019c65be69fcfb1e gcl-2.6.8-info.tar.xz
More information about the scm-commits
mailing list