author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (side-by-side diff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /core/multimedia/opieplayer/libmad/fix_headers_problem | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
Diffstat (limited to 'core/multimedia/opieplayer/libmad/fix_headers_problem') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | core/multimedia/opieplayer/libmad/fix_headers_problem | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libmad/fix_headers_problem b/core/multimedia/opieplayer/libmad/fix_headers_problem new file mode 100755 index 0000000..6a5595c --- a/dev/null +++ b/core/multimedia/opieplayer/libmad/fix_headers_problem @@ -0,0 +1,25 @@ +#!/bin/sh + +# +# This is needed to ensure the single build will work +# The names of the header files clash with names of other headers in Qt/Palmtop +# + + +for file in *.c +do + + echo "fixing $file" + sed "s/global.h/libmad_global.h/" $file > $file.tmp + sed "s/version.h/libmad_version.h/" $file.tmp > $file + sed "s/config.h/libmad_config.h/" $file > $file.tmp + mv $file.tmp $file + +done + + +mv global.h libmad_global.h +mv version.h libmad_version.h +mv config.h libmad_config.h + + |