summaryrefslogtreecommitdiff
path: root/graphics/feh
diff options
context:
space:
mode:
authordholland <dholland>2012-06-23 19:58:51 +0000
committerdholland <dholland>2012-06-23 19:58:51 +0000
commit5c39b5d9aa03ecc536bd709704714adf70c6bd5a (patch)
tree80f49574bdfc171b82f9dddce5c8fa4baed26f3f /graphics/feh
parent6473fff3c1a90843a8ae14e4bb526d5f8d1fccd2 (diff)
downloadpkgsrc-5c39b5d9aa03ecc536bd709704714adf70c6bd5a.tar.gz
Add missing limits.h to fix the Solaris build.
Diffstat (limited to 'graphics/feh')
-rw-r--r--graphics/feh/distinfo3
-rw-r--r--graphics/feh/patches/patch-src_imlib_c14
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/feh/distinfo b/graphics/feh/distinfo
index 9e94fe0983f..65803ab2bab 100644
--- a/graphics/feh/distinfo
+++ b/graphics/feh/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.23 2012/05/01 14:58:46 gls Exp $
+$NetBSD: distinfo,v 1.24 2012/06/23 19:58:51 dholland Exp $
SHA1 (feh-2.5.tar.bz2) = d1bf7fa8ec6b5d1ce16c291edf38d45de01f252d
RMD160 (feh-2.5.tar.bz2) = 18c643fba46e585d500d4133b9f20e403c87982b
Size (feh-2.5.tar.bz2) = 2227722 bytes
SHA1 (patch-config.mk) = 7f99ff19820a62c8a7a9d3b0fb9c7f1a8151f6c5
SHA1 (patch-src_getopt.c) = 337fd15564c1d5b5596fe7d0d2f9bd6b0ca44ca7
+SHA1 (patch-src_imlib_c) = 925d2536b69f99acc949cb6bd67422d001335492
diff --git a/graphics/feh/patches/patch-src_imlib_c b/graphics/feh/patches/patch-src_imlib_c
new file mode 100644
index 00000000000..c4cf30d3b3d
--- /dev/null
+++ b/graphics/feh/patches/patch-src_imlib_c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_imlib_c,v 1.1 2012/06/23 19:58:51 dholland Exp $
+
+Use standard headers. (limits.h required on Solaris)
+
+--- src/imlib.c~ 2012-03-25 11:16:59.000000000 +0000
++++ src/imlib.c
+@@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
++#include <limits.h>
+
+ #ifdef HAVE_LIBCURL
+ #include <curl/curl.h>