summaryrefslogtreecommitdiff
path: root/devel/nbitools
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-21 07:09:50 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-21 07:09:50 +0000
commit0fb1b74bd09b1f94ad95580160e95a8da119eaf3 (patch)
tree78a7b9be2c5db3751148a80a33782678b7e0ba47 /devel/nbitools
parente8dff533d4dd3717e23b622a59079c44c93dc4d8 (diff)
downloadpkgsrc-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')
-rw-r--r--devel/nbitools/distinfo4
-rw-r--r--devel/nbitools/patches/patch-ag13
-rw-r--r--devel/nbitools/patches/patch-ah13
3 files changed, 29 insertions, 1 deletions
diff --git a/devel/nbitools/distinfo b/devel/nbitools/distinfo
index e8c90a89157..5bf33f8dcd6 100644
--- a/devel/nbitools/distinfo
+++ b/devel/nbitools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/03 09:53:46 sakamoto Exp $
+$NetBSD: distinfo,v 1.2 2004/02/21 07:09:50 xtraeme Exp $
SHA1 (nbitools-R6.3.tar.gz) = 0f6751417d7ef412be04611fbe4f56386a04322a
Size (nbitools-R6.3.tar.gz) = 435764 bytes
@@ -8,3 +8,5 @@ SHA1 (patch-ac) = bf74465560aa7850ed6f666566ec4a940aca3a67
SHA1 (patch-ad) = b0c18505891834182c57819489b7d9890802d550
SHA1 (patch-ae) = 0a0acf8798055a7b1b292e8d2edf998857641550
SHA1 (patch-af) = b1efcdea967489a035048fc2e7389ac82b106535
+SHA1 (patch-ag) = a7b49c572db220802bb084e586bc6fe0cae87982
+SHA1 (patch-ah) = ba2e9d00279d44635b2043b642a0407b84329643
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__