Files
MINGW-packages/mingw-w64-itstool/reloc.patch
Christoph Reiter df8666b973 Add itstool
Various gnome related mingw packages makedepend on it and we only have
a cygwin version atm.

This in combination with the .exe wrapper makes it work with meson.
2019-05-12 12:50:53 +02:00

13 lines
333 B
Diff

--- itstool-2.0.6/itstool.in.orig 2018-11-08 19:11:00.000000000 +0100
+++ itstool-2.0.6/itstool.in 2019-05-12 12:06:05.634677700 +0200
@@ -20,7 +20,8 @@
from __future__ import unicode_literals
VERSION="@VERSION@"
-DATADIR="@DATADIR@"
+import sys, os
+DATADIR = os.path.join(sys.prefix, 'share')
import gettext
import hashlib