- 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:
parent
ced949ddc0
commit
4aa8a8f293
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,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
|
Mon Nov 30 17:49:57 CET 2009 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Source0: %{name}-%{version}.tar.bz2
|
|||||||
Patch1: %{name}-64bit.patch
|
Patch1: %{name}-64bit.patch
|
||||||
Patch2: %{name}-1.6.10-mktemp.patch
|
Patch2: %{name}-1.6.10-mktemp.patch
|
||||||
Patch3: %{name}-popen-test.patch
|
Patch3: %{name}-popen-test.patch
|
||||||
|
Patch4: %{name}-testsuite-build.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: fileutils sh-utils
|
PreReq: fileutils sh-utils
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
@ -88,6 +89,7 @@ Authors:
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
# guile-1.8.1: The code is not so good for -Werror (unused results of write()).
|
# guile-1.8.1: The code is not so good for -Werror (unused results of write()).
|
||||||
sed -i s/-Werror// configure.in configure
|
sed -i s/-Werror// configure.in configure
|
||||||
# force rebuild with non-broken makeinfo
|
# force rebuild with non-broken makeinfo
|
||||||
|
Loading…
Reference in New Issue
Block a user