forked from pool/guile
Accepting request 30518 from devel:languages:misc
Copy from devel:languages:misc/guile based on submit request 30518 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/30518 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/guile?expand=0&rev=15
This commit is contained in:
commit
c2b150796b
33
guile-testsuite-build.patch
Normal file
33
guile-testsuite-build.patch
Normal file
@ -0,0 +1,33 @@
|
||||
Index: guile-1.8.7/test-suite/standalone/Makefile.am
|
||||
===================================================================
|
||||
--- guile-1.8.7.orig/test-suite/standalone/Makefile.am
|
||||
+++ guile-1.8.7/test-suite/standalone/Makefile.am
|
||||
@@ -28,7 +28,7 @@ check_SCRIPTS =
|
||||
BUILT_SOURCES =
|
||||
EXTRA_DIST =
|
||||
|
||||
-TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
|
||||
+TESTS_ENVIRONMENT = builddir="$(builddir)" "${top_builddir}/pre-inst-guile-env"
|
||||
|
||||
test_cflags = \
|
||||
-I$(top_srcdir)/test-suite/standalone \
|
||||
Index: guile-1.8.7/test-suite/standalone/test-asmobs
|
||||
===================================================================
|
||||
--- guile-1.8.7.orig/test-suite/standalone/test-asmobs
|
||||
+++ guile-1.8.7/test-suite/standalone/test-asmobs
|
||||
@@ -2,7 +2,7 @@
|
||||
exec guile -q -s "$0" "$@"
|
||||
!#
|
||||
|
||||
-(load-extension "libtest-asmobs" "libtest_asmobs_init")
|
||||
+(load-extension (string-append (getenv "builddir") "/libtest-asmobs") "libtest_asmobs_init")
|
||||
|
||||
(define (test x v)
|
||||
(if v
|
||||
@@ -114,4 +114,4 @@ exec guile -q -s "$0" "$@"
|
||||
|
||||
;; Local Variables:
|
||||
;; mode: scheme
|
||||
-;; End:
|
||||
\ No newline at end of file
|
||||
+;; End:
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 26 19:26:58 CET 2010 - pgajdos@suse.cz
|
||||
|
||||
- fixed build:
|
||||
|
||||
"Earlier versions of ltdl would look for extensions under $PWD; this
|
||||
behavior changed in 2.2.6b."
|
||||
|
||||
* testsuite-build.patch taken from guile git (1.8 branch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 30 17:49:57 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package guile (Version 1.8.7)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,13 +23,14 @@ License: LGPLv2.1+
|
||||
Group: Development/Languages/Scheme
|
||||
AutoReqProv: on
|
||||
Version: 1.8.7
|
||||
Release: 1
|
||||
Release: 2
|
||||
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.10-mktemp.patch
|
||||
Patch3: %{name}-popen-test.patch
|
||||
Patch4: %{name}-testsuite-build.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: fileutils sh-utils
|
||||
PreReq: %install_info_prereq
|
||||
@ -88,6 +89,7 @@ Authors:
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
%patch4 -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
|
||||
|
Loading…
Reference in New Issue
Block a user