summaryrefslogtreecommitdiff
path: root/misc/fribid
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
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')
-rw-r--r--misc/fribid/fribid.SlackBuild14
-rw-r--r--misc/fribid/fribid.info6
2 files changed, 16 insertions, 4 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 \
diff --git a/misc/fribid/fribid.info b/misc/fribid/fribid.info
index 6d6a253aa5..7d9f7992fc 100644
--- a/misc/fribid/fribid.info
+++ b/misc/fribid/fribid.info
@@ -1,8 +1,8 @@
PRGNAM="fribid"
-VERSION="0.3.0"
+VERSION="1.0.4"
HOMEPAGE="http://www.fribid.se"
-DOWNLOAD="http://www.fribid.se/releases/source/fribid-0.3.0.tar.bz2"
-MD5SUM="18657422f71f7a35f2e2d35d5bcdabcd"
+DOWNLOAD="http://www.fribid.se/releases/source/fribid-1.0.4.tar.bz2"
+MD5SUM="253e1eee92bebd5b37e0a508bda770cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""