epdfview: Fix build with glib-2.32.4
This commit is contained in:
parent
3c6a778b02
commit
7d64f1a93e
@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
|
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
|
||||||
};
|
};
|
||||||
buildInputs = [ pkgconfig gtk poppler ];
|
buildInputs = [ pkgconfig gtk poppler ];
|
||||||
|
patches = [ ./glib-top-level-header.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://trac.emma-soft.com/epdfview/;
|
homepage = http://trac.emma-soft.com/epdfview/;
|
||||||
description = "A lightweight PDF document viewer using Poppler and GTK+";
|
description = "A lightweight PDF document viewer using Poppler and GTK+";
|
||||||
|
12
pkgs/applications/misc/epdfview/glib-top-level-header.patch
Normal file
12
pkgs/applications/misc/epdfview/glib-top-level-header.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur 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 06:24:57.000000000 -0400
|
||||||
|
+++ epdfview-0.1.8/src/gtk/StockIcons.h 2012-07-15 11:02:43.946339253 -0400
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
#if !defined (__STOCK_ICONS_H__)
|
||||||
|
#define __STOCK_ICONS_H__
|
||||||
|
|
||||||
|
-#include <glib/gmacros.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user