summaryrefslogtreecommitdiff
path: root/audio/xmms-flac/patches/patch-aa
diff options
context:
space:
mode:
authorgrant <grant>2005-07-29 06:06:33 +0000
committergrant <grant>2005-07-29 06:06:33 +0000
commit3f6f8304823b04fa602d29190dfc9a412e74d41e (patch)
tree43aad4ba077705a11ab8630b61d5fdd86ad54f92 /audio/xmms-flac/patches/patch-aa
parent92834716ad8beedd617beb397e4418f9110d0ddc (diff)
downloadpkgsrc-3f6f8304823b04fa602d29190dfc9a412e74d41e.tar.gz
fix build on Solaris:
- sunpro wants 'inline' to inline functions, not '__inline' - patch away a rogue ;
Diffstat (limited to 'audio/xmms-flac/patches/patch-aa')
-rw-r--r--audio/xmms-flac/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/xmms-flac/patches/patch-aa b/audio/xmms-flac/patches/patch-aa
new file mode 100644
index 00000000000..25aee743100
--- /dev/null
+++ b/audio/xmms-flac/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2005/07/29 06:06:33 grant Exp $
+
+--- src/libFLAC/format.c.orig 2005-02-04 17:54:49.000000000 +1100
++++ src/libFLAC/format.c
+@@ -63,7 +63,7 @@ FLAC_API const char *FLAC__VENDOR_STRING
+
+ FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
+ FLAC_API const unsigned FLAC__STREAM_SYNC = 0x664C6143;
+-FLAC_API const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */;
++FLAC_API const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */
+
+ FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN = 16; /* bits */
+ FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN = 16; /* bits */