mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
refs #288: patch muimaster.h to not use varargs
This commit is contained in:
@ -96,6 +96,13 @@ case $1 in
|
||||
echo creating redirecting header $3/m68k-amigaos/include/${a[1]}
|
||||
echo "#include \"${a[2]}\"" >$3/m68k-amigaos/include/${a[1]}
|
||||
;;
|
||||
sed)
|
||||
echo applying: sed -i.bak -E "${a[@]:2}" $3/${a[1]}
|
||||
x=${a[@]:2}
|
||||
x=${x##\"}
|
||||
x=${x%%\"}
|
||||
LC_CTYPE=C sed -i.bak -E "$x" $3/${a[1]}
|
||||
;;
|
||||
symlink)
|
||||
echo creating symlink from $3/m68k-amigaos/${a[2]} to $3/m68k-amigaos/${a[1]}
|
||||
rm -rf $3/m68k-amigaos/${a[2]}
|
||||
|
||||
@ -113,4 +113,5 @@ sfdc : muimaster_lib.sfd muimaster.h muimaster_lib.h
|
||||
stubs : muimaster_lib.sfd
|
||||
lib : muimaster_lib.sfd
|
||||
patch : SDK/MUI/C/include/libraries/mui.h
|
||||
|
||||
sed : m68k-amigaos/include/proto/muimaster.h "s/(# include <inline\/muimaster_lib.h>)/#define NO_INLINE_STDARG\n#define NO_INLINE_VARARGS\n\1/g"
|
||||
sed : m68k-amigaos/include/proto/muimaster_lib.h "s/(# include <inline\/muimaster_lib.h>)/#define NO_INLINE_STDARG\n#define NO_INLINE_VARARGS\n\1/g"
|
||||
|
||||
Reference in New Issue
Block a user