michael@0: # Usage: ./update.sh michael@0: # michael@0: # Copies the needed files from a directory containing the original michael@0: # libogg source that we need for the Mozilla HTML5 media support. michael@0: cp $1/include/ogg/config_types.h ./include/ogg/config_types.h michael@0: cp $1/include/ogg/ogg.h ./include/ogg/ogg.h michael@0: cp $1/include/ogg/os_types.h ./include/ogg/os_types.h michael@0: cp $1/CHANGES ./CHANGES michael@0: cp $1/COPYING ./COPYING michael@0: cp $1/README ./README michael@0: cp $1/src/bitwise.c ./src/ogg_bitwise.c michael@0: cp $1/src/framing.c ./src/ogg_framing.c michael@0: cp $1/AUTHORS ./AUTHORS michael@0: patch -p0 < solaris-types.patch michael@0: # memory-reporting.patch adds ogg_alloc.c, make sure it doesn't exist to avoid michael@0: # unpleasantries. michael@0: rm -f ./src/ogg_alloc.c michael@0: patch -p0 < memory-reporting.patch