pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/lib3ds For Linux, pull in stdint.h to make th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/035cc9e5afdd
branches:  trunk
changeset: 553689:035cc9e5afdd
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Wed Jan 28 00:37:27 2009 +0000

description:
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.

diffstat:

 graphics/lib3ds/distinfo         |   4 ++--
 graphics/lib3ds/patches/patch-af |  20 ++++++++++++++------
 2 files changed, 16 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r 45f2443ad500 -r 035cc9e5afdd graphics/lib3ds/distinfo
--- a/graphics/lib3ds/distinfo  Tue Jan 27 23:59:03 2009 +0000
+++ b/graphics/lib3ds/distinfo  Wed Jan 28 00:37:27 2009 +0000
@@ -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-ac) = d73dd1b2cdabe61f78d4a7307a04917ff5fc379b
 SHA1 (patch-ad) = bbf95ca49e1bf6fa67314f9818af5b1b974eb54a
 SHA1 (patch-ae) = 7760d2311d99f3d5d91f89fceced314648abbeb0
-SHA1 (patch-af) = 016c93ead0e5d6a033d891d03db5f227a3e1df71
+SHA1 (patch-af) = 578dd6a4c5bb6bccde8b8a283437d8fc917b3a4c
diff -r 45f2443ad500 -r 035cc9e5afdd graphics/lib3ds/patches/patch-af
--- a/graphics/lib3ds/patches/patch-af  Tue Jan 27 23:59:03 2009 +0000
+++ b/graphics/lib3ds/patches/patch-af  Wed Jan 28 00:37:27 2009 +0000
@@ -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@localhost>
   */
  
@@ -14,7 +22,7 @@
  
  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 @@
  }
  
  
-@@ -459,14 +464,14 @@ Lib3dsBool
+@@ -459,14 +465,14 @@
  lib3ds_io_write_float(Lib3dsIo *io, Lib3dsFloat l)
  {
    Lib3dsByte b[4];



Home | Main Index | Thread Index | Old Index