aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2006-07-10 04:59:24 +0800
committernaddy <naddy@FreeBSD.org>2006-07-10 04:59:24 +0800
commitecb63fdf23205121459384352de6e2c43080dbf9 (patch)
treecd363f199088de785ff9eeae8f37cc3ed2618a39 /audio
parent50dadcb2b2c6025e28334b82b11f52fa5ad28366 (diff)
downloadfreebsd-ports-gnome-ecb63fdf23205121459384352de6e2c43080dbf9.tar.gz
freebsd-ports-gnome-ecb63fdf23205121459384352de6e2c43080dbf9.tar.zst
freebsd-ports-gnome-ecb63fdf23205121459384352de6e2c43080dbf9.zip
Give encoding of metadata to/from UTF-8 a fighting chance.
Dug up by Heino Tiedemann <rotkap@GMX.de> who kept going on and on about this on various mailing lists without ever bothering to contact the maintainer. Obtained from: upstream CVS
Diffstat (limited to 'audio')
-rw-r--r--audio/vorbis-tools/Makefile1
-rw-r--r--audio/vorbis-tools/files/patch-share_charset.c16
-rw-r--r--audio/vorbis-tools/files/patch-share_iconvert.c16
-rw-r--r--audio/vorbis-tools/files/patch-share_utf8.c16
4 files changed, 49 insertions, 0 deletions
diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
index 0d14801f492f..1d2f389d29df 100644
--- a/audio/vorbis-tools/Makefile
+++ b/audio/vorbis-tools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vorbis-tools
PORTVERSION= 1.1.1
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
diff --git a/audio/vorbis-tools/files/patch-share_charset.c b/audio/vorbis-tools/files/patch-share_charset.c
new file mode 100644
index 000000000000..b06e5ddfa0f9
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-share_charset.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- share/charset.c.orig
++++ share/charset.c
+@@ -27,6 +27,10 @@
+ * 8-bit char, 16-bit short and 32-bit int.
+ */
+
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
+ #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
+
+ #include <stdlib.h>
diff --git a/audio/vorbis-tools/files/patch-share_iconvert.c b/audio/vorbis-tools/files/patch-share_iconvert.c
new file mode 100644
index 000000000000..fdf48d1ebd62
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-share_iconvert.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- share/iconvert.c.orig
++++ share/iconvert.c
+@@ -16,6 +16,10 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
+ #ifdef HAVE_ICONV
+
+ #include <assert.h>
diff --git a/audio/vorbis-tools/files/patch-share_utf8.c b/audio/vorbis-tools/files/patch-share_utf8.c
new file mode 100644
index 000000000000..ed61f1f558a9
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-share_utf8.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- share/utf8.c.orig
++++ share/utf8.c
+@@ -21,6 +21,10 @@
+ * Convert a string between UTF-8 and the locale's charset.
+ */
+
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
+ #include <stdlib.h>
+ #include <string.h>
+