rpms/gcl/F-10 gcl-2.6.8-alloca.patch, 1.1, 1.2 gcl-2.6.8-extension.patch, 1.1, 1.2 gcl-2.6.8-infrastructure.patch, 1.1, 1.2 gcl-2.6.8-unrandomize.patch, 1.1, 1.2 gcl.spec, 1.30, 1.31 sources, 1.5, 1.6 gcl-2.6.8-bfd.patch, 1.2, NONE

Jerry James jjames at fedoraproject.org
Mon Apr 27 16:17:43 UTC 2009


Author: jjames

Update of /cvs/pkgs/rpms/gcl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8995/F-10

Modified Files:
	gcl-2.6.8-alloca.patch gcl-2.6.8-extension.patch 
	gcl-2.6.8-infrastructure.patch gcl-2.6.8-unrandomize.patch 
	gcl.spec sources 
Removed Files:
	gcl-2.6.8-bfd.patch 
Log Message:
* 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
- Make separate -selinux subpackage


gcl-2.6.8-alloca.patch:

Index: gcl-2.6.8-alloca.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/gcl-2.6.8-alloca.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcl-2.6.8-alloca.patch	16 Jan 2009 22:22:38 -0000	1.1
+++ gcl-2.6.8-alloca.patch	27 Apr 2009 16:17:12 -0000	1.2
@@ -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	2008-07-30 22:58:25.000000000 -0600
-+++ gcl-2.6.8/acconfig.h	2008-12-29 16:06:08.000000000 -0700
+--- 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
 @@ -53,11 +53,10 @@
  #undef HAVE_ALLOCA 
  #endif
@@ -16,8 +16,8 @@
  #endif
  
 diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
---- gcl-2.6.8.ORIG/configure	2008-12-29 16:05:13.000000000 -0700
-+++ gcl-2.6.8/configure	2008-12-29 16:06:55.000000000 -0700
+--- 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
 @@ -645,6 +645,7 @@
  NIFLAGS
  FINAL_CFLAGS
@@ -26,7 +26,7 @@
  NOTIFY
  TCL_LIBS
  TCL_DL_LIBS
-@@ -13784,10 +13785,12 @@
+@@ -13928,10 +13929,12 @@
  
  # alloca
  
@@ -43,7 +43,7 @@
  else
    cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
-@@ -13795,16 +13798,17 @@
+@@ -13939,16 +13942,17 @@
  cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
@@ -64,7 +64,7 @@
  if { (ac_try="$ac_link"
  case "(($ac_try" in
    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-@@ -13812,44 +13816,141 @@
+@@ -13956,44 +13960,141 @@
  esac
  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  $as_echo "$ac_try_echo") >&5
@@ -223,7 +223,7 @@
  else
    cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
-@@ -13857,17 +13958,163 @@
+@@ -14001,17 +14102,163 @@
  cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
@@ -389,7 +389,7 @@
  rm -f conftest$ac_exeext
  if { (ac_try="$ac_link"
  case "(($ac_try" in
-@@ -13890,43 +14137,30 @@
+@@ -14034,43 +14281,30 @@
    ac_status=$?
    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
@@ -442,9 +442,9 @@
  
  # dlopen etc
 diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
---- gcl-2.6.8.ORIG/configure.in	2008-12-29 16:05:13.000000000 -0700
-+++ gcl-2.6.8/configure.in	2008-12-29 16:06:43.000000000 -0700
-@@ -1852,33 +1852,7 @@
+--- 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
+@@ -1869,33 +1869,7 @@
  
  # alloca
  
@@ -480,8 +480,8 @@
  # 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	2008-12-29 16:05:13.000000000 -0700
-+++ gcl-2.6.8/h/gclincl.h.in	2008-12-29 16:06:55.000000000 -0700
+--- 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
 @@ -54,11 +54,10 @@
  #undef HAVE_ALLOCA 
  #endif
@@ -496,9 +496,9 @@
  #include <alloca.h>
  #endif
  
-@@ -259,6 +258,21 @@
- #undef HAVE_MALLOC_MALLOC_H
+@@ -260,6 +259,21 @@
  #undef HAVE_OBJC_MALLOC_H
+ #undef HAVE_OUTPUT_BFD
  
 +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
 +   systems. This function is required for `alloca.c' support on those systems.
@@ -518,7 +518,7 @@
  /* Define to 1 if you have the <asm/sigcontext.h> header file. */
  #undef HAVE_ASM_SIGCONTEXT_H
  
-@@ -343,6 +357,14 @@
+@@ -344,6 +358,14 @@
  /* The size of `long', as computed by sizeof. */
  #undef SIZEOF_LONG
  

gcl-2.6.8-extension.patch:

Index: gcl-2.6.8-extension.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/gcl-2.6.8-extension.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcl-2.6.8-extension.patch	16 Jan 2009 22:22:38 -0000	1.1
+++ gcl-2.6.8-extension.patch	27 Apr 2009 16:17:12 -0000	1.2
@@ -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	2008-12-29 16:11:21.000000000 -0700
-+++ gcl-2.6.8/acconfig.h	2008-12-29 16:17:50.000000000 -0700
+--- 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
 @@ -1,3 +1,6 @@
 +/* Whether compiling on a glibc-based system */
 +#undef _GNU_SOURCE
@@ -25,8 +25,8 @@
  #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	2008-12-29 16:11:21.000000000 -0700
-+++ gcl-2.6.8/configure	2008-12-29 16:19:59.000000000 -0700
+--- 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
 @@ -691,9 +691,9 @@
  GMPDIR
  GMP
@@ -1805,7 +1805,7 @@
    { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
  $as_echo_n "checking for malloc/malloc.h... " >&6; }
  if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
-@@ -11349,7 +12566,6 @@
+@@ -11493,7 +12710,6 @@
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  
@@ -1813,7 +1813,7 @@
  		#include <math.h>
  
  int
-@@ -11488,7 +12704,6 @@
+@@ -11632,7 +12848,6 @@
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  
@@ -1822,8 +1822,8 @@
  
  int
 diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
---- gcl-2.6.8.ORIG/configure.in	2008-12-29 16:11:21.000000000 -0700
-+++ gcl-2.6.8/configure.in	2008-12-29 16:19:46.000000000 -0700
+--- 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
 @@ -442,6 +442,7 @@
  	LDFLAGS=" "
  fi
@@ -1832,7 +1832,7 @@
  AC_PROG_CC
  AC_PROG_CPP
  AC_SUBST(CC)
-@@ -1339,7 +1340,6 @@
+@@ -1356,7 +1357,6 @@
  #
  AC_MSG_CHECKING([for isnormal])
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[
@@ -1840,7 +1840,7 @@
  		#include <math.h>
  		]],[[
  		float f;
-@@ -1367,7 +1367,6 @@
+@@ -1384,7 +1384,6 @@
  
  AC_MSG_CHECKING([for isfinite])
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[
@@ -1849,8 +1849,8 @@
  		]],[[
  		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	2008-12-29 16:11:21.000000000 -0700
-+++ gcl-2.6.8/h/gclincl.h.in	2008-12-29 16:19:33.000000000 -0700
+--- 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
 @@ -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 @@
  #include <math.h>
  #define ISFINITE(a) isfinite(a)
  #else
-@@ -368,5 +369,37 @@
+@@ -369,5 +370,37 @@
  /* Define to 1 if you have the ANSI C header files. */
  #undef STDC_HEADERS
  

gcl-2.6.8-infrastructure.patch:

View full diff with command:
/usr/bin/cvs -f diff  -kk -u -N -r 1.1 -r 1.2 gcl-2.6.8-infrastructure.patch
Index: gcl-2.6.8-infrastructure.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/gcl-2.6.8-infrastructure.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcl-2.6.8-infrastructure.patch	16 Jan 2009 22:22:38 -0000	1.1
+++ gcl-2.6.8-infrastructure.patch	27 Apr 2009 16:17:12 -0000	1.2
@@ -1,6 +1,6 @@
 diff -dur 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	2008-12-29 21:48:11.000000000 -0700
++++ gcl-2.6.8/config.guess	2009-04-27 09:34:38.000000000 -0600
 @@ -1,9 +1,10 @@
  #! /bin/sh
  # Attempt to guess a canonical system name.
@@ -10,7 +10,7 @@
 +#   Free Software Foundation, Inc.
  
 -timestamp='2005-04-22'
-+timestamp='2008-12-19'
++timestamp='2009-04-27'
  
  # This file is free software; you can redistribute it and/or modify it
  # under the terms of the GNU General Public License as published by
@@ -205,7 +205,7 @@
      Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  	# akee at wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  	if test "`(/bin/universe) 2>/dev/null`" = att ; then
-@@ -338,32 +313,45 @@
+@@ -338,32 +313,48 @@
  	else
  		echo pyramid-pyramid-bsd
  	fi
@@ -224,6 +224,9 @@
 -	    sparc) echo sparc-icl-nx7 && exit 0 ;;
 +	    sparc) echo sparc-icl-nx7; exit ;;
  	esac ;;
++    s390x:SunOS:*:*)
++	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
++	exit ;;
      sun4H:SunOS:5.*:*)
  	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 -	exit 0 ;;
@@ -261,7 +264,7 @@
      sun4*:SunOS:*:*)
  	case "`/usr/bin/arch -k`" in
  	    Series*|S4*)
