aboutsummaryrefslogtreecommitdiff
path: root/libraries/libbonobo
diff options
context:
space:
mode:
authorLeonardo <leonardo@guardati.it>2015-12-02 23:30:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-02 23:36:29 +0700
commit16d761f864857ab4861899f1ef7698a72858d4fd (patch)
tree84fd07cb76e8197ca7fdb064e1d7f9746f95eb75 /libraries/libbonobo
parenta0f96b150b0b10c5c441a3546d359499578372e3 (diff)
libraries/libbonobo: Added new patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libbonobo')
-rw-r--r--libraries/libbonobo/libbonobo.SlackBuild5
-rw-r--r--libraries/libbonobo/test_no_srcdir.patch18
2 files changed, 21 insertions, 2 deletions
diff --git a/libraries/libbonobo/libbonobo.SlackBuild b/libraries/libbonobo/libbonobo.SlackBuild
index 3e0f437100bc4..449ec2a1e3efb 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 0000000000000..24a9b98637b50
--- /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