summaryrefslogtreecommitdiff
path: root/audio/libvisual/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libvisual/patches')
-rw-r--r--audio/libvisual/patches/patch-aa16
-rw-r--r--audio/libvisual/patches/patch-ab13
-rw-r--r--audio/libvisual/patches/patch-ac22
3 files changed, 51 insertions, 0 deletions
diff --git a/audio/libvisual/patches/patch-aa b/audio/libvisual/patches/patch-aa
new file mode 100644
index 00000000000..b16afdadcb9
--- /dev/null
+++ b/audio/libvisual/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- libvisual/lv_common.h.orig 2004-07-24 17:41:22.000000000 +0200
++++ libvisual/lv_common.h
+@@ -6,9 +6,11 @@
+ #include <libvisual/lv_mem.h>
+ #include <libvisual/lv_log.h>
+
++#ifndef uint8_t
+ #define uint8_t u_int8_t
+ #define uint16_t u_int16_t
+ #define uint32_t u_int32_t
++#endif
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/audio/libvisual/patches/patch-ab b/audio/libvisual/patches/patch-ab
new file mode 100644
index 00000000000..3ce9e2ac760
--- /dev/null
+++ b/audio/libvisual/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- libvisual/lv_mem.h.orig 2004-09-06 17:10:52.000000000 +0200
++++ libvisual/lv_mem.h
+@@ -8,7 +8,7 @@ extern "C" {
+ #endif /* __cplusplus */
+
+ #if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
+-void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
++void *visual_mem_malloc0 (visual_size_t nbytes);
+ #else
+ void *visual_mem_malloc0 (visual_size_t nbytes);
+ #endif /* __GNUC__ */
diff --git a/audio/libvisual/patches/patch-ac b/audio/libvisual/patches/patch-ac
new file mode 100644
index 00000000000..70cf9d6db86
--- /dev/null
+++ b/audio/libvisual/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- configure.orig 2004-10-14 15:40:28.000000000 +0200
++++ configure
+@@ -21856,7 +21856,7 @@ if test "${ac_cv_lib_GL_glBegin+set}" =
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lGL $LIBS"
++LIBS="-lGL -lXext -lm $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -21918,7 +21918,7 @@ if test $ac_cv_lib_GL_glBegin = yes; the
+ #define HAVE_LIBGL 1
+ _ACEOF
+
+- LIBS="-lGL $LIBS"
++ LIBS="-lGL -lXext -lm $LIBS"
+
+ else
+ { echo "$as_me:$LINENO: WARNING: *** GL headers has been found, but we cannot link against GL Library.