aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-09-19 16:33:17 +0800
committerdirk <dirk@FreeBSD.org>2002-09-19 16:33:17 +0800
commite9eca3c79b5a5611524289bd8945d35fb7048463 (patch)
treef63b3a0b9c65b7e1807b288210aa9d650e4b69d2
parent69b622ec816f75b520cf79e826fb10d024870612 (diff)
downloadfreebsd-ports-gnome-e9eca3c79b5a5611524289bd8945d35fb7048463.tar.gz
freebsd-ports-gnome-e9eca3c79b5a5611524289bd8945d35fb7048463.tar.zst
freebsd-ports-gnome-e9eca3c79b5a5611524289bd8945d35fb7048463.zip
Fix redefinition of uint and ushort to make it build on bento again.
-rw-r--r--audio/bladeenc/files/patch-bladeenc_main.c10
-rw-r--r--audio/bladeenc/files/patch-bladeenc_samplein.c10
-rw-r--r--audio/bladeenc/files/patch-bladeenc_system.h13
3 files changed, 33 insertions, 0 deletions
diff --git a/audio/bladeenc/files/patch-bladeenc_main.c b/audio/bladeenc/files/patch-bladeenc_main.c
new file mode 100644
index 000000000000..3a290b470d13
--- /dev/null
+++ b/audio/bladeenc/files/patch-bladeenc_main.c
@@ -0,0 +1,10 @@
+--- bladeenc/main.c.orig Tue May 8 14:11:53 2001
++++ bladeenc/main.c Thu Sep 19 10:27:19 2002
+@@ -41,6 +41,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
++#include <sys/types.h>
+
+ #include "system.h"
+ #include "common.h"
diff --git a/audio/bladeenc/files/patch-bladeenc_samplein.c b/audio/bladeenc/files/patch-bladeenc_samplein.c
new file mode 100644
index 000000000000..78c10abbe8e7
--- /dev/null
+++ b/audio/bladeenc/files/patch-bladeenc_samplein.c
@@ -0,0 +1,10 @@
+--- bladeenc/samplein.c.orig Tue May 8 14:11:53 2001
++++ bladeenc/samplein.c Thu Sep 19 10:25:54 2002
+@@ -31,6 +31,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+
+ #include "system.h"
+ #include "samplein.h"
diff --git a/audio/bladeenc/files/patch-bladeenc_system.h b/audio/bladeenc/files/patch-bladeenc_system.h
new file mode 100644
index 000000000000..d5a965070d85
--- /dev/null
+++ b/audio/bladeenc/files/patch-bladeenc_system.h
@@ -0,0 +1,13 @@
+--- bladeenc/system.h.orig Tue May 8 14:11:53 2001
++++ bladeenc/system.h Thu Sep 19 10:25:02 2002
+@@ -321,10 +321,4 @@
+
+ typedef unsigned char uchar;
+
+-#if (defined(UNIX_SYSTEM) && !defined(SYS_TYPES_H) && !defined(_SYS_TYPES_H)) || (!defined UNIX_SYSTEM && !defined(__GNUC__))
+- typedef unsigned short ushort;
+- typedef unsigned int uint;
+-#endif
+-
+-
+ #endif /* __SYSTEM__ */