summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-11-03 19:06:51 +0000
committermarkd <markd@pkgsrc.org>2009-11-03 19:06:51 +0000
commit28ebd711bbce1ce011053ee3f15b06ddd6c0d114 (patch)
tree9f32ac230a42f543c1ef5c4f1656e13fe9065574 /graphics
parent8ea70d1bbbf39354955ceeb4d04fe5a6091d68cd (diff)
downloadpkgsrc-28ebd711bbce1ce011053ee3f15b06ddd6c0d114.tar.gz
Fix build on NetBSD.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/blender/distinfo7
-rw-r--r--graphics/blender/patches/patch-ab6
-rw-r--r--graphics/blender/patches/patch-ak13
-rw-r--r--graphics/blender/patches/patch-al13
-rw-r--r--graphics/blender/patches/patch-am13
5 files changed, 47 insertions, 5 deletions
diff --git a/graphics/blender/distinfo b/graphics/blender/distinfo
index d93bbb83516..d3069994596 100644
--- a/graphics/blender/distinfo
+++ b/graphics/blender/distinfo
@@ -1,11 +1,14 @@
-$NetBSD: distinfo,v 1.28 2009/09/22 13:23:25 hasso Exp $
+$NetBSD: distinfo,v 1.29 2009/11/03 19:06:51 markd Exp $
SHA1 (blender-2.49b.tar.gz) = 43f71e7de4efe79c518d45f4b5a04e03c28d5fc5
RMD160 (blender-2.49b.tar.gz) = 5b641de7b41af5e4186c9721b66eddc6870f9fbc
Size (blender-2.49b.tar.gz) = 22918377 bytes
-SHA1 (patch-ab) = afc00773b4e00f1f63fce2bd2203dbab0b0bfc9f
+SHA1 (patch-ab) = 6779022a78e895154e6e95cecf16e5465ffab637
SHA1 (patch-ac) = dcfa14519404915a69bd626c8a5a6029d2535ca2
SHA1 (patch-ad) = ee070c6e61585c5ee657f8aa0cd210c15f73bcc9
SHA1 (patch-ah) = b45f534b4c5850da13e9b421f73e33c8d079696f
SHA1 (patch-ai) = 31f94e8dcdabbe043d94a7fd53bfbdaa9d35fc99
SHA1 (patch-aj) = 59c935bc84101e3a57af5231d6f1153897bbbb03
+SHA1 (patch-ak) = 98c93b7ee12e60aff0d8890cd1cdc7213515d270
+SHA1 (patch-al) = 8589d359484351766bfb99e58debf075bebbfd66
+SHA1 (patch-am) = 6da69ace1e9da706124621f6721fd4d4f804cc6f
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>