diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-22 07:25:03 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-28 07:26:17 +0700 |
commit | 3c1c6ee37354d19a87335c8c055fd76f820b8de2 (patch) | |
tree | b795b7a3a7f7370c5e90c2f4ec53ecd4447abb0b /graphics/fbv/fbv.SlackBuild | |
parent | 6b480b2a6cb1b16cd4bfafa5f415758c6746e2f7 (diff) |
graphics/fbv: Fix compile issue.
Diffstat (limited to 'graphics/fbv/fbv.SlackBuild')
-rw-r--r-- | graphics/fbv/fbv.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/fbv/fbv.SlackBuild b/graphics/fbv/fbv.SlackBuild index 0bde96e9a095b..90252b9f355e5 100644 --- a/graphics/fbv/fbv.SlackBuild +++ b/graphics/fbv/fbv.SlackBuild @@ -57,6 +57,14 @@ 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 {} \; +# Check for new giflib API, apply patch only if needed. This changed +# between Slack 14.1 and 14.2. +grep -q DGifOpenFileName.*Error /usr/include/gif_lib.h && \ + patch -p1 < $CWD/giflib5_api.diff + +# Patch is needed for linpng-1.6, and does no harm on 1.4. +patch -p1 < $CWD/png16_api.diff + # Man page is missing a few options, and --help output is wrong. # Also next/prev/quit options weren't documented in either place. patch -p1 < $CWD/manhelp.diff |