diff options
author | markd <markd@pkgsrc.org> | 2009-11-03 19:06:51 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2009-11-03 19:06:51 +0000 |
commit | 28ebd711bbce1ce011053ee3f15b06ddd6c0d114 (patch) | |
tree | 9f32ac230a42f543c1ef5c4f1656e13fe9065574 /graphics/blender/patches | |
parent | 8ea70d1bbbf39354955ceeb4d04fe5a6091d68cd (diff) | |
download | pkgsrc-28ebd711bbce1ce011053ee3f15b06ddd6c0d114.tar.gz |
Fix build on NetBSD.
Diffstat (limited to 'graphics/blender/patches')
-rw-r--r-- | graphics/blender/patches/patch-ab | 6 | ||||
-rw-r--r-- | graphics/blender/patches/patch-ak | 13 | ||||
-rw-r--r-- | graphics/blender/patches/patch-al | 13 | ||||
-rw-r--r-- | graphics/blender/patches/patch-am | 13 |
4 files changed, 42 insertions, 3 deletions
diff --git a/graphics/blender/patches/patch-ab b/graphics/blender/patches/patch-ab index 811c045c19a..3497a8784c9 100644 --- a/graphics/blender/patches/patch-ab +++ b/graphics/blender/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.7 2009/08/28 20:46:19 hasso Exp $ +$NetBSD: patch-ab,v 1.8 2009/11/03 19:06:51 markd Exp $ --- source/blender/blenlib/intern/storage.c.orig 2009-05-25 19:46:22 +0300 +++ source/blender/blenlib/intern/storage.c 2009-08-28 21:32:31 +0300 @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.7 2009/08/28 20:46:19 hasso Exp $ #include <sys/stat.h> -#if defined (__sun__) || defined (__sun) || defined (__sgi) -+#if defined (__sun__) || defined (__sun) || defined (__sgi) || defined(__DragonFly__) ++#if defined (__sun__) || defined (__sun) || defined (__sgi) || defined(__DragonFly__) || defined (__NetBSD__) #include <sys/statvfs.h> /* Other modern unix os's should probably use this also */ #elif !defined(__FreeBSD__) && !defined(linux) && (defined(__sparc) || defined(__sparc__)) #include <sys/statfs.h> @@ -27,7 +27,7 @@ $NetBSD: patch-ab,v 1.7 2009/08/28 20:46:19 hasso Exp $ #else -#if defined (__sun__) || defined (__sun) || defined (__sgi) -+#if defined (__sun__) || defined (__sun) || defined (__sgi) || defined(__DragonFly__) ++#if defined (__sun__) || defined (__sun) || defined (__sgi) || defined(__DragonFly__) || defined (__NetBSD__) struct statvfs disk; #else struct statfs disk; diff --git a/graphics/blender/patches/patch-ak b/graphics/blender/patches/patch-ak new file mode 100644 index 00000000000..c056c557226 --- /dev/null +++ b/graphics/blender/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2009/11/03 19:06:51 markd Exp $ + +--- intern/guardedalloc/BLO_sys_types.h.orig 2009-09-02 03:20:29.000000000 +1200 ++++ intern/guardedalloc/BLO_sys_types.h +@@ -109,7 +109,7 @@ typedef unsigned long uintptr_t; + #ifndef ntohl + #define ntohl(x) correctByteOrder(x) + #endif +-#elif defined (__FreeBSD__) || defined (__OpenBSD__) ++#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) + #include <sys/param.h> + #elif defined (__APPLE__) + #include <sys/types.h> diff --git a/graphics/blender/patches/patch-al b/graphics/blender/patches/patch-al new file mode 100644 index 00000000000..21feddf9b0a --- /dev/null +++ b/graphics/blender/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2009/11/03 19:06:51 markd Exp $ + +--- intern/opennl/superlu/BLO_sys_types.h.orig 2009-09-02 03:20:33.000000000 +1200 ++++ intern/opennl/superlu/BLO_sys_types.h +@@ -111,7 +111,7 @@ typedef unsigned long uintptr_t; + #ifndef ntohl + #define ntohl(x) correctByteOrder(x) + #endif +-#elif defined (__FreeBSD__) || defined (__OpenBSD__) ++#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) + #include <sys/param.h> + #elif defined (__APPLE__) + #include <sys/types.h> diff --git a/graphics/blender/patches/patch-am b/graphics/blender/patches/patch-am new file mode 100644 index 00000000000..c9977dcd4cc --- /dev/null +++ b/graphics/blender/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2009/11/03 19:06:51 markd Exp $ + +--- source/blender/blenloader/BLO_sys_types.h.orig 2009-09-02 03:21:51.000000000 +1200 ++++ source/blender/blenloader/BLO_sys_types.h +@@ -102,7 +102,7 @@ typedef unsigned long uintptr_t; + #ifdef _WIN32 + #define htonl(x) correctByteOrder(x) + #define ntohl(x) correctByteOrder(x) +-#elif defined (__FreeBSD__) || defined (__OpenBSD__) ++#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) + #include <sys/param.h> + #elif defined (__APPLE__) + #include <sys/types.h> |