summaryrefslogtreecommitdiff
path: root/libraries/libgnomeprint/libgnomeprint.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-05-28 20:14:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3d820728f46a0f4914c03a585ce0c1da885a9e4c (patch)
tree4de4d3d22d5bfba47f0d6bb3462db0298ae1a935 /libraries/libgnomeprint/libgnomeprint.SlackBuild
parentbed8d857f8e44718904295cf7c491aab26fc6e7a (diff)
downloadslackbuilds-3d820728f46a0f4914c03a585ce0c1da885a9e4c.tar.gz
libraries/libgnomeprint: Patched to fix build on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgnomeprint/libgnomeprint.SlackBuild')
-rw-r--r--libraries/libgnomeprint/libgnomeprint.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild
index e2e508ec56..9795ed648b 100644
--- a/libraries/libgnomeprint/libgnomeprint.SlackBuild
+++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild
@@ -71,7 +71,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thanks to Gentoo for these three patches
+# https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/libgnomeprint/files/
patch -p1 -i $CWD/libgnomeprint-2.18.8-stdio-include.patch
+patch -p1 -i $CWD/libgnomeprint-2.18.8-bison3.patch
+patch -p1 -i $CWD/libgnomeprint-2.18.8-cups-config.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \