diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-22 21:33:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-22 21:33:30 +0200 |
commit | 357a969c1fef40257e43e560fd51def46c812f90 (patch) | |
tree | 5b1f69c3e11dfa473a0923d706f162ce5bb7793d /package/glib/patches | |
parent | acf9bc7ca1c1e255c7c351aa43fc7330f6a4f27f (diff) |
now add the patch I missed last time
Diffstat (limited to 'package/glib/patches')
-rw-r--r-- | package/glib/patches/patch-gio_gdbus-2_0_codegen_gdbus-codegen_in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/glib/patches/patch-gio_gdbus-2_0_codegen_gdbus-codegen_in b/package/glib/patches/patch-gio_gdbus-2_0_codegen_gdbus-codegen_in new file mode 100644 index 000000000..a949576b9 --- /dev/null +++ b/package/glib/patches/patch-gio_gdbus-2_0_codegen_gdbus-codegen_in @@ -0,0 +1,15 @@ +--- glib-2.40.0.orig/gio/gdbus-2.0/codegen/gdbus-codegen.in 2014-02-03 18:40:41.000000000 +0100 ++++ glib-2.40.0/gio/gdbus-2.0/codegen/gdbus-codegen.in 2014-06-22 20:42:44.000000000 +0200 +@@ -27,11 +27,8 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRC + + if srcdir is not None: + path = os.path.join(srcdir, 'gio', 'gdbus-2.0') +-elif os.name == 'nt': +- # Makes gdbus-codegen 'relocatable' at runtime on Windows. +- path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0') + else: +- path = os.path.join('@datadir@', 'glib-2.0') ++ path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0') + + sys.path.insert(0, os.path.abspath(path)) + from codegen import codegen_main |