gede: replace build.patch with inline sed call

The patch file is much larger than the logical change made.
This commit is contained in:
Joachim Fasting 2017-07-01 20:54:16 +02:00
parent b1ae313111
commit 6e36e7f209
No known key found for this signature in database
GPG key ID: 7544761007FE4E08
2 changed files with 4 additions and 12 deletions

View file

@ -1,11 +0,0 @@
--- a/build.py 2017-01-16 21:12:43.000000000 +0100
+++ b/build.py 2017-02-26 22:03:11.394625315 +0100
@@ -71,7 +71,7 @@
if do_build:
if not os.path.exists("Makefile"):
print("Generating makefile")
- if subprocess.call(['qmake-qt4']):
+ if subprocess.call(['qmake']):
exit(1)
print("Compiling (please wait)")

View file

@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
};
buildInputs = [ ctags qt4 python ];
patches = [ ./build.patch ];
postPatch = ''
sed -i build.py -e 's,qmake-qt4,qmake,'
'';
unpackPhase = ''
tar xf ${src}