media/libogg/update.sh

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 # Usage: ./update.sh <ogg_src_directory>
     2 #
     3 # Copies the needed files from a directory containing the original
     4 # libogg source that we need for the Mozilla HTML5 media support.
     5 cp $1/include/ogg/config_types.h ./include/ogg/config_types.h
     6 cp $1/include/ogg/ogg.h ./include/ogg/ogg.h
     7 cp $1/include/ogg/os_types.h ./include/ogg/os_types.h
     8 cp $1/CHANGES ./CHANGES
     9 cp $1/COPYING ./COPYING
    10 cp $1/README ./README
    11 cp $1/src/bitwise.c ./src/ogg_bitwise.c
    12 cp $1/src/framing.c ./src/ogg_framing.c
    13 cp $1/AUTHORS ./AUTHORS
    14 patch -p0 < solaris-types.patch
    15 # memory-reporting.patch adds ogg_alloc.c, make sure it doesn't exist to avoid
    16 # unpleasantries.
    17 rm -f ./src/ogg_alloc.c
    18 patch -p0 < memory-reporting.patch

mercurial