summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \