media/libogg/update.sh
author William Chen <wchen@mozilla.com>
Mon, 09 Feb 2015 10:01:23 -0800
changeset 228576 09b002eaa381c992fa255074d482286a7a935681
parent 172785 54c0440b476fd741f2b075ffe2633f145a8780a0
child 482918 e2965eee48fe016a62e85d16e4be3f841fc780f9
permissions -rw-r--r--
Bug 1087460 - Part 1: Make GetComposedDoc() work in UnbindFromTree. r=smaug

# 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