From e40518da4b1559f327690f3005d8aac76d7b4677 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Mon, 14 Sep 2009 02:24:24 +0000 Subject: [PATCH] Patch to enable building libtheora, based on Kaliber's patch. --- media-libs/libtheora/libtheora-1.0-haiku.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 media-libs/libtheora/libtheora-1.0-haiku.diff diff --git a/media-libs/libtheora/libtheora-1.0-haiku.diff b/media-libs/libtheora/libtheora-1.0-haiku.diff new file mode 100644 index 000000000..965a4ad18 --- /dev/null +++ b/media-libs/libtheora/libtheora-1.0-haiku.diff @@ -0,0 +1,12 @@ +diff -urN libtheora-1.0/configure.ac libtheora-1.0-haiku/configure.ac +--- libtheora-1.0/configure.ac 2008-10-24 04:07:32.000000000 +0000 ++++ libtheora-1.0-haiku/configure.ac 2009-09-14 02:21:57.000000000 +0000 +@@ -404,7 +404,7 @@ + if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes -a x$HAVE_VORBIS = xyes; then + BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example" + fi +-if test x$HAVE_PNG = xyes; then ++if test x$HAVE_PNG = xyes -a $target_os != 'haiku'; then + BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES png2theora" + fi + AC_SUBST(BUILDABLE_EXAMPLES)