Revision
75814
Author
raphael@macports.org
Date
2011-02-09 06:03:49 -0800 (Wed, 09 Feb 2011)

Log Message

libdevil: fix conflicting types error on powerpc

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/libdevil/Portfile (75813 => 75814)


--- trunk/dports/devel/libdevil/Portfile	2011-02-09 11:22:11 UTC (rev 75813)
+++ trunk/dports/devel/libdevil/Portfile	2011-02-09 14:03:49 UTC (rev 75814)
@@ -35,7 +35,8 @@
                     port:libpng \
                     port:jasper
 
-patchfiles          patch-ilur.c
+patchfiles          patch-ilur.c \
+                    patch-devil_internal_exports.h.diff
 
 configure.args      --disable-exr \
                     --enable-ILU \

Added: trunk/dports/devel/libdevil/files/patch-devil_internal_exports.h.diff (0 => 75814)


--- trunk/dports/devel/libdevil/files/patch-devil_internal_exports.h.diff	                        (rev 0)
+++ trunk/dports/devel/libdevil/files/patch-devil_internal_exports.h.diff	2011-02-09 14:03:49 UTC (rev 75814)
@@ -0,0 +1,11 @@
+--- include/IL/devil_internal_exports.h.orig	2009-11-17 11:32:00.000000000 +0100
++++ include/IL/devil_internal_exports.h	2009-11-17 11:32:27.000000000 +0100
+@@ -98,7 +98,7 @@
+ ILAPI void  ILAPIENTRY ifree(const void *Ptr);
+ ILAPI void* ILAPIENTRY icalloc(const ILsizei Size, const ILsizei Num);
+ #ifdef ALTIVEC_GCC
+-ILAPI void* ILAPIENTRY ivec_align_buffer(void *buffer, const ILuint size);
++ILAPI void* ILAPIENTRY ivec_align_buffer(void *buffer, const ILsizei size);
+ #endif
+ 
+ // Internal library functions in IL