-@@ -372,10 +360,10 @@
+@@ -372,10 +363,10 @@
  	esac
  	# Japanese Language versions have a version number like `4.1.3-JL'.
  	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
@@ -274,7 +277,7 @@
      sun*:*:4.2BSD:*)
  	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
-@@ -387,10 +375,10 @@
+@@ -387,10 +378,10 @@
  		echo sparc-sun-sunos${UNAME_RELEASE}
  		;;
  	esac
@@ -287,7 +290,7 @@
      # The situation for MiNT is a little confusing.  The machine name
      # can be virtually everything (everything which is not
      # "atarist" or "atariste" at least should have a processor
-@@ -401,40 +389,40 @@
+@@ -401,40 +392,40 @@
      # be no problem.
      atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
          echo m68k-atari-mint${UNAME_RELEASE}
@@ -340,7 +343,7 @@
      mips:*:*:UMIPS | mips:*:*:RISCos)
  	eval $set_cc_for_build
  	sed 's/^	//' << EOF >$dummy.c
-@@ -458,32 +446,33 @@
+@@ -458,32 +449,33 @@
  	  exit (-1);
  	}
  EOF
@@ -385,7 +388,7 @@
      AViiON:dgux:*:*)
          # DG/UX returns AViiON for all architectures
          UNAME_PROCESSOR=`/usr/bin/uname -p`
-@@ -499,29 +488,29 @@
+@@ -499,29 +491,29 @@
  	else
  	    echo i586-dg-dgux${UNAME_RELEASE}
  	fi
@@ -424,7 +427,7 @@
      ia64:AIX:*:*)
  	if [ -x /usr/bin/oslevel ] ; then
  		IBM_REV=`/usr/bin/oslevel`
-@@ -529,7 +518,7 @@
+@@ -529,7 +521,7 @@
  		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  	fi
  	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
@@ -433,7 +436,7 @@
      *:AIX:2:3)
  	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  		eval $set_cc_for_build
-@@ -544,15 +533,19 @@
+@@ -544,15 +536,19 @@
  			exit(0);
  			}
  EOF
@@ -457,7 +460,7 @@
  	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  		IBM_ARCH=rs6000
-@@ -565,28 +558,28 @@
+@@ -565,28 +561,28 @@
  		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  	fi
  	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
@@ -494,7 +497,7 @@
      9000/[34678]??:HP-UX:*:*)
  	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  	case "${UNAME_MACHINE}" in
-@@ -648,9 +641,19 @@
+@@ -648,9 +644,19 @@
  	esac
  	if [ ${HP_ARCH} = "hppa2.0w" ]
  	then
@@ -517,7 +520,7 @@
  	    then
  		HP_ARCH="hppa2.0w"
  	    else
-@@ -658,11 +661,11 @@
+@@ -658,11 +664,11 @@
  	    fi
  	fi
  	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
@@ -531,7 +534,7 @@
      3050*:HI-UX:*:*)
  	eval $set_cc_for_build
  	sed 's/^	//' << EOF >$dummy.c
-@@ -690,161 +693,192 @@
+@@ -690,161 +696,192 @@
  	  exit (0);
  	}
  EOF
@@ -775,7 +778,7 @@
      mips:Linux:*:*)
  	eval $set_cc_for_build
  	sed 's/^	//' << EOF >$dummy.c
-@@ -861,8 +895,12 @@
+@@ -861,8 +898,12 @@
  	#endif
  	#endif
  EOF
@@ -790,7 +793,7 @@
  	;;
      mips64:Linux:*:*)
  	eval $set_cc_for_build
-@@ -880,15 +918,22 @@
+@@ -880,15 +921,22 @@
  	#endif
  	#endif
  EOF
@@ -817,7 +820,7 @@
      alpha:Linux:*:*)
  	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  	  EV5)   UNAME_MACHINE=alphaev5 ;;
-@@ -902,7 +947,10 @@
+@@ -902,7 +950,10 @@
  	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -829,7 +832,7 @@
      parisc:Linux:*:* | hppa:Linux:*:*)
  	# Look for CPU level
  	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-@@ -910,25 +958,31 @@
+@@ -910,25 +961,31 @@
  	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
  	  *)    echo hppa-unknown-linux-gnu ;;
  	esac
