diff options
-rw-r--r-- | office/epdfview/epdfview.SlackBuild | 5 | ||||
-rw-r--r-- | office/epdfview/fix-glib_h-include.diff | 12 |
2 files changed, 16 insertions, 1 deletions
diff --git a/office/epdfview/epdfview.SlackBuild b/office/epdfview/epdfview.SlackBuild index 1367c499ea589..e7f7ef7f913f2 100644 --- a/office/epdfview/epdfview.SlackBuild +++ b/office/epdfview/epdfview.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=epdfview VERSION=0.1.8 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,6 +71,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Include glib.h instead of glib/gmacros.h +patch -p1 < $CWD/fix-glib_h-include.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/office/epdfview/fix-glib_h-include.diff b/office/epdfview/fix-glib_h-include.diff new file mode 100644 index 0000000000000..b45ee4f933e2a --- /dev/null +++ b/office/epdfview/fix-glib_h-include.diff @@ -0,0 +1,12 @@ +diff -Nur epdfview-0.1.8.orig/src/gtk/StockIcons.h epdfview-0.1.8/src/gtk/StockIcons.h +--- epdfview-0.1.8.orig/src/gtk/StockIcons.h 2011-05-28 05:24:57.000000000 -0500 ++++ epdfview-0.1.8/src/gtk/StockIcons.h 2012-08-03 21:25:47.540948945 -0500 +@@ -18,7 +18,7 @@ + #if !defined (__STOCK_ICONS_H__) + #define __STOCK_ICONS_H__ + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + |