Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -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