aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:31:41 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:31:41 +0000
commitb6b0773517ba411572baeba47f6ccbb824d8f7de (patch)
treef75fd224829fa426b25205911e3f1941d5f85e9c /cad
parent46b077e62d0e0673a56994935503aba63ca4d14b (diff)
downloadports-b6b0773517ba411572baeba47f6ccbb824d8f7de.tar.gz
ports-b6b0773517ba411572baeba47f6ccbb824d8f7de.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/brlcad/files/patch-pngtclDecls.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/cad/brlcad/files/patch-pngtclDecls.h b/cad/brlcad/files/patch-pngtclDecls.h
new file mode 100644
index 000000000000..ec4599bfb204
--- /dev/null
+++ b/cad/brlcad/files/patch-pngtclDecls.h
@@ -0,0 +1,43 @@
+--- src/other/tkimg/pngtcl/pngtclDecls.h.orig 2008-08-18 21:12:56.000000000 +0200
++++ src/other/tkimg/pngtcl/pngtclDecls.h 2010-04-01 07:15:04.000000000 +0200
+@@ -46,11 +46,11 @@
+ png_voidp error_ptr, png_error_ptr error_fn,
+ png_error_ptr warn_fn));
+ /* 6 */
+-EXTERN png_uint_32 png_get_compression_buffer_size _ANSI_ARGS_((
++EXTERN png_size_t png_get_compression_buffer_size _ANSI_ARGS_((
+ png_structp png_ptr));
+ /* 7 */
+ EXTERN void png_set_compression_buffer_size _ANSI_ARGS_((
+- png_structp png_ptr, png_uint_32 size));
++ png_structp png_ptr, png_size_t size));
+ /* 8 */
+ EXTERN int png_reset_zstream _ANSI_ARGS_((png_structp png_ptr));
+ /* 9 */
+@@ -337,7 +337,7 @@
+ png_bytep new_row));
+ /* 94 */
+ EXTERN png_voidp png_malloc _ANSI_ARGS_((png_structp png_ptr,
+- png_uint_32 size));
++ png_size_t size));
+ /* 95 */
+ EXTERN void png_free _ANSI_ARGS_((png_structp png_ptr,
+ png_voidp ptr));
+@@ -351,7 +351,7 @@
+ png_uint_32 mask));
+ /* 98 */
+ EXTERN png_voidp png_malloc_default _ANSI_ARGS_((png_structp png_ptr,
+- png_uint_32 size));
++ png_size_t size));
+ /* 99 */
+ EXTERN void png_free_default _ANSI_ARGS_((png_structp png_ptr,
+ png_voidp ptr));
+@@ -380,7 +380,7 @@
+ EXTERN png_uint_32 png_get_valid _ANSI_ARGS_((png_structp png_ptr,
+ png_infop info_ptr, png_uint_32 flag));
+ /* 108 */
+-EXTERN png_uint_32 png_get_rowbytes _ANSI_ARGS_((png_structp png_ptr,
++EXTERN png_size_t png_get_rowbytes _ANSI_ARGS_((png_structp png_ptr,
+ png_infop info_ptr));
+ /* 109 */
+ EXTERN png_bytepp png_get_rows _ANSI_ARGS_((png_structp png_ptr,