diff options
author | jlam <jlam> | 2008-03-05 04:00:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-05 04:00:01 +0000 |
commit | 3b9e00037cb6aa3a6af0fbf803f030862c38570d (patch) | |
tree | ae4c85c4c6a97ed9165ab781210b125bd956e873 /math/bc/patches | |
parent | 69f9c11a0e2603fa46317cf1c85f9dd4aac043f4 (diff) | |
download | pkgsrc-3b9e00037cb6aa3a6af0fbf803f030862c38570d.tar.gz |
+ Drop ncurses dependency because it was only there for readline on
Linux. The readline buildlink3.mk file now pulls in the correct
dependencies on its own.
+ Actually tell the configure script to use the readline dependency.
+ Add patch-ac which fixes the declaration of readline() to match the
readline.h header (it takes a const char * argument).
+ Add full DESTDIR support.
Bump the PKGREVISION to 2.
Diffstat (limited to 'math/bc/patches')
-rw-r--r-- | math/bc/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/bc/patches/patch-ac b/math/bc/patches/patch-ac new file mode 100644 index 00000000000..43db1cc7372 --- /dev/null +++ b/math/bc/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2008/03/05 04:00:01 jlam Exp $ + +--- bc/scan.l.orig 2000-09-13 14:25:47.000000000 -0400 ++++ bc/scan.l +@@ -143,7 +143,7 @@ static int rl_len = 0; + + /* Definitions for readline access. */ + extern FILE *rl_instream; +-_PROTOTYPE(char *readline, (char *)); ++_PROTOTYPE(char *readline, (const char *)); + + /* rl_input puts upto MAX characters into BUF with the number put in + BUF placed in *RESULT. If the yy input file is the same as |