@@ -868,7 +871,7 @@
      i*86:Linux:*:*)
  	# The BFD linker knows what the default object file format is, so
  	# first see if it will tell us. cd to the root directory to prevent
-@@ -946,15 +1000,12 @@
+@@ -946,15 +1003,12 @@
  		;;
  	  a.out-i386-linux)
  		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
@@ -886,7 +889,7 @@
  	esac
  	# Determine whether the default compiler is a.out or elf
  	eval $set_cc_for_build
-@@ -971,7 +1022,7 @@
+@@ -971,7 +1025,7 @@
  	LIBC=gnulibc1
  	# endif
  	#else
@@ -895,7 +898,7 @@
  	LIBC=gnu
  	#else
[...2914 lines suppressed...]
  
-@@ -1334,7 +1413,6 @@
+@@ -1350,7 +1430,6 @@
  #	   To get around this problem, check for both libraries together
  #	   if -lsocket doesn't work by itself.
  #--------------------------------------------------------------------
@@ -21251,7 +21488,7 @@
  tcl_checkBoth=0
  AC_CHECK_FUNC(connect, tcl_checkSocket=0, tcl_checkSocket=1)
  if test "$tcl_checkSocket" = 1; then
-@@ -1371,8 +1449,8 @@
+@@ -1387,8 +1466,8 @@
  AC_SUBST(RL_OBJS)
  AC_SUBST(RL_LIB)
  
@@ -21262,7 +21499,7 @@
  #include <sys/time.h>
  #include <sys/types.h>
  #include <unistd.h>
-@@ -1389,24 +1467,25 @@
+@@ -1405,24 +1484,25 @@
  #include <netinet/in.h>		/* struct in_addr, struct sockaddr_in */
  #include <arpa/inet.h>		/* inet_ntoa() */
  #include <netdb.h>		/* gethostbyname() */
@@ -21295,7 +21532,7 @@
  [AC_DEFINE(LISTEN_USE_FCNTL)
   AC_MSG_RESULT(yes)],
  AC_MSG_RESULT(no))
-@@ -1427,7 +1506,7 @@
+@@ -1443,7 +1523,7 @@
  AC_SUBST(USE_CLEANUP)
  gcl_ok=no
  
@@ -21304,7 +21541,7 @@
  if test $gcl_ok = yes ; then
  AC_DEFINE(ENDIAN_ALREADY_DEFINED)
  fi
-@@ -1459,32 +1538,35 @@
+@@ -1475,32 +1555,35 @@
  esac
  
  
@@ -21352,7 +21589,7 @@
  [AC_DEFINE(HAVE_SIGEMT)
   AC_SUBST(HAVE_SIGEMT)
   AC_MSG_RESULT(yes)],
-@@ -1495,13 +1577,14 @@
+@@ -1511,13 +1594,14 @@
  
  #if test $use = "386-linux" ; then
  	AC_CHECK_HEADERS(asm/sigcontext.h)
@@ -21373,7 +21610,7 @@
         [
          sigcontext_works=1;
          AC_DEFINE(SIGNAL_H_HAS_SIGCONTEXT)
-@@ -1512,18 +1595,19 @@
+@@ -1528,18 +1612,19 @@
           AC_MSG_RESULT(sigcontext NOT in signal.h)]
         )
         if test "$sigcontext_works" = 0 ; then
@@ -21398,7 +21635,7 @@
          [
          AC_DEFINE(HAVE_SIGCONTEXT)
  	AC_MSG_RESULT(sigcontext in asm files)
-@@ -1631,6 +1715,8 @@
+@@ -1647,6 +1732,8 @@
  AC_MSG_RESULT($INFO_DIR)
  AC_SUBST(INFO_DIR)
  
@@ -21407,7 +21644,7 @@
  AC_MSG_CHECKING([for tcl/tk])
  
  
-@@ -1651,9 +1737,6 @@
+@@ -1667,9 +1754,6 @@
  EOF
  #cp conftest.tcl foo.tcl
  
@@ -21417,7 +21654,7 @@
  if test "${TCLSH}" = "" ; then true ; else
  TCL_CONFIG_PREFIX=`${TCLSH} < conftest.tcl`
  fi
-@@ -1724,7 +1807,6 @@
+@@ -1740,7 +1824,6 @@
      TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION}
    fi
  fi
@@ -21425,7 +21662,7 @@
  if test "$have_ieee" = "0" ; then
   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
  fi
