summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiroslav Lichvar <mlichvar@fedoraproject.org>2008-11-19 13:43:49 +0000
committerMiroslav Lichvar <mlichvar@fedoraproject.org>2008-11-19 13:43:49 +0000
commit294b38caf3bb24580d4072bb60b781328fb18d11 (patch)
tree77524f0a726f108b6d95d478f82e4cab922398b5
parent21d483d14e2aea67e811cf83539a623bf5b44cc2 (diff)
downloadguile-294b38caf3bb24580d4072bb60b781328fb18d11.tar.gz
guile-294b38caf3bb24580d4072bb60b781328fb18d11.tar.xz
guile-294b38caf3bb24580d4072bb60b781328fb18d11.zip
- fix building with new libtoolguile-1_8_5-2_fc11
-rw-r--r--guile-1.8.5-macrodir.patch12
-rw-r--r--guile.spec12
2 files changed, 23 insertions, 1 deletions
diff --git a/guile-1.8.5-macrodir.patch b/guile-1.8.5-macrodir.patch
new file mode 100644
index 0000000..f46f93b
--- /dev/null
+++ b/guile-1.8.5-macrodir.patch
@@ -0,0 +1,12 @@
+diff -up guile-1.8.5/configure.in.macrodir guile-1.8.5/configure.in
+--- guile-1.8.5/configure.in.macrodir 2008-05-07 19:51:15.000000000 +0200
++++ guile-1.8.5/configure.in 2008-11-19 13:58:34.000000000 +0100
+@@ -38,7 +38,7 @@ AC_INIT(patsubst(m4_esyscmd(. ./GUILE-VE
+ ]),
+ [bug-guile@gnu.org])
+ AC_CONFIG_AUX_DIR([build-aux])
+-AC_CONFIG_MACRO_DIR([m4])
++AC_CONFIG_MACRO_DIR([guile-config])
+ AC_CONFIG_SRCDIR(GUILE-VERSION)
+
+ AM_INIT_AUTOMAKE([gnu no-define check-news])
diff --git a/guile.spec b/guile.spec
index 5601544..c0232fa 100644
--- a/guile.spec
+++ b/guile.spec
@@ -2,17 +2,19 @@ Summary: A GNU implementation of Scheme for application extensibility
Name: guile
%define mver 1.8
Version: 1.8.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.gz
URL: http://www.gnu.org/software/guile/
Patch1: guile-1.8.4-multilib.patch
Patch2: guile-1.8.4-testsuite.patch
Patch3: guile-1.8.5-conts.patch
Patch4: guile-1.8.1-deplibs.patch
+Patch5: guile-1.8.5-macrodir.patch
License: GPLv2+ and LGPLv2+
Group: Development/Languages
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool libtool-ltdl-devel gmp-devel readline-devel
+Buildrequires: gettext-devel
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: coreutils
@@ -44,6 +46,11 @@ install the guile package.
%prep
%setup -q
+
+%patch5 -p1 -b .macrodir
+autoreconf -i -f
+sed -i '/define _GNU_SOURCE/d' config.h.in
+
%patch1 -p1 -b .multilib
%patch2 -p1 -b .testsuite
%patch3 -p1 -b .conts
@@ -162,6 +169,9 @@ fi
%{_includedir}/libguile.h
%changelog
+* Wed Nov 19 2008 Miroslav Lichvar <mlichvar@redhat.com> - 5:1.8.5-2
+- fix building with new libtool
+
* Tue May 13 2008 Miroslav Lichvar <mlichvar@redhat.com> - 5:1.8.5-1
- update to 1.8.5
- fix continuations on ia64