summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorhans <hans>2012-02-15 21:58:44 +0000
committerhans <hans>2012-02-15 21:58:44 +0000
commit13fbd105651ccec1f780605aaea30b35b2433d35 (patch)
treee87a34928c389d0a4031be5b12c3a85fdec74df0 /audio/libvisual
parent96a79e7c8e51d5eaf9b0b44c2c0b7220837ca291 (diff)
downloadpkgsrc-13fbd105651ccec1f780605aaea30b35b2433d35.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/libvisual')
-rw-r--r--audio/libvisual/distinfo3
-rw-r--r--audio/libvisual/patches/patch-libvisual_lv__types.h25
2 files changed, 27 insertions, 1 deletions
diff --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo
index 961680ede4a..fee5e45d108 100644
--- a/audio/libvisual/distinfo
+++ b/audio/libvisual/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2008/02/05 20:38:33 drochner Exp $
+$NetBSD: distinfo,v 1.11 2012/02/15 21:58:44 hans Exp $
SHA1 (libvisual-0.4.0.tar.gz) = bd21d621f1d54134c26138e19eaae46c5aeaec00
RMD160 (libvisual-0.4.0.tar.gz) = df4fda944e84417def2817f248f587dea5b2d8f1
@@ -7,3 +7,4 @@ SHA1 (patch-ab) = 2493f145d37c6de8dc37beb22e788c628d43342e
SHA1 (patch-ac) = ad124820a2a20550bf85181be284c1e000114ddd
SHA1 (patch-ad) = e7b2493cf5880cea7497a1d8d6fb1ce4f856ba6d
SHA1 (patch-ae) = 72affdd9a1302a16efe5f4ecaafbc37061e4db0c
+SHA1 (patch-libvisual_lv__types.h) = c33ff6113759863a85b332e1ed1abc2c49f406f9
diff --git a/audio/libvisual/patches/patch-libvisual_lv__types.h b/audio/libvisual/patches/patch-libvisual_lv__types.h
new file mode 100644
index 00000000000..d3e0f7b6841
--- /dev/null
+++ b/audio/libvisual/patches/patch-libvisual_lv__types.h
@@ -0,0 +1,25 @@
+$NetBSD: patch-libvisual_lv__types.h,v 1.1 2012/02/15 21:58:44 hans Exp $
+
+--- libvisual/lv_types.h.orig 2006-02-13 21:54:08.000000000 +0100
++++ libvisual/lv_types.h 2012-01-11 14:44:09.647013746 +0100
+@@ -38,20 +38,6 @@ VISUAL_BEGIN_DECLS
+
+ #define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
+
+-#if !defined(VISUAL_OS_WIN32)
+-#ifndef uint8_t
+-#define uint8_t u_int8_t
+-#endif
+-
+-#ifndef uint16_t
+-#define uint16_t u_int16_t
+-#endif
+-
+-#ifndef uint32_t
+-#define uint32_t u_int32_t
+-#endif
+-#endif /* !VISUAL_OS_WIN32 */
+-
+ VISUAL_END_DECLS
+
+ #endif /* _LV_TYPES_H */