diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-04-26 12:51:35 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-04-26 12:51:35 +0000 |
commit | 248b960960f953d81d184f4bc79811e0ad9c208c (patch) | |
tree | 87a60aaddac375e5f150ffcbce52fc39c85fb5ed /security/aide/patches | |
parent | de7d26915480f2e4903ac4ca707c7b6cc1817b13 (diff) | |
download | pkgsrc-248b960960f953d81d184f4bc79811e0ad9c208c.tar.gz |
Make this actually compile on recent NetBSD systems:
* force "bison -y" *via $YACC)
* undefine _POSIX_C_SOURCE, needed to get S_ISLNK defined in <sys/stat.h>
Diffstat (limited to 'security/aide/patches')
-rw-r--r-- | security/aide/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/aide/patches/patch-aa b/security/aide/patches/patch-aa new file mode 100644 index 00000000000..4f719ecc242 --- /dev/null +++ b/security/aide/patches/patch-aa @@ -0,0 +1,15 @@ +--- include/aide.h.orig Wed Apr 26 14:45:29 2000 ++++ include/aide.h Wed Apr 26 14:46:12 2000 +@@ -23,10 +23,12 @@ + #include "db_config.h" + #include "config.h" + ++#ifndef __NetBSD__ + #ifndef _POSIX_C_SOURCE + /* For _POSIX_THREAD_SEMANTICS _REENTRANT */ + #define _POSIX_C_SOURCE 199506L + #endif /* _POSIX_C_SOURCE */ ++#endif /* __NetBSD__ */ + + + #define AIDEVERSION VERSION |