diff options
Diffstat (limited to 'xorg')
-rwxr-xr-x | xorg/gtk+3/build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xorg/gtk+3/build b/xorg/gtk+3/build index 9db3b285..cce3cd18 100755 --- a/xorg/gtk+3/build +++ b/xorg/gtk+3/build @@ -1,10 +1,16 @@ #!/bin/sh -e +sed_i() { + for file; do :; done + sed "$@" > _ + cat _ > "$file"; rm -f _ +} + # Remove 'atk-bridge' dependency which removes the 'dbus' dependency. -sed -i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \ +sed_i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \ configure -sed -i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \ +sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \ gtk/a11y/gtkaccessibility.c ./configure \ |