diff options
author | mi <mi@FreeBSD.org> | 2001-10-20 23:08:13 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2001-10-20 23:08:13 +0800 |
commit | 8feff3847ae1681f0faf3cb1b358b6a3257fbd71 (patch) | |
tree | 632ea9a24bc9318e98de5057fa5cce19e16e1bec /math | |
parent | d546ce69b2c9722266658cd48d5f43f75a935fcc (diff) | |
download | freebsd-ports-gnome-8feff3847ae1681f0faf3cb1b358b6a3257fbd71.tar.gz freebsd-ports-gnome-8feff3847ae1681f0faf3cb1b358b6a3257fbd71.tar.zst freebsd-ports-gnome-8feff3847ae1681f0faf3cb1b358b6a3257fbd71.zip |
If both GDBM and NDBM are defined, siag will try to use all
dbm-functions, including dbm_pagfno. Our ndbm DOES NOT provide
it, but instead of being quite, it defines dbm_pagfno as
DBM_PAGFNO_NOT_AVAILABLE. This breaks compiles, of course.
Add the patch, that was on my local system since April, to
undefine the this define and let siag use dbm_pagfno implemented
in libgdbm. They should be compatible...
Submitted by: bento
Diffstat (limited to 'math')
-rw-r--r-- | math/siag/files/patch-dbm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/math/siag/files/patch-dbm b/math/siag/files/patch-dbm new file mode 100644 index 000000000000..55681fa67cf4 --- /dev/null +++ b/math/siag/files/patch-dbm @@ -0,0 +1,9 @@ +--- siod/ndbm.c Thu Jun 24 05:18:57 1999 ++++ siod/ndbm.c Sun Apr 8 11:25:50 2001 +@@ -9,3 +9,6 @@ + + #include <ndbm.h> ++#if defined(GDBM) && defined(dbm_pagfno) ++# undef dbm_pagfno ++#endif + |