-@@ -1768,15 +1850,18 @@
+@@ -1784,15 +1867,18 @@
  
  # the time handling for unixtime, add timezone
  
@@ -21448,7 +21685,7 @@
    ,gcl_ok=yes, gcl_ok=no,gcl_ok=no)
   if test $gcl_ok = yes ; then
      AC_MSG_RESULT(yes)
-@@ -1795,8 +1880,6 @@
+@@ -1811,8 +1897,6 @@
  
  
  
@@ -21457,7 +21694,7 @@
  # dlopen etc
  # idea make it so you do something dlopen(libX.so,RTLD_GLOBAL)
  # then dlload("foo.o") a lisp file can refer to things in libX.so
-@@ -1820,7 +1903,7 @@
+@@ -1836,7 +1920,7 @@
  
  # redhat/cygnus released for some reason a buggy version of gcc,
  # which no one else released.   Catch that here.
@@ -21466,7 +21703,7 @@
  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null 
     then 
          BROKEN_O4_OPT=1
-@@ -1853,7 +1936,8 @@
+@@ -1869,7 +1953,8 @@
  if test -f h/$use.defs  ; then
  
    AC_SUBST(use)
@@ -21477,8 +21714,8 @@
    cat makedefc
  
 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	2008-07-30 22:58:31.000000000 -0600
-+++ gcl-2.6.8/h/gclincl.h.in	2008-12-29 21:48:11.000000000 -0700
+--- gcl-2.6.8.ORIG/h/gclincl.h.in	2009-02-23 12:39:43.000000000 -0700
++++ gcl-2.6.8/h/gclincl.h.in	2009-04-27 09:41:02.000000000 -0600
 @@ -1,15 +1,15 @@
 -/* h/gclincl.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
 +/* h/gclincl.h.in.  Generated from configure.in by autoheader.  */
@@ -21634,9 +21871,9 @@
  #undef USE_DLOPEN
  
  #define MP_LIMB_BYTES 0
-@@ -212,50 +259,92 @@
- #undef HAVE_MALLOC_MALLOC_H
+@@ -213,47 +260,92 @@
  #undef HAVE_OBJC_MALLOC_H
+ #undef HAVE_OUTPUT_BFD
  
 -/* The number of bytes in a long.  */
 -#undef SIZEOF_LONG
@@ -21662,20 +21899,18 @@
  
 -/* Define if you have the <elf_abi.h> header file.  */
 -#undef HAVE_ELF_ABI_H
+-
+-/* Define if you have the <float.h> header file.  */
 +/* Define to 1 if you have the <float.h> header file. */
-+#undef HAVE_FLOAT_H
+ #undef HAVE_FLOAT_H
  
--/* Define if you have the <endian.h> header file.  */
--#undef HAVE_ENDIAN_H
+-/* Define if you have the <japi.h> header file.  */
 +/* Define to 1 if you have the `getcwd' function. */
 +#undef HAVE_GETCWD
- 
--/* Define if you have the <float.h> header file.  */
--#undef HAVE_FLOAT_H
++
 +/* Define to 1 if you have the `getwd' function. */
 +#undef HAVE_GETWD
- 
--/* Define if you have the <japi.h> header file.  */
++
 +/* Define to 1 if you have the <inttypes.h> header file. */
 +#undef HAVE_INTTYPES_H
 +
@@ -21755,7 +21990,7 @@
 +#undef X_DISPLAY_MISSING
 diff -dur gcl-2.6.8.ORIG/info/texinfo.tex gcl-2.6.8/info/texinfo.tex
 --- gcl-2.6.8.ORIG/info/texinfo.tex	2002-10-26 09:14:15.000000000 -0600
-+++ gcl-2.6.8/info/texinfo.tex	2008-12-29 21:48:11.000000000 -0700
++++ gcl-2.6.8/info/texinfo.tex	2009-04-27 09:37:11.000000000 -0600
 @@ -3,10 +3,11 @@
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
@@ -32212,7 +32447,7 @@
 + at end ignore
 diff -dur gcl-2.6.8.ORIG/install.sh gcl-2.6.8/install.sh
 --- gcl-2.6.8.ORIG/install.sh	1999-12-06 15:43:54.000000000 -0700
-+++ gcl-2.6.8/install.sh	2008-12-29 21:48:11.000000000 -0700
++++ gcl-2.6.8/install.sh	2009-04-27 09:37:11.000000000 -0600
 @@ -1,19 +1,38 @@
 -#! /bin/sh
 -#
