rpms/gcl/F-11 gcl-2.6.8-asm-signal-h.patch, NONE, 1.1 gcl-2.6.8-ellipsis.patch, NONE, 1.1 gcl-2.6.8-plt.patch, NONE, 1.1 gcl-2.6.8-alloca.patch, 1.2, 1.3 gcl-2.6.8-extension.patch, 1.2, 1.3 gcl-2.6.8-infrastructure.patch, 1.2, 1.3 gcl-2.6.8-selinux.patch, 1.1, 1.2 gcl.spec, 1.36, 1.37 sources, 1.6, 1.7
Jerry James
jjames at fedoraproject.org
Tue Oct 13 15:37:49 UTC 2009
Author: jjames
Update of /cvs/pkgs/rpms/gcl/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5252/F-11
Modified Files:
gcl-2.6.8-alloca.patch gcl-2.6.8-extension.patch
gcl-2.6.8-infrastructure.patch gcl-2.6.8-selinux.patch
gcl.spec sources
Added Files:
gcl-2.6.8-asm-signal-h.patch gcl-2.6.8-ellipsis.patch
gcl-2.6.8-plt.patch
Log Message:
Backport fixes from F-12 for .iplt sections, which now appear to be needed on
F-11. Update dates when patches were last sent upstream.
gcl-2.6.8-asm-signal-h.patch:
configure | 97 +++-------------------------------------------------
configure.in | 3 +
h/386-linux.h | 1
h/m68k-linux.h | 1
o/test_memprotect.c | 1
5 files changed, 12 insertions(+), 91 deletions(-)
--- NEW FILE gcl-2.6.8-asm-signal-h.patch ---
diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
--- gcl-2.6.8.ORIG/configure 2009-08-11 10:57:23.131471438 -0600
+++ gcl-2.6.8/configure 2009-08-11 11:01:13.331496734 -0600
@@ -14608,27 +14608,19 @@
for ac_header in asm/signal.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
-fi
-ac_res=`eval 'as_val=${'$as_ac_Header'}
- $as_echo "$as_val"'`
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
else
- # Is the header compilable?
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
-$as_echo_n "checking $ac_header usability... " >&6; }
-cat >conftest.$ac_ext <<_ACEOF
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-$ac_includes_default
+#define __ASSEMBLY__
+
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
@@ -14649,96 +14641,20 @@
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
+ eval "$as_ac_Header=yes"
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_header_compiler=no
+ eval "$as_ac_Header=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
-$as_echo_n "checking $ac_header presence... " >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
- yes:no: )
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-
- ;;
-esac
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
-$as_echo_n "checking for $ac_header... " >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- $as_echo_n "(cached) " >&6
-else
- eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
$as_echo "$as_val"'`
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
-
-fi
as_val=`eval 'as_val=${'$as_ac_Header'}
$as_echo "$as_val"'`
if test "x$as_val" = x""yes; then
@@ -14824,6 +14740,7 @@
#include <asm/sigcontext.h>
#endif
#ifdef HAVE_ASM_SIGNAL_H
+ #define __ASSEMBLY__
#include <asm/signal.h>
#endif
diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
--- gcl-2.6.8.ORIG/configure.in 2009-08-11 10:57:23.139471057 -0600
+++ gcl-2.6.8/configure.in 2009-08-11 10:59:52.436473014 -0600
@@ -1592,7 +1592,7 @@
#if test $use = "386-linux" ; then
AC_CHECK_HEADERS(asm/sigcontext.h)
- AC_CHECK_HEADERS(asm/signal.h)
+ AC_CHECK_HEADERS(asm/signal.h, [], [], [#define __ASSEMBLY__])
AC_MSG_CHECKING([for sigcontext])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <signal.h>
@@ -1617,6 +1617,7 @@
#include <asm/sigcontext.h>
#endif
#ifdef HAVE_ASM_SIGNAL_H
+ #define __ASSEMBLY__
#include <asm/signal.h>
#endif
]],
diff -dur gcl-2.6.8.ORIG/h/386-linux.h gcl-2.6.8/h/386-linux.h
--- gcl-2.6.8.ORIG/h/386-linux.h 2005-01-15 09:28:16.000000000 -0700
+++ gcl-2.6.8/h/386-linux.h 2009-08-11 11:00:56.755526333 -0600
@@ -23,6 +23,7 @@
#include <asm/sigcontext.h>
#endif
#ifdef HAVE_ASM_SIGNAL_H
+#define __ASSEMBLY__
#include <asm/signal.h>
#endif
#endif
diff -dur gcl-2.6.8.ORIG/h/m68k-linux.h gcl-2.6.8/h/m68k-linux.h
--- gcl-2.6.8.ORIG/h/m68k-linux.h 2004-06-24 09:16:54.000000000 -0600
+++ gcl-2.6.8/h/m68k-linux.h 2009-08-11 11:00:43.653478300 -0600
@@ -23,6 +23,7 @@
#include <asm/sigcontext.h>
#endif
#ifdef HAVE_ASM_SIGNAL_H
+#define __ASSEMBLY__
#include <asm/signal.h>
#endif
#endif
diff -dur gcl-2.6.8.ORIG/o/test_memprotect.c gcl-2.6.8/o/test_memprotect.c
--- gcl-2.6.8.ORIG/o/test_memprotect.c 1999-12-06 15:44:13.000000000 -0700
+++ gcl-2.6.8/o/test_memprotect.c 2009-08-11 11:00:26.419472680 -0600
@@ -38,6 +38,7 @@
char *malloc();
+#define __ASSEMBLY__
#include <asm/signal.h>
#include <asm/sigcontext.h>
gcl-2.6.8-ellipsis.patch:
bind.c | 2 +-
external_funs.h | 12 ++++--------
2 files changed, 5 insertions(+), 9 deletions(-)
--- NEW FILE gcl-2.6.8-ellipsis.patch ---
diff -dur gcl-2.6.8.ORIG/o/bind.c gcl-2.6.8/o/bind.c
--- gcl-2.6.8.ORIG/o/bind.c 2006-06-21 14:03:05.000000000 -0600
+++ gcl-2.6.8/o/bind.c 2009-08-11 14:11:56.982474159 -0600
@@ -708,7 +708,7 @@
#define NOT_KEYWORD 1
void
-parse_key(object *base, bool rest, bool allow_other_keys, register int n, ...)
+parse_key(object *base, bool rest, bool allow_other_keys, int n, ...)
{
object temporary;
va_list ap;
diff -dur gcl-2.6.8.ORIG/o/external_funs.h gcl-2.6.8/o/external_funs.h
--- gcl-2.6.8.ORIG/o/external_funs.h 2003-08-29 14:41:59.000000000 -0600
+++ gcl-2.6.8/o/external_funs.h 2009-08-11 14:17:35.000473249 -0600
@@ -167,8 +167,8 @@
extern object find_special GPR((object body, struct bind_temp *start, struct bind_temp *end));;
extern object let_bind GPR((object body, struct bind_temp *start, struct bind_temp *end));;
extern object letA_bind GPR((object body, struct bind_temp *start, struct bind_temp *end));;
-extern int parse_key GPR((object *base, bool rest, bool allow_other_keys, register int n, int __builtin_va_alist));;
-extern int check_other_key GPR((object l, int n, int __builtin_va_alist));;
+extern int parse_key GPR((object *base, bool rest, bool allow_other_keys, int n, ...));;
+extern int check_other_key GPR((object l, int n, ...));;
extern int parse_key_new GPR((int n, object *base, struct key *keys, ...));;
extern int parse_key_rest GPR((object rest, int n, object *base, struct key *keys, ...));;
extern int set_key_struct GPR((struct key *ks, object data));;
@@ -380,7 +380,6 @@
extern int not_a_variable GPR((int obj));;
extern int illegal_index GPR((object x, object i));;
extern int Lerror GPR((void));;
-extern object LVerror GPR((int __builtin_va_alist));;
extern int Lcerror GPR((void));;
extern int vfun_wrong_number_of_args GPR((object x));;
extern int init_error GPR((void));;
@@ -415,9 +414,6 @@
extern object ifuncall2 GPR((object fun, object arg1, object arg2));;
extern object ifuncall3 GPR((object fun, object arg1, object arg2, object arg3));;
extern int funcall_with_catcher GPR((object fname, object fun));;
-extern object fcalln_cclosure GPR((...));;
-extern object fcalln_general GPR((...));;
-extern object fcalln_vfun GPR((va_list vl));;
-extern object fcalln GPR((int __builtin_va_alist));;
-extern object funcall_cfun GPR((funcvoid fn, int n, int __builtin_va_alist));;
+extern object fcalln GPR((object first, ...));;
+extern object funcall_cfun GPR((funcvoid fn, int n, ...));;
extern int init_eval GPR((void));;
gcl-2.6.8-plt.patch:
makefile | 2 +-
plt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE gcl-2.6.8-plt.patch ---
diff -dur gcl-2.6.8.ORIG/o/makefile gcl-2.6.8/o/makefile
--- gcl-2.6.8.ORIG/o/makefile 2009-08-11 15:11:17.769474923 -0600
+++ gcl-2.6.8/o/makefile 2009-08-11 15:11:46.167645473 -0600
@@ -149,7 +149,7 @@
$(CC) -c $(CFLAGS) $(DEFS) $*.c $(AUX_INFO)
plt.h: plttest.o
- nm $< | $(AWK) '/ U / {if ($$NF!=2) next;a=$$2;if (k) sub("^_","",a);\
+ nm $< | $(AWK) '/ U / {if (NF!=2) next;a=$$2;if (k) sub("^_","",a);\
print a}' \
k=$(LEADING_UNDERSCORE) |\
sort | \
diff -dur gcl-2.6.8.ORIG/o/plt.c gcl-2.6.8/o/plt.c
--- gcl-2.6.8.ORIG/o/plt.c 2008-08-03 09:16:22.000000000 -0600
+++ gcl-2.6.8/o/plt.c 2009-08-11 15:12:26.627506327 -0600
@@ -135,7 +135,7 @@
for (i=j=0,li=Cnil;fgets(b,sizeof(b),f);) {
if (!memchr(b,10,sizeof(b)-1))
FEerror("plt buffer too small", 0);
- if (memcmp(b," .plt",4) && !i)
+ if ((memcmp(b," .plt",5) || memcmp(b," .iplt",6)) && !i)
continue;
if (*b=='\r' || *b=='\n') {
i=0;
gcl-2.6.8-alloca.patch:
acconfig.h | 5
configure | 328 ++++++++++++++++++++++++++++++++++++++++++++++++---------
configure.in | 28 ----
h/gclincl.h.in | 28 ++++
4 files changed, 309 insertions(+), 80 deletions(-)
Index: gcl-2.6.8-alloca.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/gcl-2.6.8-alloca.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gcl-2.6.8-alloca.patch 27 Apr 2009 16:17:13 -0000 1.2
+++ gcl-2.6.8-alloca.patch 13 Oct 2009 15:37:48 -0000 1.3
@@ -1,6 +1,6 @@
diff -dur gcl-2.6.8.ORIG/acconfig.h gcl-2.6.8/acconfig.h
--- gcl-2.6.8.ORIG/acconfig.h 2009-02-23 12:39:42.000000000 -0700
-+++ gcl-2.6.8/acconfig.h 2009-04-27 09:46:14.000000000 -0600
++++ gcl-2.6.8/acconfig.h 2009-08-11 10:55:32.525471470 -0600
@@ -53,11 +53,10 @@
#undef HAVE_ALLOCA
#endif
@@ -16,8 +16,8 @@ diff -dur gcl-2.6.8.ORIG/acconfig.h gcl-
#endif
diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
---- gcl-2.6.8.ORIG/configure 2009-04-27 09:45:41.000000000 -0600
-+++ gcl-2.6.8/configure 2009-04-27 09:47:15.000000000 -0600
+--- gcl-2.6.8.ORIG/configure 2009-08-11 10:55:12.612470012 -0600
++++ gcl-2.6.8/configure 2009-08-11 10:55:32.540470956 -0600
@@ -645,6 +645,7 @@
NIFLAGS
FINAL_CFLAGS
@@ -26,7 +26,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
NOTIFY
TCL_LIBS
TCL_DL_LIBS
-@@ -13928,10 +13929,12 @@
+@@ -14045,10 +14046,12 @@
# alloca
@@ -43,7 +43,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
-@@ -13939,16 +13942,17 @@
+@@ -14056,16 +14059,17 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
@@ -64,7 +64,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-@@ -13956,44 +13960,141 @@
+@@ -14073,44 +14077,141 @@
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
@@ -223,7 +223,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
-@@ -14001,17 +14102,163 @@
+@@ -14118,17 +14219,163 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
@@ -389,7 +389,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
-@@ -14034,43 +14281,30 @@
+@@ -14151,43 +14398,30 @@
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
@@ -442,8 +442,8 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
# dlopen etc
diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
---- gcl-2.6.8.ORIG/configure.in 2009-04-27 09:45:41.000000000 -0600
-+++ gcl-2.6.8/configure.in 2009-04-27 09:46:14.000000000 -0600
+--- gcl-2.6.8.ORIG/configure.in 2009-08-11 10:55:12.621467749 -0600
++++ gcl-2.6.8/configure.in 2009-08-11 10:55:32.543471585 -0600
@@ -1869,33 +1869,7 @@
# alloca
@@ -480,8 +480,8 @@ diff -dur gcl-2.6.8.ORIG/configure.in gc
# dlopen etc
# idea make it so you do something dlopen(libX.so,RTLD_GLOBAL)
diff -dur gcl-2.6.8.ORIG/h/gclincl.h.in gcl-2.6.8/h/gclincl.h.in
---- gcl-2.6.8.ORIG/h/gclincl.h.in 2009-04-27 09:45:41.000000000 -0600
-+++ gcl-2.6.8/h/gclincl.h.in 2009-04-27 09:46:14.000000000 -0600
+--- gcl-2.6.8.ORIG/h/gclincl.h.in 2009-08-11 10:55:12.622464351 -0600
++++ gcl-2.6.8/h/gclincl.h.in 2009-08-11 10:55:32.545474389 -0600
@@ -54,11 +54,10 @@
#undef HAVE_ALLOCA
#endif
@@ -518,7 +518,7 @@ diff -dur gcl-2.6.8.ORIG/h/gclincl.h.in
/* Define to 1 if you have the <asm/sigcontext.h> header file. */
#undef HAVE_ASM_SIGCONTEXT_H
-@@ -344,6 +358,14 @@
+@@ -347,6 +361,14 @@
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
gcl-2.6.8-extension.patch:
acconfig.h | 5
configure | 1743 ++++++++++++++++++++++++++++++++++++++++++++++++---------
configure.in | 3
h/gclincl.h.in | 37 +
4 files changed, 1518 insertions(+), 270 deletions(-)
Index: gcl-2.6.8-extension.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/gcl-2.6.8-extension.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gcl-2.6.8-extension.patch 27 Apr 2009 16:17:13 -0000 1.2
+++ gcl-2.6.8-extension.patch 13 Oct 2009 15:37:48 -0000 1.3
@@ -1,6 +1,6 @@
diff -dur gcl-2.6.8.ORIG/acconfig.h gcl-2.6.8/acconfig.h
---- gcl-2.6.8.ORIG/acconfig.h 2009-04-27 09:49:00.000000000 -0600
-+++ gcl-2.6.8/acconfig.h 2009-04-27 09:49:25.000000000 -0600
+--- gcl-2.6.8.ORIG/acconfig.h 2009-08-11 10:56:39.718557844 -0600
++++ gcl-2.6.8/acconfig.h 2009-08-11 10:56:49.066471771 -0600
@@ -1,3 +1,6 @@
+/* Whether compiling on a glibc-based system */
+#undef _GNU_SOURCE
@@ -25,8 +25,8 @@ diff -dur gcl-2.6.8.ORIG/acconfig.h gcl-
#define ISFINITE(a) isfinite(a)
#else
diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
---- gcl-2.6.8.ORIG/configure 2009-04-27 09:49:00.000000000 -0600
-+++ gcl-2.6.8/configure 2009-04-27 09:49:53.000000000 -0600
+--- gcl-2.6.8.ORIG/configure 2009-08-11 10:56:39.730500620 -0600
++++ gcl-2.6.8/configure 2009-08-11 10:56:49.084463683 -0600
@@ -691,9 +691,9 @@
GMPDIR
GMP
@@ -1822,8 +1822,8 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
int
diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
---- gcl-2.6.8.ORIG/configure.in 2009-04-27 09:49:00.000000000 -0600
-+++ gcl-2.6.8/configure.in 2009-04-27 09:49:25.000000000 -0600
+--- gcl-2.6.8.ORIG/configure.in 2009-08-11 10:56:39.736470510 -0600
++++ gcl-2.6.8/configure.in 2009-08-11 10:56:49.107463193 -0600
@@ -442,6 +442,7 @@
LDFLAGS=" "
fi
@@ -1849,8 +1849,8 @@ diff -dur gcl-2.6.8.ORIG/configure.in gc
]],[[
float f;
diff -dur gcl-2.6.8.ORIG/h/gclincl.h.in gcl-2.6.8/h/gclincl.h.in
---- gcl-2.6.8.ORIG/h/gclincl.h.in 2009-04-27 09:49:00.000000000 -0600
-+++ gcl-2.6.8/h/gclincl.h.in 2009-04-27 09:49:25.000000000 -0600
+--- gcl-2.6.8.ORIG/h/gclincl.h.in 2009-08-11 10:56:39.738473077 -0600
++++ gcl-2.6.8/h/gclincl.h.in 2009-08-11 10:56:49.109472547 -0600
@@ -1,4 +1,7 @@
/* h/gclincl.h.in. Generated from configure.in by autoheader. */
+/* Whether compiling on a glibc-based system */
@@ -1875,7 +1875,7 @@ diff -dur gcl-2.6.8.ORIG/h/gclincl.h.in
#include <math.h>
#define ISFINITE(a) isfinite(a)
#else
-@@ -369,5 +370,37 @@
+@@ -372,5 +373,37 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
gcl-2.6.8-infrastructure.patch:
config.guess | 666 +-
config.sub | 227
configure |16257 +++++++++++++++++++++++++++++++++++++++++--------------
configure.in | 551 +
h/gclincl.h.in | 163
info/texinfo.tex | 9419 +++++++++++++++++++++----------
install.sh | 634 +-
ltmain.sh | 9124 ++++++++++++++++++++----------
8 files changed, 26158 insertions(+), 10883 deletions(-)
View full diff with command:
/usr/bin/cvs -n -f diff -kk -u -p -N -r 1.2 -r 1.3 gcl-2.6.8-infrastructure.patchIndex: gcl-2.6.8-infrastructure.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/gcl-2.6.8-infrastructure.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gcl-2.6.8-infrastructure.patch 27 Apr 2009 16:17:13 -0000 1.2
+++ gcl-2.6.8-infrastructure.patch 13 Oct 2009 15:37:48 -0000 1.3
@@ -1,6 +1,6 @@
-diff -dur gcl-2.6.8.ORIG/config.guess gcl-2.6.8/config.guess
+diff -durN gcl-2.6.8.ORIG/config.guess gcl-2.6.8/config.guess
--- gcl-2.6.8.ORIG/config.guess 2005-08-11 09:02:25.000000000 -0600
-+++ gcl-2.6.8/config.guess 2009-04-27 09:34:38.000000000 -0600
++++ gcl-2.6.8/config.guess 2009-08-11 10:39:53.975471624 -0600
@@ -1,9 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
@@ -1356,9 +1356,9 @@ diff -dur gcl-2.6.8.ORIG/config.guess gc
If the version you run ($0) is already up to date, please
send the following data and any information you think might be
-diff -dur gcl-2.6.8.ORIG/config.sub gcl-2.6.8/config.sub
+diff -durN gcl-2.6.8.ORIG/config.sub gcl-2.6.8/config.sub
--- gcl-2.6.8.ORIG/config.sub 2005-08-11 09:02:25.000000000 -0600
-+++ gcl-2.6.8/config.sub 2009-04-27 09:34:58.000000000 -0600
++++ gcl-2.6.8/config.sub 2009-08-11 10:39:54.032472302 -0600
@@ -1,9 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
@@ -1926,9 +1926,9 @@ diff -dur gcl-2.6.8.ORIG/config.sub gcl-
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
-diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
+diff -durN gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
--- gcl-2.6.8.ORIG/configure 2009-02-23 20:12:22.000000000 -0700
-+++ gcl-2.6.8/configure 2009-04-27 09:42:42.000000000 -0600
++++ gcl-2.6.8/configure 2009-08-11 10:44:39.723496642 -0600
@@ -1,97 +1,809 @@
#! /bin/sh
-
@@ -3372,12 +3372,12 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+ esac
fi
-exec 5>./config.log
-
+-
-echo "\
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-" 1>&5
--
+
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell metacharacters.
-ac_configure_args=
@@ -5697,9 +5697,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+ va_end (v);
+ return s;
+}
-
--echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
--echo "configure:1432: checking how to run the C preprocessor" >&5
++
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
@@ -5757,7 +5755,9 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+
+
+fi
-+
+
+-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:1432: checking how to run the C preprocessor" >&5
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
@@ -6265,7 +6265,10 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
-+
+
+-# Step 1: set the variable "system" to hold the name and version number
+-# for the system. This can usually be done via the "uname" command, but
+-# there are a few systems, like Next, where this doesn't work.
+ $ac_path_GREP_found && break 3
+ done
+ done
@@ -6284,14 +6287,8 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
-
--# Step 1: set the variable "system" to hold the name and version number
--# for the system. This can usually be done via the "uname" command, but
--# there are a few systems, like Next, where this doesn't work.
-
--echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
--echo "configure:1689: checking system version (for dynamic loading)" >&5
--if machine=`uname -m` ; then true; else machine=unknown ; fi
++
++
+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
@@ -6359,7 +6356,10 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
-+
+
+-echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
+-echo "configure:1689: checking system version (for dynamic loading)" >&5
+-if machine=`uname -m` ; then true; else machine=unknown ; fi
for ac_prog in makeinfo
do
@@ -8255,12 +8255,12 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
-+
+
+/usr/local/X11/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
-
++
+/usr/local/include/X11
+/usr/local/include/X11R6
+/usr/local/include/X11R5
@@ -9282,8 +9282,8 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_bsd_gethostbyname=no
- fi
-
++fi
++
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
@@ -9293,8 +9293,8 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
+if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
-+fi
-+
+ fi
+
+ fi
fi
@@ -9348,9 +9348,9 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+#else
+# include <assert.h>
+#endif
-
-+#undef connect
+
++#undef connect
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
@@ -13338,9 +13338,9 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+#else
+# include <assert.h>
+#endif
-
-+#undef uname
+
++#undef uname
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
@@ -13465,9 +13465,9 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
+#else
+# include <assert.h>
+#endif
-+
-+#undef gettimeofday
++#undef gettimeofday
++
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
@@ -13894,7 +13894,7 @@ diff -dur gcl-2.6.8.ORIG/configure gcl-2
else
- echo "$ac_t""no" 1>&6
+ eval "$as_ac_Header=\$ac_header_preproc"
- fi
++fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
[...17880 lines suppressed...]
+-COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+-from the given SOURCEFILE.
+-
+-The output file name is determined by removing the directory component from
+-SOURCEFILE, then substituting the C source code suffix \`.c' with the
+-library object suffix, \`.lo'."
+- ;;
+-
+-execute)
+- $echo \
+-"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
+-
+-Automatically set library path, then run a program.
+-
+-This mode accepts the following additional options:
+-
+- -dlopen FILE add the directory containing FILE to the library path
+-
+-This mode sets the library path environment variable according to \`-dlopen'
+-flags.
+-
+-If any of the ARGS are libtool executable wrappers, then they are translated
+-into their corresponding uninstalled binary, and any of their required library
+-directories are added to the library path.
+-
+-Then, COMMAND is executed, with ARGS as arguments."
+- ;;
+-
+-finish)
+- $echo \
+-"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
+-
+-Complete the installation of libtool libraries.
+-
+-Each LIBDIR is a directory that contains libtool libraries.
+-
+-The commands that this mode executes may require superuser privileges. Use
+-the \`--dry-run' option if you just want to see what would be executed."
+- ;;
+-
+-install)
+- $echo \
+-"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
+-
+-Install executables or libraries.
+-
+-INSTALL-COMMAND is the installation command. The first component should be
+-either the \`install' or \`cp' program.
+-
+-The rest of the components are interpreted as arguments to that command (only
+-BSD-compatible install options are recognized)."
+- ;;
+-
+-link)
+- $echo \
+-"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
+-
+-Link object files or libraries together to form another library, or to
+-create an executable program.
+-
+-LINK-COMMAND is a command using the C compiler that you would use to create
+-a program from several object files.
+-
+-The following components of LINK-COMMAND are treated specially:
+-
+- -all-static do not do any dynamic linking at all
+- -avoid-version do not add a version suffix if possible
+- -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
+- -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+- -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+- -export-symbols SYMFILE
- try to export only the symbols listed in SYMFILE
-+ try to export only the symbols listed in SYMFILE
- -export-symbols-regex REGEX
+- -export-symbols-regex REGEX
- try to export only the symbols matching REGEX
-+ try to export only the symbols matching REGEX
- -LLIBDIR search LIBDIR for required installed libraries
- -lNAME OUTPUT-FILE requires the installed library libNAME
- -module build a library that can dlopened
-@@ -5400,12 +6877,16 @@
- -no-undefined declare that a library does not refer to external symbols
- -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
- -objectlist FILE Use a list of object files found in FILE to specify objects
-+ -precious-files-regex REGEX
-+ don't remove output files matching REGEX
- -release RELEASE specify package release information
- -rpath LIBDIR the created library will eventually be installed in LIBDIR
- -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+- -LLIBDIR search LIBDIR for required installed libraries
+- -lNAME OUTPUT-FILE requires the installed library libNAME
+- -module build a library that can dlopened
+- -no-fast-install disable the fast-install mode
+- -no-install link a not-installable executable
+- -no-undefined declare that a library does not refer to external symbols
+- -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+- -objectlist FILE Use a list of object files found in FILE to specify objects
+- -release RELEASE specify package release information
+- -rpath LIBDIR the created library will eventually be installed in LIBDIR
+- -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
- -static do not do any dynamic linking of libtool libraries
-+ -static do not do any dynamic linking of uninstalled libtool libraries
-+ -static-libtool-libs
-+ do not do any dynamic linking of libtool libraries
- -version-info CURRENT[:REVISION[:AGE]]
+- -version-info CURRENT[:REVISION[:AGE]]
- specify library version info [each variable defaults to 0]
-+ specify library version info [each variable defaults to 0]
-
- All other options (arguments beginning with \`-') are ignored.
-
-@@ -5441,14 +6922,14 @@
- *)
- $echo "$modename: invalid operation mode \`$mode'" 1>&2
- $echo "$help" 1>&2
+-
+-All other options (arguments beginning with \`-') are ignored.
+-
+-Every other argument is treated as a filename. Files ending in \`.la' are
+-treated as uninstalled libtool libraries, other files are standard or library
+-object files.
+-
+-If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
+-only library objects (\`.lo' files) may be specified, and \`-rpath' is
+-required, except when creating a convenience library.
+-
+-If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
+-using \`ar' and \`ranlib', or on Windows using \`lib'.
+-
+-If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
+-is created, otherwise an executable program is created."
+- ;;
+-
+-uninstall)
+- $echo \
+-"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+-
+-Remove libraries from an installation directory.
+-
+-RM is the name of the program to use to delete files associated with each FILE
+-(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+-to RM.
+-
+-If FILE is a libtool library, all the files associated with it are deleted.
+-Otherwise, only FILE itself is deleted using RM."
+- ;;
+-
+-*)
+- $echo "$modename: invalid operation mode \`$mode'" 1>&2
+- $echo "$help" 1>&2
- exit 1
-+ exit $EXIT_FAILURE
- ;;
- esac
-
+- ;;
+-esac
+-
-echo
-+$echo
- $echo "Try \`$modename --help' for more information about other modes."
+-$echo "Try \`$modename --help' for more information about other modes."
++exit $exit_status
-exit 0
-+exit $?
# The TAGs below are defined such that we never get into a situation
# in which we disable both kinds of libraries. Given conflicting
-@@ -5461,14 +6942,13 @@
+@@ -5461,16 +8389,18 @@
# If a disable-shared tag is given, we'll fallback to a static-only
# configuration. But we'll never go from static-only to shared-only.
-### BEGIN LIBTOOL TAG CONFIG: disable-shared
--build_libtool_libs=no
--build_old_libs=yes
--### END LIBTOOL TAG CONFIG: disable-shared
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
-+disable_libs=shared
+ build_libtool_libs=no
+ build_old_libs=yes
+-### END LIBTOOL TAG CONFIG: disable-shared
+# ### END LIBTOOL TAG CONFIG: disable-shared
-### BEGIN LIBTOOL TAG CONFIG: disable-static
--build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
--### END LIBTOOL TAG CONFIG: disable-static
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
-+disable_libs=static
+ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+-### END LIBTOOL TAG CONFIG: disable-static
+# ### END LIBTOOL TAG CONFIG: disable-static
# Local Variables:
# mode:shell-script
+ # sh-indentation:2
+ # End:
++# vi:sw=2
++
gcl-2.6.8-selinux.patch:
clcs/makefile | 6 ++
makefile | 3 +
selinux/gcl.fc | 5 +
selinux/gcl.if | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
selinux/gcl.te | 50 ++++++++++++++++++
unixport/makefile | 6 ++
6 files changed, 216 insertions(+)
Index: gcl-2.6.8-selinux.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/gcl-2.6.8-selinux.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gcl-2.6.8-selinux.patch 10 Jan 2009 05:23:18 -0000 1.1
+++ gcl-2.6.8-selinux.patch 13 Oct 2009 15:37:48 -0000 1.2
@@ -1,6 +1,6 @@
diff -durN gcl-2.6.8.ORIG/clcs/makefile gcl-2.6.8/clcs/makefile
--- gcl-2.6.8.ORIG/clcs/makefile 2005-05-06 15:56:55.000000000 -0600
-+++ gcl-2.6.8/clcs/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/clcs/makefile 2009-10-13 09:12:33.455633583 -0600
@@ -9,6 +9,9 @@
saved_clcs_gcl: ../unixport/saved_pcl_gcl
@@ -23,7 +23,7 @@ diff -durN gcl-2.6.8.ORIG/clcs/makefile
rm -f *.o *.fn saved_full_gcl$(EXE) saved_full_gcl cmpinclude.h *.c *.h *.data saved_clcs_gcl
diff -durN gcl-2.6.8.ORIG/makefile gcl-2.6.8/makefile
--- gcl-2.6.8.ORIG/makefile 2007-11-30 09:59:33.000000000 -0700
-+++ gcl-2.6.8/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/makefile 2009-10-13 09:12:33.456633051 -0600
@@ -187,6 +187,9 @@
if gcc --version | grep -i mingw >/dev/null 2>&1 ; then if grep -i oncrpc makedefs >/dev/null 2>&1 ; then cp /mingw/bin/oncrpc.dll $(DESTDIR)$(INSTALL_LIB_DIR)/$(PORTDIR); fi ; fi
cd $(DESTDIR)$(INSTALL_LIB_DIR)/$(PORTDIR) && \
@@ -36,13 +36,16 @@ diff -durN gcl-2.6.8.ORIG/makefile gcl-2
if [ -e "unixport/rsym$(EXE)" ] ; then cp unixport/rsym$(EXE) $(DESTDIR)$(INSTALL_LIB_DIR)/unixport/ ; fi
diff -durN gcl-2.6.8.ORIG/selinux/gcl.fc gcl-2.6.8/selinux/gcl.fc
--- gcl-2.6.8.ORIG/selinux/gcl.fc 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.fc 2009-01-09 17:43:02.000000000 -0700
-@@ -0,0 +1,2 @@
++++ gcl-2.6.8/selinux/gcl.fc 2009-10-13 09:12:33.462625115 -0600
+@@ -0,0 +1,5 @@
+/usr/lib64/gcl-[^/]+/unixport/saved_.* -- gen_context(system_u:object_r:gcl_exec_t,s0)
+/usr/lib/gcl-[^/]+/unixport/saved_.* -- gen_context(system_u:object_r:gcl_exec_t,s0)
++/usr/lib/maxima/[^/]+/binary-gcl -- gen_context(system_u:object:r:gcl_exec_t,s0)
++/usr/lib64/maxima/[^/]+/binary-gcl -- gen_context(system_u:object:r:gcl_exec_t,s0)
++
diff -durN gcl-2.6.8.ORIG/selinux/gcl.if gcl-2.6.8/selinux/gcl.if
--- gcl-2.6.8.ORIG/selinux/gcl.if 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.if 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/selinux/gcl.if 2009-10-13 09:12:33.463716289 -0600
@@ -0,0 +1,146 @@
+
+## <summary>policy for gcl</summary>
@@ -192,7 +195,7 @@ diff -durN gcl-2.6.8.ORIG/selinux/gcl.if
+')
diff -durN gcl-2.6.8.ORIG/selinux/gcl.te gcl-2.6.8/selinux/gcl.te
--- gcl-2.6.8.ORIG/selinux/gcl.te 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.te 2009-01-09 17:43:07.000000000 -0700
++++ gcl-2.6.8/selinux/gcl.te 2009-10-13 09:14:37.562683865 -0600
@@ -0,0 +1,50 @@
+policy_module(gcl,1.0.0)
+
@@ -246,7 +249,7 @@ diff -durN gcl-2.6.8.ORIG/selinux/gcl.te
+')
diff -durN gcl-2.6.8.ORIG/unixport/makefile gcl-2.6.8/unixport/makefile
--- gcl-2.6.8.ORIG/unixport/makefile 2006-08-23 12:14:22.000000000 -0600
-+++ gcl-2.6.8/unixport/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/unixport/makefile 2009-10-13 09:12:33.465652023 -0600
@@ -118,6 +118,9 @@
cp init_$*.lsp foo
echo " (in-package \"USER\")(system:save-system \"$@\")" >>foo
Index: gcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/gcl.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- gcl.spec 27 Apr 2009 16:17:13 -0000 1.36
+++ gcl.spec 13 Oct 2009 15:37:48 -0000 1.37
@@ -1,29 +1,29 @@
# -fstack-protector leads to segfaults because GCL uses its own conflicting
# stack protection scheme.
-%define __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
+%global __global_cflags %(printf %%s '%__global_cflags' | sed 's/ -fstack-protector --param=ssp-buffer-size=4//')
# Prerelease of 2.6.8
-%define alphatag 20090303cvs
+%global alphatag 20090701cvs
# If the emacs-el package has installed a pkgconfig file, use that to determine
# install locations and Emacs version at build time, otherwise set defaults.
%if %($(pkg-config emacs) ; echo $?)
-%define emacs_version 22.2
-%define emacs_lispdir %{_datadir}/emacs/site-lisp
+%global emacs_version 22.2
+%global emacs_lispdir %{_datadir}/emacs/site-lisp
%else
-%define emacs_version %(pkg-config emacs --modversion)
-%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
+%global emacs_version %(pkg-config emacs --modversion)
+%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
%endif
# If the xemacs-devel package has installed a pkgconfig file, use that to
# determine install locations and Emacs version at build time, otherwise set
# defaults.
%if %($(pkg-config xemacs) ; echo $?)
-%define xemacs_version 21.5
-%define xemacs_lispdir %{_datadir}/xemacs/site-packages/lisp
+%global xemacs_version 21.5
+%global xemacs_lispdir %{_datadir}/xemacs/site-packages/lisp
%else
-%define xemacs_version %(pkg-config xemacs --modversion)
-%define xemacs_lispdir %(pkg-config xemacs --variable sitepkglispdir)
+%global xemacs_version %(pkg-config xemacs --modversion)
+%global xemacs_lispdir %(pkg-config xemacs --variable sitepkglispdir)
%endif
Name: gcl
@@ -37,7 +37,7 @@ URL: http://www.gnu.org/softw
# 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 2009-03-04 -d gcl-2.6.8 gcl
+# -r Version_2_6_8pre -D 2009-07-02 -d gcl-2.6.8 gcl
# tar -cjvf gcl-2.6.8.tar.bz2 gcl-2.6.8
Source0: gcl-%{version}.tar.bz2
Source1: gcl.el
@@ -96,6 +96,17 @@ Patch12: gcl-2.6.8-unrandomize.pa
# This is a Fedora-specific patch. Do not delete C files produced from D files
# so they can be pulled into the debuginfo package.
Patch13: gcl-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.
+Patch14: gcl-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.
+Patch15: gcl-2.6.8-plt.patch
+# This patch was last sent upstream on 13 Oct 2009. It fixes several malformed
+# function prototypes involving an ellipsis.
+Patch16: gcl-2.6.8-ellipsis.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libSM-devel
BuildRequires: libXext-devel
@@ -192,6 +203,9 @@ gcl_exec_t.
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
# Don't let the configure script add compiler flags we don't want
sed -i -e 's/fomit-frame-pointer/fno-strict-aliasing/' -e 's/-O3/-O2/g' configure
@@ -350,6 +364,14 @@ fi
%changelog
+* Tue Oct 13 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.3.20090701cvs
+- Update SELinux files to give compiled maxima files the right context
+- Update to 20090701 CVS snapshot, fixes bz 511483
+- Break fix for <asm/signal.h> out into a separate patch and do it right
+- Add -plt patch to fix reading of PLT info
+- Add -ellipsis patch to eliminate nondeterministic behavior
+- Minor spec file cleanups
+
* Mon Apr 27 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.3.20090303cvs
- Update to 20090303 CVS snapshot
- Drop upstreamed BFD patch
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-11/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources 27 Apr 2009 16:17:13 -0000 1.6
+++ sources 13 Oct 2009 15:37:48 -0000 1.7
@@ -1,2 +1,2 @@
-ead10281e7dff246c686c410b29caad6 gcl-2.6.8.tar.bz2
+cface6e39a4a4dcc5d59103f2b75c42a gcl-2.6.8.tar.bz2
70b0cf146c7b0dc0f598b98cc7320116 gcl-2.6.8-info.tar.bz2
More information about the scm-commits
mailing list