summaryrefslogtreecommitdiffstats
path: root/media/libogg/update.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /media/libogg/update.sh
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'media/libogg/update.sh')
-rw-r--r--media/libogg/update.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/media/libogg/update.sh b/media/libogg/update.sh
new file mode 100644
index 0000000000..f0698c20af
--- /dev/null
+++ b/media/libogg/update.sh
@@ -0,0 +1,19 @@
+# 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
+patch -p0 < ogg-fuzzing.patch