mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
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
This commit is contained in:
parent
0658afb296
commit
e0c533f55b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49003
1 changed files with 9 additions and 0 deletions
9
math/siag/files/patch-dbm
Normal file
9
math/siag/files/patch-dbm
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue