diff options
author | dsainty <dsainty@pkgsrc.org> | 2009-01-28 00:37:27 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2009-01-28 00:37:27 +0000 |
commit | 4cc0a75ff7f5b51ec41f8e776db546158e014233 (patch) | |
tree | 6ed6be8be95df715a8e1a90b003e3f4b342f2230 | |
parent | 0b469af912b097415fc870ba662e2600cfd836ca (diff) | |
download | pkgsrc-4cc0a75ff7f5b51ec41f8e776db546158e014233.tar.gz |
For Linux, pull in stdint.h to make this patch work. This fixes the
compile for some platforms, and is no change for platforms where this
package previously successfully compiled.
XXX The serious portability issues in the patched file remain, but are
no doubt more widespread than this one file anyway.
-rw-r--r-- | graphics/lib3ds/distinfo | 4 | ||||
-rw-r--r-- | graphics/lib3ds/patches/patch-af | 20 |
2 files changed, 16 insertions, 8 deletions
diff --git a/graphics/lib3ds/distinfo b/graphics/lib3ds/distinfo index 29d2f96b900..1fa6e3505bb 100644 --- a/graphics/lib3ds/distinfo +++ b/graphics/lib3ds/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2008/12/18 13:15:10 reinoud Exp $ +$NetBSD: distinfo,v 1.7 2009/01/28 00:37:27 dsainty Exp $ SHA1 (lib3ds-1.2.0.tar.gz) = 49614218c4c11572887beefaa34d23f72ef70a2c RMD160 (lib3ds-1.2.0.tar.gz) = 3e0401e36b545c2a54213ecb2ea3216360450562 @@ -8,4 +8,4 @@ SHA1 (patch-ab) = b2d6804b71fb37428ebf7fb59168ae8ef2eec362 SHA1 (patch-ac) = d73dd1b2cdabe61f78d4a7307a04917ff5fc379b SHA1 (patch-ad) = bbf95ca49e1bf6fa67314f9818af5b1b974eb54a SHA1 (patch-ae) = 7760d2311d99f3d5d91f89fceced314648abbeb0 -SHA1 (patch-af) = 016c93ead0e5d6a033d891d03db5f227a3e1df71 +SHA1 (patch-af) = 578dd6a4c5bb6bccde8b8a283437d8fc917b3a4c diff --git a/graphics/lib3ds/patches/patch-af b/graphics/lib3ds/patches/patch-af index a108ae585ac..aa21e0036ae 100644 --- a/graphics/lib3ds/patches/patch-af +++ b/graphics/lib3ds/patches/patch-af @@ -1,8 +1,16 @@ -$NetBSD: patch-af,v 1.1 2008/12/18 13:15:10 reinoud Exp $ +$NetBSD: patch-af,v 1.2 2009/01/28 00:37:27 dsainty Exp $ ---- lib3ds/io.c.orig 2001-07-11 15:47:35.000000000 +0200 -+++ lib3ds/io.c -@@ -31,6 +31,11 @@ +--- lib3ds/io.c.orig 2001-07-12 01:47:35.000000000 +1200 ++++ lib3ds/io.c 2009-01-25 19:59:22.437777313 +1300 +@@ -21,6 +21,7 @@ + */ + #define LIB3DS_EXPORT + #include <lib3ds/io.h> ++#include <stdint.h> + #include <stdlib.h> + #include <string.h> + +@@ -31,6 +32,11 @@ * \author J.E. Hoffmann <je-h@gmx.net> */ @@ -14,7 +22,7 @@ $NetBSD: patch-af,v 1.1 2008/12/18 13:15:10 reinoud Exp $ struct _Lib3dsIo { void *self; -@@ -248,15 +253,15 @@ Lib3dsFloat +@@ -248,15 +254,15 @@ lib3ds_io_read_float(Lib3dsIo *io) { Lib3dsByte b[4]; @@ -33,7 +41,7 @@ $NetBSD: patch-af,v 1.1 2008/12/18 13:15:10 reinoud Exp $ } -@@ -459,14 +464,14 @@ Lib3dsBool +@@ -459,14 +465,14 @@ lib3ds_io_write_float(Lib3dsIo *io, Lib3dsFloat l) { Lib3dsByte b[4]; |