aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mp4v2/files
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-10 01:42:24 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-10 01:42:24 +0000
commitbc96b55f4bacb35b0bf0dd9b82a070ac4626ad51 (patch)
tree3def35961e296a56ed7439701d784ee2c8b0c3b2 /multimedia/mp4v2/files
parent0d5722c076d84e2cddc6196eabff2083d1a91895 (diff)
downloadports-bc96b55f4bacb35b0bf0dd9b82a070ac4626ad51.tar.gz
ports-bc96b55f4bacb35b0bf0dd9b82a070ac4626ad51.zip
o New port mpeg4ip-libmp4v2 version 1.1: Mpeg-4 library and tools
from mpeg4ip o These tools were separated from the main mpeg4ip port so that some ports such as audio/faad can depend on this smaller port rather than the big mpeg4ip one PR: 72204 Submitted by: ahze
Notes
Notes: svn path=/head/; revision=121268
Diffstat (limited to 'multimedia/mp4v2/files')
-rw-r--r--multimedia/mp4v2/files/patch-include::mpeg4ip.h19
-rw-r--r--multimedia/mp4v2/files/patch-include::mpeg4ip_getopt.h12
-rw-r--r--multimedia/mp4v2/files/patch-ltmain.sh15
-rw-r--r--multimedia/mp4v2/files/patch-mpeg4ip_config.h.in27
4 files changed, 73 insertions, 0 deletions
diff --git a/multimedia/mp4v2/files/patch-include::mpeg4ip.h b/multimedia/mp4v2/files/patch-include::mpeg4ip.h
new file mode 100644
index 000000000000..550c65913825
--- /dev/null
+++ b/multimedia/mp4v2/files/patch-include::mpeg4ip.h
@@ -0,0 +1,19 @@
+--- include/mpeg4ip.h.orig Wed Sep 29 14:43:52 2004
++++ include/mpeg4ip.h Wed Sep 29 14:44:10 2004
+@@ -160,14 +160,14 @@
+ #include <errno.h>
+ #include <stdlib.h>
+
+-#ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+-#endif
+ #ifdef HAVE_STDINT_H
+ #include <stdint.h>
+ #endif
++#if 0
+ #if !defined(HAVE_INTTYPES_H) || !defined(HAVE_STDINT_H)
+ #error "Don't have stdint.h or inttypes.h - no way to get uint8_t"
++#endif
+ #endif
+
+ #include <unistd.h>
diff --git a/multimedia/mp4v2/files/patch-include::mpeg4ip_getopt.h b/multimedia/mp4v2/files/patch-include::mpeg4ip_getopt.h
new file mode 100644
index 000000000000..3677f0259efc
--- /dev/null
+++ b/multimedia/mp4v2/files/patch-include::mpeg4ip_getopt.h
@@ -0,0 +1,12 @@
+--- include/mpeg4ip_getopt.h.orig Tue Oct 15 13:12:27 2002
++++ include/mpeg4ip_getopt.h Mon Feb 24 05:23:50 2003
+@@ -11,6 +11,9 @@
+ #endif
+
+ #ifdef HAVE_GETOPT_H
++#ifdef __FreeBSD__
++#define __GNU_LIBRARY__
++#endif
+ #include <getopt.h>
+ #endif
+
diff --git a/multimedia/mp4v2/files/patch-ltmain.sh b/multimedia/mp4v2/files/patch-ltmain.sh
new file mode 100644
index 000000000000..b7b985b46652
--- /dev/null
+++ b/multimedia/mp4v2/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Thu Sep 30 04:09:46 2004
++++ ltmain.sh Thu Sep 30 04:11:06 2004
+@@ -5425,10 +5425,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/multimedia/mp4v2/files/patch-mpeg4ip_config.h.in b/multimedia/mp4v2/files/patch-mpeg4ip_config.h.in
new file mode 100644
index 000000000000..8bfb7a0aff76
--- /dev/null
+++ b/multimedia/mp4v2/files/patch-mpeg4ip_config.h.in
@@ -0,0 +1,27 @@
+--- mpeg4ip_config.h.in.orig Tue May 18 13:31:06 2004
++++ mpeg4ip_config.h.in Wed Sep 29 14:40:59 2004
+@@ -25,16 +25,12 @@
+ #undef HAVE_FPOS_T___POS
+
+ /* Define to 1 if you have the `getopt' function. */
+-#undef HAVE_GETOPT
+
+ /* Define to 1 if you have the <getopt.h> header file. */
+-#undef HAVE_GETOPT_H
+
+ /* Define to 1 if you have the `getopt_long' function. */
+-#undef HAVE_GETOPT_LONG
+
+ /* Define to 1 if you have the `getopt_long_only' function. */
+-#undef HAVE_GETOPT_LONG_ONLY
+
+ /* Define to 1 if you have the `getrusage' function. */
+ #undef HAVE_GETRUSAGE
+@@ -67,7 +63,6 @@
+ #undef HAVE_IPv6
+
+ /* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */
+-#undef HAVE_LIBGNUGETOPT
+
+ /* have libmpeg2 decoder library */
+ #undef HAVE_LIBMPEG2