From 16d761f864857ab4861899f1ef7698a72858d4fd Mon Sep 17 00:00:00 2001 From: Leonardo Date: Wed, 2 Dec 2015 23:30:53 +0700 Subject: libraries/libbonobo: Added new patch. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libbonobo/libbonobo.SlackBuild | 5 +++-- libraries/libbonobo/test_no_srcdir.patch | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 libraries/libbonobo/test_no_srcdir.patch diff --git a/libraries/libbonobo/libbonobo.SlackBuild b/libraries/libbonobo/libbonobo.SlackBuild index 3e0f437100..449ec2a1e3 100644 --- a/libraries/libbonobo/libbonobo.SlackBuild +++ b/libraries/libbonobo/libbonobo.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for libbonobo # -# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=libbonobo VERSION=${VERSION:-2.32.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,6 +71,7 @@ find -L . \ # Apply patch from upstream to build with the newer glib patch -p1 < $CWD/remove_use_of_G_DISABLE_DEPRECATED.patch +patch -p1 < $CWD/test_no_srcdir.patch autoreconf -fi diff --git a/libraries/libbonobo/test_no_srcdir.patch b/libraries/libbonobo/test_no_srcdir.patch new file mode 100644 index 0000000000..24a9b98637 --- /dev/null +++ b/libraries/libbonobo/test_no_srcdir.patch @@ -0,0 +1,18 @@ +--- libbonobo-2.32.1.orig/tests/Makefile.am 2010-08-29 13:56:00.000000000 +0200 ++++ libbonobo-2.32.1/tests/Makefile.am 2015-11-28 11:33:17.439444590 +0100 +@@ -51,11 +51,12 @@ + LD_LIBRARY_PATH="$(top_builddir)/bonobo/.libs:$$LD_LIBRARY_PATH" \ + PATH="$(top_builddir)/bonobo/.libs:$$PATH" \ + BONOBO_PLUGIN_PATH="$(top_builddir)/storage-modules/.libs:$$BONOBO_PLUGIN_PATH"\ +- BONOBO_ACTIVATION_PATH="$(srcdir)$(SEARCHPATHSEP)$$BONOBO_ACTIVATION_PATH"\ +- MODELS_DIR="$(srcdir)/models" ++ BONOBO_ACTIVATION_PATH="$(SEARCHPATHSEP)$$BONOBO_ACTIVATION_PATH"\ ++ MODELS_DIR="models" ++ + + TESTS = test-moniker$(EXEEXT) test-event-source$(EXEEXT) test-object$(EXEEXT) \ +- test-stream-mem$(EXEEXT) $(srcdir)/test-properties.sh test-storage-mem$(EXEEXT) \ ++ test-stream-mem$(EXEEXT) test-properties.sh test-storage-mem$(EXEEXT) \ + test-main-loop$(EXEEXT) + + # TESTS += test-generic-factory.sh -- cgit v1.2.3