diff --git a/guile-1.6.10-mktemp.patch b/guile-1.6.10-mktemp.patch new file mode 100644 index 0000000..0042275 --- /dev/null +++ b/guile-1.6.10-mktemp.patch @@ -0,0 +1,12 @@ +--- libguile/guile-snarf.in ++++ libguile/guile-snarf.in +@@ -71,8 +71,7 @@ + cpp_ok_p=false + + if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi +-tempdir="$TMPDIR/guile-snarf.$$" +-(umask 077 && mkdir $tempdir) || exit 1 ++tempdir=$(mktemp -d -q "$TMPDIR/snarf.XXXXXX") || { echo >&2 "guile-snarf: can not create temporary file"; exit 1; } + temp="$tempdir/tmp" + + if [ x"$CPP" = x ] ; then cpp="@CPP@" ; else cpp="$CPP" ; fi diff --git a/guile-1.6.8-mktemp.patch b/guile-1.6.8-mktemp.patch deleted file mode 100644 index 5a9510f..0000000 --- a/guile-1.6.8-mktemp.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- libguile/guile-snarf.in -+++ libguile/guile-snarf.in -@@ -69,8 +69,7 @@ - - # set vars and handler -- handle CPP override - cpp_ok_p=false --tempdir="/tmp/snarf.$$" --(umask 077 && mkdir $tempdir) || exit 1 -+tempdir=$(mktemp -d -q "/tmp/snarf.XXXXXX") || { echo >&2 "guile-snarf: can not create temporary file"; exit 1; } - temp="$tempdir/tmp" - if [ x"$CPP" = x ] ; then cpp="@CPP@" ; else cpp="$CPP" ; fi - diff --git a/guile-1.8.3.tar.bz2 b/guile-1.8.3.tar.bz2 deleted file mode 100644 index ca1c37c..0000000 --- a/guile-1.8.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:afa7dac9c51a7661e871cb4434043bc062955b6ea09c2d55b33a8ed751b776c4 -size 3031678 diff --git a/guile-1.8.4.tar.bz2 b/guile-1.8.4.tar.bz2 new file mode 100644 index 0000000..dbb7370 --- /dev/null +++ b/guile-1.8.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6dfeaeccd4e67ea30b0fd215b5b4e915444661d1a4304fcf9bb6da43d4dc2991 +size 2970291 diff --git a/guile-gcc4.patch b/guile-gcc4.patch deleted file mode 100644 index c7d2cee..0000000 --- a/guile-gcc4.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- libguile/guile.c -+++ libguile/guile.c -@@ -37,6 +37,10 @@ - #include - - #ifdef HAVE_WINSOCK2_H -+#define lt_dlhandle_struct scm_i_lt_dlhandle_struct -+#define SCM_INSERTED_DLSYMLIST_STRUCT_DECL scm_i_lt_dlsymlist_struct -+#define SCMLTXT static -+#include "raw-ltdl.h" - #include - #endif - diff --git a/guile-gnuc_inline.patch b/guile-gnuc_inline.patch new file mode 100644 index 0000000..e37fb9e --- /dev/null +++ b/guile-gnuc_inline.patch @@ -0,0 +1,47 @@ +--- libguile/inline.h ++++ libguile/inline.h +@@ -58,7 +58,7 @@ + #if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H + /* definitely inlining */ + #ifdef __GNUC__ +-extern ++extern __attribute__((gnu_inline)) + #else + static + #endif +@@ -134,7 +134,7 @@ + #if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H + /* definitely inlining */ + #ifdef __GNUC__ +-extern ++extern __attribute__((gnu_inline)) + #else + static + #endif +@@ -209,7 +209,7 @@ + #if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H + /* definitely inlining */ + #ifdef __GNUC__ +-extern ++extern __attribute__((gnu_inline)) + #else + static + #endif +@@ -224,7 +224,7 @@ + #if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H + /* definitely inlining */ + #ifdef __GNUC__ +-extern ++extern __attribute__((gnu_inline)) + #else + static + #endif +@@ -239,7 +239,7 @@ + #if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H + /* definitely inlining */ + #ifdef __GNUC__ +-extern ++extern __attribute__((gnu_inline)) + #else + static + #endif diff --git a/guile.changes b/guile.changes index bf6b0e5..70f1e44 100644 --- a/guile.changes +++ b/guile.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 28 13:48:12 CET 2008 - ro@suse.de + +- update to 1.8.4: + * New modules (srfi srfi-69) + * Bug fixes +- fix code for recent gcc by checking for __GNUC_GNU_INLINE__ + instead of __GNUC__ for inline specifics (thanks, richi) + ------------------------------------------------------------------- Mon Feb 4 11:34:00 CET 2008 - pgajdos@suse.cz diff --git a/guile.spec b/guile.spec index 80c7644..abe8ade 100644 --- a/guile.spec +++ b/guile.spec @@ -1,5 +1,5 @@ # -# spec file for package guile (Version 1.8.3) +# spec file for package guile (Version 1.8.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -10,20 +10,21 @@ # norootforbuild + Name: guile BuildRequires: gmp-devel readline-devel License: LGPL v2.1 or later Group: Development/Languages/Scheme AutoReqProv: on -Version: 1.8.3 -Release: 10 +Version: 1.8.4 +Release: 1 %define GUILEVERSION 1.8 Summary: GNU's Ubiquitous Intelligent Language for Extension Url: http://www.gnu.org/software/guile/ Source0: %{name}-%{version}.tar.bz2 Patch1: %{name}-64bit.patch -Patch2: %{name}-1.6.8-mktemp.patch -Patch3: guile-gcc4.patch +Patch2: %{name}-1.6.10-mktemp.patch +Patch3: guile-gnuc_inline.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: fileutils sh-utils PreReq: %install_info_prereq @@ -80,7 +81,7 @@ Authors: %setup -q %patch1 %patch2 -#%patch3 +%patch3 # guile-1.8.1: The code is not so good for -Werror (unused results of write()). sed -i s/-Werror// configure.in configure @@ -152,6 +153,12 @@ rm -f usr/share/guile/site/slibcat.SuSEconfig %{_libdir}/libguile*.a %changelog +* Thu Feb 28 2008 ro@suse.de +- update to 1.8.4: + * New modules (srfi srfi-69) + * Bug fixes +- fix code for recent gcc by checking for __GNUC_GNU_INLINE__ + instead of __GNUC__ for inline specifics (thanks, richi) * Mon Feb 04 2008 pgajdos@suse.cz - guile conflicts with slib < 3a5 [#354936] * Wed Dec 12 2007 pgajdos@suse.cz