pkgsrc/x11/xmx/patches/patch-bi
dholland 019aff8e20 Fix the "minor PLIST problems" and unmark this as only for SunOS.
Add proper deps.
Add destdir support.
And, finally, make it build properly. (82 (small) patches later...)
2008-08-31 06:52:29 +00:00

37 lines
1.3 KiB
Text

$NetBSD: patch-bi,v 1.1 2008/08/31 06:52:29 dholland Exp $
--- server/xmx.h~ 1998-05-05 14:54:52.000000000 -0400
+++ server/xmx.h 2008-08-31 00:38:36.000000000 -0400
@@ -25,6 +25,9 @@
* xmx.h *
* *
************************************************************************/
+
+#include <stdint.h>
+
/*
** Rationalize Predefines
*/
@@ -665,15 +668,15 @@
************************************************************************/
typedef unsigned long ulong_t; /* an unsigned long */
typedef unsigned int uint_t; /* an unsigned word */
-typedef unsigned long u32_t; /* a 32 bit unsigned int */
-typedef unsigned short u16_t; /* a 16 bit unsigned int */
-typedef unsigned char u8_t; /* an 8 bit unsigned int */
+typedef uint32_t u32_t; /* a 32 bit unsigned int */
+typedef uint16_t u16_t; /* a 16 bit unsigned int */
+typedef uint8_t u8_t; /* an 8 bit unsigned int */
-typedef int slong_t; /* signed long */
+typedef long slong_t; /* signed long */
typedef int sint_t; /* signed word */
-typedef long s32_t; /* a 32 bit signed int */
-typedef short s16_t; /* a 16 bit signed int */
-typedef char s8_t; /* an 8 bit signed int */
+typedef int32_t s32_t; /* a 32 bit signed int */
+typedef int16_t s16_t; /* a 16 bit signed int */
+typedef int8_t s8_t; /* an 8 bit signed int */
typedef u8_t kcode_t;