summaryrefslogtreecommitdiff
path: root/misc/fribid/fribid.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-07 11:56:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit49951bcfad70fb1945721ff5848fbe2ff5de81b8 (patch)
treeac91960f89d991ad5784033aa37fcf1febcab8f9 /misc/fribid/fribid.SlackBuild
parent57013d6cfc4c48dae0588a50e69e8c812eaa360e (diff)
downloadslackbuilds-49951bcfad70fb1945721ff5848fbe2ff5de81b8.tar.gz
misc/fribid: Updated for version 1.0.4.
Fixes build on -current with new gtk. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/fribid/fribid.SlackBuild')
-rw-r--r--misc/fribid/fribid.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/misc/fribid/fribid.SlackBuild b/misc/fribid/fribid.SlackBuild
index 9537a426c1..b7d0fc7db4 100644
--- a/misc/fribid/fribid.SlackBuild
+++ b/misc/fribid/fribid.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=fribid
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Should we build PKCS#11 smartcard support YES RUNTIME or nothing.
@@ -80,6 +80,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Deborkage thanks to Arch Linux
+sed -i \
+ -e 's/-DGTK_DISABLE_DEPRECATED=1//g' \
+ -e 's/-DGDK_DISABLE_DEPRECATED=1//g' \
+ -e 's/-DG_DISABLE_DEPRECATED=1//g' \
+ client/Makefile
+sed -i \
+ -e 's/strndup/strndup_/' \
+ plugin/pluginutil.c
+sed -i \
+ 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' \
+ common/*.c plugin/*.c client/*.c
CFLAGS="$SLKCFLAGS" \
./configure \