pkgsrc/multimedia/fxtv/patches/patch-ca
dholland 6ed83acafe Patch LP64 problems, add patch comments, fix some pkglint.
This may or may not fully run on LP64 platforms but it's much more
likely to now than previously.
2011-07-05 03:27:22 +00:00

25 lines
700 B
Text

$NetBSD: patch-ca,v 1.2 2011/07/05 03:27:22 dholland Exp $
Use correct sized types.
--- tvtypes.h.orig 2008-01-15 18:31:30.000000000 -0500
+++ tvtypes.h 2008-01-15 18:32:33.000000000 -0500
@@ -34,12 +34,12 @@
#include <math.h>
#include <string.h>
-typedef unsigned char TV_UINT8;
-typedef signed char TV_INT8;
-typedef unsigned short TV_UINT16;
-typedef short TV_INT16;
-typedef unsigned long TV_UINT32;
-typedef long TV_INT32;
+typedef uint8_t TV_UINT8;
+typedef int8_t TV_INT8;
+typedef uint16_t TV_UINT16;
+typedef int16_t TV_INT16;
+typedef uint32_t TV_UINT32;
+typedef int32_t TV_INT32;
typedef TV_INT32 TV_BOOL;