diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-02-21 07:09:50 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-02-21 07:09:50 +0000 |
commit | 0fb1b74bd09b1f94ad95580160e95a8da119eaf3 (patch) | |
tree | 78a7b9be2c5db3751148a80a33782678b7e0ba47 /devel/nbitools/patches | |
parent | e8dff533d4dd3717e23b622a59079c44c93dc4d8 (diff) | |
download | pkgsrc-0fb1b74bd09b1f94ad95580160e95a8da119eaf3.tar.gz |
Fix location of CPP when using MacOSX, and include <sys/types.h> and
others as well to fix building, patches provided by Hiramatu Yosifumi
in PR pkg/24348.
Diffstat (limited to 'devel/nbitools/patches')
-rw-r--r-- | devel/nbitools/patches/patch-ag | 13 | ||||
-rw-r--r-- | devel/nbitools/patches/patch-ah | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/devel/nbitools/patches/patch-ag b/devel/nbitools/patches/patch-ag new file mode 100644 index 00000000000..69c99f8eb65 --- /dev/null +++ b/devel/nbitools/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2004/02/21 07:09:50 xtraeme Exp $ + +--- config/imake/imake.c.orig 2004-02-21 08:05:07.000000000 +0100 ++++ config/imake/imake.c 2004-02-21 08:05:34.000000000 +0100 +@@ -145,7 +145,7 @@ + * #include INCLUDE_IMAKEFILE + * <add any global targets like 'clean' and long dependencies> + */ +-#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) + /* This needs to be before _POSIX_SOURCE gets defined */ + # include <sys/param.h> + # include <sys/types.h> diff --git a/devel/nbitools/patches/patch-ah b/devel/nbitools/patches/patch-ah new file mode 100644 index 00000000000..baa87fb13ee --- /dev/null +++ b/devel/nbitools/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2004/02/21 07:09:50 xtraeme Exp $ + +--- config/imake/imakemdep.h.orig 2004-02-21 08:06:05.000000000 +0100 ++++ config/imake/imakemdep.h 2004-02-21 08:06:50.000000000 +0100 +@@ -253,7 +253,7 @@ + #if defined(sun) && (defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__)) + #define DEFAULT_CPP "/usr/ccs/lib/cpp" + #endif +-#ifdef __bsdi__ ++#ifdef __bsdi__ || defined(__APPLE__) + #define DEFAULT_CPP "/usr/bin/cpp" + #endif + #ifdef __uxp__ |