@@ -32917,7 +33152,7 @@
 +# End:
 diff -dur gcl-2.6.8.ORIG/ltmain.sh gcl-2.6.8/ltmain.sh
 --- gcl-2.6.8.ORIG/ltmain.sh	2002-08-08 23:49:32.000000000 -0600
-+++ gcl-2.6.8/ltmain.sh	2008-12-29 21:48:11.000000000 -0700
++++ gcl-2.6.8/ltmain.sh	2009-04-27 09:37:11.000000000 -0600
 @@ -1,8 +1,8 @@
  # ltmain.sh - Provide generalized library-building support services.
 -# NOTE: Changing this file will not affect anything until you rerun ltconfig.

gcl-2.6.8-unrandomize.patch:

Index: gcl-2.6.8-unrandomize.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/gcl-2.6.8-unrandomize.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcl-2.6.8-unrandomize.patch	16 Jan 2009 22:22:38 -0000	1.1
+++ gcl-2.6.8-unrandomize.patch	27 Apr 2009 16:17:12 -0000	1.2
@@ -1,7 +1,7 @@
 diff -dur gcl-2.6.8.ORIG/configure gcl-2.6.8/configure
---- gcl-2.6.8.ORIG/configure	2008-12-29 16:24:30.000000000 -0700
-+++ gcl-2.6.8/configure	2008-12-29 16:45:51.000000000 -0700
-@@ -9880,9 +9880,11 @@
+--- gcl-2.6.8.ORIG/configure	2009-04-27 09:50:47.000000000 -0600
++++ gcl-2.6.8/configure	2009-04-27 09:51:31.000000000 -0600
+@@ -10024,9 +10024,11 @@
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  
@@ -14,7 +14,7 @@
  		    return 0;}
  _ACEOF
  rm -f conftest$ac_exeext
-@@ -9947,12 +9949,11 @@
+@@ -10091,12 +10093,11 @@
  /* end confdefs.h.  */
  
  		    #include <stdio.h>
@@ -29,7 +29,7 @@
  			if (!(f=fopen("conftest1","w"))) return -1;
  			fprintf(f,"%u",sbrk(0));
  			return 0;}
-@@ -10009,12 +10010,11 @@
+@@ -10153,12 +10154,11 @@
  /* end confdefs.h.  */
  
  		    #include <stdio.h>
@@ -44,7 +44,7 @@
  			if (!(f=fopen("conftest1","w"))) return -1;
  			fprintf(f,"%u",sbrk(0));
  			return 0;}
-@@ -10165,6 +10165,7 @@
+@@ -10309,6 +10309,7 @@
  
  #include <stdio.h>
  #include <stdlib.h>
@@ -52,7 +52,7 @@
  
  void gprof_cleanup() {}
  int
-@@ -10173,9 +10174,7 @@
+@@ -10317,9 +10318,7 @@
    char *b,*b1;
    FILE *fp;
  
@@ -64,9 +64,9 @@
    fp = fopen("conftest1","w");
  
 diff -dur gcl-2.6.8.ORIG/configure.in gcl-2.6.8/configure.in
---- gcl-2.6.8.ORIG/configure.in	2008-12-29 16:24:30.000000000 -0700
-+++ gcl-2.6.8/configure.in	2008-12-29 16:37:26.000000000 -0700
-@@ -1087,9 +1087,11 @@
+--- gcl-2.6.8.ORIG/configure.in	2009-04-27 09:50:47.000000000 -0600
++++ gcl-2.6.8/configure.in	2009-04-27 09:51:09.000000000 -0600
+@@ -1104,9 +1104,11 @@
  
  	AC_MSG_CHECKING([for personality(ADDR_NO_RANDOMIZE) support])
  	AC_RUN_IFELSE([AC_LANG_SOURCE([[
@@ -79,7 +79,7 @@
  		    return 0;}]])],CAN_UNRANDOMIZE_SBRK=1,CAN_UNRANDOMIZE_SBRK=0,CAN_UNRANDOMIZE_SBRK=0)
  
  	if test "$CAN_UNRANDOMIZE_SBRK" != 0 ; then
-@@ -1102,12 +1104,11 @@
+@@ -1119,12 +1121,11 @@
  	AC_MSG_CHECKING([that sbrk is (now) non-random])
  	AC_RUN_IFELSE([AC_LANG_SOURCE([[
  		    #include <stdio.h>
@@ -94,7 +94,7 @@
  			if (!(f=fopen("conftest1","w"))) return -1;
  			fprintf(f,"%u",sbrk(0));
  			return 0;}]])],SBRK=`cat conftest1`,SBRK=0,SBRK=0)
-@@ -1116,12 +1117,11 @@
+@@ -1133,12 +1134,11 @@
  	fi
  	AC_RUN_IFELSE([AC_LANG_SOURCE([[
  		    #include <stdio.h>
@@ -109,7 +109,7 @@
  			if (!(f=fopen("conftest1","w"))) return -1;
  			fprintf(f,"%u",sbrk(0));
  			return 0;}]])],SBRK1=`cat conftest1`,SBRK1=0,SBRK1=0)
-@@ -1163,6 +1163,7 @@
+@@ -1180,6 +1180,7 @@
  AC_RUN_IFELSE([AC_LANG_SOURCE([[
  #include <stdio.h>
  #include <stdlib.h>
@@ -117,7 +117,7 @@
  
  void gprof_cleanup() {}
  int
-@@ -1171,9 +1172,7 @@
+@@ -1188,9 +1189,7 @@
    char *b,*b1;
    FILE *fp;
  
@@ -130,7 +130,7 @@
  
 diff -dur gcl-2.6.8.ORIG/h/unrandomize.h gcl-2.6.8/h/unrandomize.h
 --- gcl-2.6.8.ORIG/h/unrandomize.h	2008-08-20 19:13:58.000000000 -0600
-+++ gcl-2.6.8/h/unrandomize.h	2008-12-29 16:42:15.000000000 -0700
++++ gcl-2.6.8/h/unrandomize.h	2009-04-27 09:51:09.000000000 -0600
 @@ -1,25 +1,33 @@
 +#include <stdlib.h>
  #include <sys/personality.h>
@@ -185,7 +185,7 @@
 -}
 diff -dur gcl-2.6.8.ORIG/o/main.c gcl-2.6.8/o/main.c
 --- gcl-2.6.8.ORIG/o/main.c	2008-07-31 13:12:59.000000000 -0600
-+++ gcl-2.6.8/o/main.c	2008-12-29 16:43:14.000000000 -0700
++++ gcl-2.6.8/o/main.c	2009-04-27 09:51:09.000000000 -0600
 @@ -51,6 +51,7 @@
  #include <signal.h>
  #endif


Index: gcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/gcl.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- gcl.spec	26 Jan 2009 20:54:31 -0000	1.30
+++ gcl.spec	27 Apr 2009 16:17:12 -0000	1.31
@@ -3,7 +3,7 @@
 %define __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
 
 # Prerelease of 2.6.8
-%define alphatag 20080902cvs
+%define alphatag 20090303cvs
 
 # 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.
@@ -28,7 +28,7 @@
 
 Name:           gcl
 Version:        2.6.8
-Release:        0.1.%{alphatag}.2%{?dist}
+Release:        0.3.%{alphatag}%{?dist}
 Summary:        GNU Common Lisp
 
 Group:          Development/Languages
@@ -37,7 +37,7 @@
 # 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 2008-09-02 -d gcl-2.6.8 gcl
+#     -r Version_2_6_8pre -D 2009-03-04 -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
@@ -93,14 +93,9 @@
 # error on newer GCC systems due to an include inside a function.  This affects
 # the "unrandomize" sbrk() functionality, hence the name of the patch.
 Patch12:        gcl-2.6.8-unrandomize.patch
-# This patch was last sent upstream on 17 Jan 2009.  It fixes compilation with
-# a system BFD library that comes from a newer binutils distribution.  It also
-# updates o/unexelf.c from Emacs 22.2, the last version of Emacs released under
-# the GPL version 2.
-Patch13:        gcl-2.6.8-bfd.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.
-Patch14:        gcl-2.6.8-debuginfo.patch
+Patch13:        gcl-2.6.8-debuginfo.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libSM-devel
 BuildRequires:  libXext-devel
@@ -110,13 +105,14 @@
 BuildRequires:  tk-devel
 BuildRequires:  tcl-devel
 BuildRequires:  gmp-devel
-BuildRequires:  texlive, texlive-latex
+BuildRequires:  tex(latex)
 BuildRequires:  texinfo
 BuildRequires:  emacs, emacs-el
 BuildRequires:  xemacs, xemacs-devel, xemacs-packages-extra
 BuildRequires:  selinux-policy
-Requires(post): /sbin/install-info, policycoreutils
-Requires(postun): /sbin/install-info, policycoreutils
+Requires:       gcl-selinux
+Requires(post): /sbin/install-info
+Requires(postun): /sbin/install-info
 
 # GCL currently fails to build on PPC64 platforms.  See bugzilla #480519.
 ExcludeArch: ppc64
@@ -132,6 +128,7 @@
 Group:          Development/Languages
 Summary:        Emacs mode for interacting with GCL
 Requires:       %{name} = %{version}-%{release}, emacs(bin) >= %{emacs_version}
+BuildArch:      noarch
 
 %description emacs
 Emacs mode for interacting with GCL
@@ -140,6 +137,7 @@
 Group:          Development/Languages
 Summary:        Source for Emacs mode for interacting with GCL
 Requires:       %{name}-emacs = %{version}-%{release}
+BuildArch:      noarch
 
 %description emacs-el
 Source Elisp code for Emacs mode for interacting with GCL
@@ -150,6 +148,7 @@
 Summary:        XEmacs mode for interacting with GCL
 Requires:       %{name} = %{version}-%{release}
 Requires:       xemacs(bin) >= %{xemacs_version}, xemacs-packages-extra
+BuildArch:      noarch
 
 %description xemacs
 XEmacs mode for interacting with GCL
@@ -158,11 +157,24 @@
 Group:          Development/Languages
 Summary:        Source for XEmacs mode for interacting with GCL
 Requires:       %{name}-xemacs = %{version}-%{release}
+BuildArch:      noarch
 
 %description xemacs-el
 Source Elisp code for XEmacs mode for interacting with GCL
 
 
+%package selinux
+Group:          Development/Languages
+Summary:        SELinux policy for GCL images
+Requires(post): policycoreutils
+Requires(postun): policycoreutils
+
+%description selinux
+SELinux policy for GCL images.  All programs that dump GCL images to be run on
+SELinux-enabled hosts should Require this package, and give the image the type
+gcl_exec_t.
+
+
 %prep
 %setup -q
 %setup -q -T -D -a 2
@@ -180,10 +192,9 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
-%patch14 -p1
 
 # 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
+sed -i -e 's/fomit-frame-pointer/fno-strict-aliasing/' -e 's/-O3/-O2/g' configure
 
 # Fix a path in the launch script
 sed -i -e 's|/usr/lib/tk|%{_datadir}/tk|' debian/gcl.sh
@@ -280,6 +291,9 @@
 /sbin/install-info %{_infodir}/%{name}-tk.info %{_infodir}/dir \
   --entry="* gcl-tk: (gcl-tk).	GNU Common Lisp Tk Manual." \
   2>/dev/null || :
+
+
+%post selinux
 /usr/sbin/semodule -i %{_datadir}/selinux/packages/gcl/gcl.pp || :
 /sbin/fixfiles -R gcl restore || :
 
@@ -289,6 +303,11 @@
     /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
     /sbin/install-info --delete %{_infodir}/%{name}-si.info %{_infodir}/dir 2>/dev/null || :
     /sbin/install-info --delete %{_infodir}/%{name}-tk.info %{_infodir}/dir 2>/dev/null || :
+fi
+
+
+%postun selinux
+if [ $1 = 0 ]; then
     /usr/sbin/semodule -r gcl || :
 fi
 
@@ -299,7 +318,6 @@
 %{_prefix}/lib/gcl*
 %{_infodir}/*
 %{_mandir}/man*/*
-%{_datadir}/selinux/packages/gcl
 %doc COPYING* readme readme.xgcl RELEASE* ChangeLog* faq doc
 %doc gcl*.jpg gcl.ico gcl.png
 %doc --parent html
@@ -326,8 +344,21 @@
 %defattr(-,root,root,-)
 %{xemacs_lispdir}/gcl/*.el
 
+%files selinux
+%defattr(-,root,root,-)
+%{_datadir}/selinux/packages/gcl
+
 
 %changelog
+* 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
+- Make separate -selinux subpackage
+
+* Sat Feb 21 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.2.20080902cvs
+- Add -fno-strict-aliasing to fix build problems in Rawhide.
+- Fix the broken version number scheme I used on the last two releases.
+
 * Mon Jan 26 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.1.20080902cvs.2
 - Add missing files required to build gcl.info, which is needed for the
   DESCRIBE function to work properly.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/F-10/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	26 Jan 2009 20:54:31 -0000	1.5
+++ sources	27 Apr 2009 16:17:12 -0000	1.6
@@ -1,2 +1,2 @@
-6f0453b7f1fb102322cfa69bf2a7275a  gcl-2.6.8.tar.bz2
+ead10281e7dff246c686c410b29caad6  gcl-2.6.8.tar.bz2
 70b0cf146c7b0dc0f598b98cc7320116  gcl-2.6.8-info.tar.bz2


--- gcl-2.6.8-bfd.patch DELETED ---




More information about the fedora-extras-commits mailing list