- fixed build with new gcc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=10
This commit is contained in:
Petr Gajdos 2010-03-22 11:45:57 +00:00 committed by Git OBS Bridge
parent bd6bf89ee1
commit fc3276e320
3 changed files with 17 additions and 0 deletions

10
guile-gcc.patch Normal file
View File

@ -0,0 +1,10 @@
Index: guile-1.8.7/libguile/guile-snarf-docs.in
===================================================================
--- guile-1.8.7.orig/libguile/guile-snarf-docs.in
+++ guile-1.8.7/libguile/guile-snarf-docs.in
@@ -23,4 +23,4 @@ bindir=`dirname $0`
## Let the user override the preprocessor autoconf found.
test -n "${CPP+set}" || CPP="@CPP@"
-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
+${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 22 12:39:55 CET 2010 - pgajdos@suse.cz
- fixed build with new gcc
-------------------------------------------------------------------
Tue Jan 26 19:26:58 CET 2010 - pgajdos@suse.cz

View File

@ -31,6 +31,7 @@ Patch1: %{name}-64bit.patch
Patch2: %{name}-1.6.10-mktemp.patch
Patch3: %{name}-popen-test.patch
Patch4: %{name}-testsuite-build.patch
Patch5: %{name}-gcc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: fileutils sh-utils
PreReq: %install_info_prereq
@ -90,6 +91,7 @@ Authors:
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
# guile-1.8.1: The code is not so good for -Werror (unused results of write()).
sed -i s/-Werror// configure.in configure
# force rebuild with non-broken makeinfo