summaryrefslogtreecommitdiffstats
path: root/media/libogg/update.sh
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /media/libogg/update.sh
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/libogg/update.sh')
-rw-r--r--media/libogg/update.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/media/libogg/update.sh b/media/libogg/update.sh
new file mode 100644
index 000000000..5a7184bcb
--- /dev/null
+++ b/media/libogg/update.sh
@@ -0,0 +1,18 @@
+# Usage: ./update.sh <ogg_src_directory>
+#
+# Copies the needed files from a directory containing the original
+# libogg source that we need for the Mozilla HTML5 media support.
+cp $1/include/ogg/config_types.h ./include/ogg/config_types.h
+cp $1/include/ogg/ogg.h ./include/ogg/ogg.h
+cp $1/include/ogg/os_types.h ./include/ogg/os_types.h
+cp $1/CHANGES ./CHANGES
+cp $1/COPYING ./COPYING
+cp $1/README ./README
+cp $1/src/bitwise.c ./src/ogg_bitwise.c
+cp $1/src/framing.c ./src/ogg_framing.c
+cp $1/AUTHORS ./AUTHORS
+patch -p0 < solaris-types.patch
+# memory-reporting.patch adds ogg_alloc.c, make sure it doesn't exist to avoid
+# unpleasantries.
+rm -f ./src/ogg_alloc.c
+patch -p0 < memory-reporting.patch \ No newline at end of file