Accepting request 35473 from devel:languages:misc

Copy from devel:languages:misc/guile based on submit request 35473 from user pgajdos

OBS-URL: https://build.opensuse.org/request/show/35473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/guile?expand=0&rev=17
This commit is contained in:
OBS User autobuild 2010-03-22 16:03:50 +00:00 committed by Git OBS Bridge
parent e6a2ea7803
commit 4b94fe5a46
3 changed files with 18 additions and 1 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

@ -23,7 +23,7 @@ License: LGPLv2.1+
Group: Development/Languages/Scheme
AutoReqProv: on
Version: 1.8.7
Release: 2
Release: 3
Summary: GNU's Ubiquitous Intelligent Language for Extension
Url: http://www.gnu.org/software/guile/
Source0: %{name}-%{version}.tar.bz2
@ -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