summaryrefslogtreecommitdiff
path: root/multimedia/gpac/patches
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2009-01-23 14:54:23 +0000
committerjmcneill <jmcneill>2009-01-23 14:54:23 +0000
commit52df4663b15b85e889c32f7bc057e27ab4ca21c5 (patch)
treec57b5b738f5b5e0efdf8a3ffd6f268165e59497b /multimedia/gpac/patches
parent8d45d7f1e780e71b25fbacc632b70e1fbd758be9 (diff)
downloadpkgsrc-52df4663b15b85e889c32f7bc057e27ab4ca21c5.tar.gz
Import gpac version 0.4.5.
GPAC features encoders and multiplexers, publishing and content distribution tools for MP4 and 3GPP or 3GPP2 files and many tools for scene descriptions (BIFS/VRML/X3D converters, SWF/BIFS, SVG/BIFS, etc...). MP4Box provides all these tools in a single command-line application.
Diffstat (limited to 'multimedia/gpac/patches')
-rw-r--r--multimedia/gpac/patches/patch-aa22
-rw-r--r--multimedia/gpac/patches/patch-ab12
-rw-r--r--multimedia/gpac/patches/patch-ac23
3 files changed, 57 insertions, 0 deletions
diff --git a/multimedia/gpac/patches/patch-aa b/multimedia/gpac/patches/patch-aa
new file mode 100644
index 00000000000..5ef0105f41a
--- /dev/null
+++ b/multimedia/gpac/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- modules/oss_audio/oss.c.orig 2008-04-18 11:57:49.000000000 -0400
++++ modules/oss_audio/oss.c
+@@ -89,7 +89,7 @@ static GF_Err OSS_Setup(GF_AudioOutput*d
+ static void OSS_Shutdown(GF_AudioOutput*dr)
+ {
+ OSSCTX();
+- ioctl(ctx->audio_dev,SNDCTL_DSP_RESET);
++ ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL);
+ close(ctx->audio_dev);
+ if (ctx->wav_buf) free(ctx->wav_buf);
+ ctx->wav_buf = NULL;
+@@ -104,7 +104,7 @@ static GF_Err OSS_ConfigureOutput(GF_Aud
+
+ if (!ctx) return GF_BAD_PARAM;
+ /* reset and reopen audio-device */
+- ioctl(ctx->audio_dev,SNDCTL_DSP_RESET);
++ ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL);
+ close(ctx->audio_dev);
+ if (ctx->wav_buf) free(ctx->wav_buf);
+ ctx->wav_buf = NULL;
diff --git a/multimedia/gpac/patches/patch-ab b/multimedia/gpac/patches/patch-ab
new file mode 100644
index 00000000000..7ddda730962
--- /dev/null
+++ b/multimedia/gpac/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- modules/x11_out/x11_out.c.orig 2009-01-23 09:17:24.000000000 -0500
++++ modules/x11_out/x11_out.c
+@@ -25,6 +25,7 @@
+
+ #include "x11_out.h"
+ #include <gpac/constants.h>
++#include <sys/time.h>
+
+
+ void X11_SetupWindow (GF_VideoOutput * vout);
diff --git a/multimedia/gpac/patches/patch-ac b/multimedia/gpac/patches/patch-ac
new file mode 100644
index 00000000000..5b8fcc60ff1
--- /dev/null
+++ b/multimedia/gpac/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- configure.orig 2009-01-23 09:22:30.000000000 -0500
++++ configure
+@@ -217,12 +217,16 @@ case "$cpu" in
+ ;;
+ x86_64|amd64)
+ cpu="x86"
+- is_64="yes"
++ if test "$linux" = "yes" ; then
++ is_64="yes"
++ fi
+ canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
+ if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
+ if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
+ cpu="x86_64"
+- libdir="lib64"
++ if test "$linux" = "yes" ; then
++ libdir="lib64"
++ fi
+ #that's a bit crude...
+ PIC_CFLAGS="-fPIC -DPIC"
+ want_pic="yes"