- fixed build:

"Earlier versions of ltdl would look for extensions under $PWD; this
  behavior changed in 2.2.6b."

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=6
This commit is contained in:
Petr Gajdos 2010-01-26 18:31:55 +00:00 committed by Git OBS Bridge
parent ced949ddc0
commit 4aa8a8f293
3 changed files with 43 additions and 0 deletions

View 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:

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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."
-------------------------------------------------------------------
Mon Nov 30 17:49:57 CET 2009 - pgajdos@suse.cz

View File

@ -30,6 +30,7 @@ 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