summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-05-17 23:06:18 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-19 00:45:05 +0100
commite58fd7a361c18dcc7c9c723840ecf0f4600f9b64 (patch)
treef1d46159abe0eff6a156c27f0aa7e1fcca5a7b48 /desktop
parent11cf17584d51a53b3205bb69f2abb43037929c57 (diff)
downloadslackbuilds-e58fd7a361c18dcc7c9c723840ecf0f4600f9b64.tar.gz
desktop/murrine: Fix build with slibtool.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/murrine/380_379.diff11
-rw-r--r--desktop/murrine/murrine.SlackBuild7
2 files changed, 17 insertions, 1 deletions
diff --git a/desktop/murrine/380_379.diff b/desktop/murrine/380_379.diff
new file mode 100644
index 0000000000..af50978ad8
--- /dev/null
+++ b/desktop/murrine/380_379.diff
@@ -0,0 +1,11 @@
+=== modified file 'Makefile.am'
+--- Makefile.am 2012-01-25 14:09:03 +0000
++++ Makefile.am 2012-01-25 16:05:43 +0000
+@@ -36,5 +36,5 @@
+ ./src/stack-blur.h
+
+ libmurrine_la_LDFLAGS = -module -avoid-version -no-undefined
+-libmurrine_la_LIBADD = $(GTK_LIBS) $(pixman_LIBS)
++libmurrine_la_LIBADD = $(GTK_LIBS) $(pixman_LIBS) -lm
+
+
diff --git a/desktop/murrine/murrine.SlackBuild b/desktop/murrine/murrine.SlackBuild
index 45241d200c..7fc6c3fadc 100644
--- a/desktop/murrine/murrine.SlackBuild
+++ b/desktop/murrine/murrine.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=murrine
VERSION=${VERSION:-0.98.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix build with slibtool
+# https://bazaar.launchpad.net/~murrine-daily/murrine/trunk/revision/380/Makefile.am
+patch -p0 < $CWD/380_379.diff
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \