diff options
author | asau <asau@pkgsrc.org> | 2014-03-25 23:19:19 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2014-03-25 23:19:19 +0000 |
commit | 688dfefb235d15a18323133955c5ef052100c426 (patch) | |
tree | 69cee1518745109cda4dd4bcd25d75aebac9ad1a | |
parent | 8bba96a20e8934f6497af4b12ebf0f0d4b548295 (diff) | |
download | pkgsrc-688dfefb235d15a18323133955c5ef052100c426.tar.gz |
FreeBSD requires additional header file to get access to history.
-rw-r--r-- | graphics/gnuplot/distinfo | 4 | ||||
-rw-r--r-- | graphics/gnuplot/patches/patch-ac | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/gnuplot/distinfo b/graphics/gnuplot/distinfo index fb7905e46f8..24f2830540a 100644 --- a/graphics/gnuplot/distinfo +++ b/graphics/gnuplot/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.24 2013/10/27 18:17:14 adam Exp $ +$NetBSD: distinfo,v 1.25 2014/03/25 23:19:19 asau Exp $ SHA1 (gnuplot-4.6.4.tar.gz) = 54ee5ce9a0a2698b046064bd275e772673350013 RMD160 (gnuplot-4.6.4.tar.gz) = a2dcc9d7768b9fbd12fa0993c6d40d059f57215e Size (gnuplot-4.6.4.tar.gz) = 4974176 bytes SHA1 (patch-aa) = fa5981422c83d1467b0df8a7c36ce7b2439855f2 -SHA1 (patch-ac) = 271c107d7793d8817221474eca4b5da78abad9c9 +SHA1 (patch-ac) = ba7d48926faca78399fe10f44020364a244f87e0 SHA1 (patch-ad) = 5165374c6e8275f2f030659daa45051851e98413 SHA1 (patch-ae) = ce2a89ebcdcae1b1945563b48e6ebb6974d3a048 SHA1 (patch-af) = e5672a05f88d0ba3c1471b379dd47cd1b274f8b1 diff --git a/graphics/gnuplot/patches/patch-ac b/graphics/gnuplot/patches/patch-ac index 7496f5d4621..e024af6017d 100644 --- a/graphics/gnuplot/patches/patch-ac +++ b/graphics/gnuplot/patches/patch-ac @@ -1,15 +1,19 @@ -$NetBSD: patch-ac,v 1.2 2012/08/10 15:14:54 drochner Exp $ +$NetBSD: patch-ac,v 1.3 2014/03/25 23:19:19 asau Exp $ NetBSD editline keeps header files in "readline", not "editline". Same applies to DragonFly. +FreeBSD requires additional header file to get access to history. --- src/gp_hist.h.orig 2011-02-21 07:56:57.000000000 +0000 +++ src/gp_hist.h -@@ -70,7 +70,7 @@ extern long int gnuplot_history_size; +@@ -70,7 +70,10 @@ extern long int gnuplot_history_size; * (almost) compatible readline replacement */ #if defined(HAVE_LIBEDITLINE) -# include <editline/readline.h> ++# if defined(__FreeBSD__) ++# include <readline/history.h> ++# endif +# include <readline/readline.h> #endif |