diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-23 19:20:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-23 19:20:55 +0200 |
commit | 2d7c75bb39c63bcead7154614999fbdd2da3a538 (patch) | |
tree | 8af5da1a98d6e2b294bd4f60cda676e73d4506ee /games-puzzle/pingus/files | |
parent | media-gfx/gimp: Graphics device access (bug #569738) (diff) | |
download | gentoo-2d7c75bb39c63bcead7154614999fbdd2da3a538.tar.gz gentoo-2d7c75bb39c63bcead7154614999fbdd2da3a538.tar.bz2 gentoo-2d7c75bb39c63bcead7154614999fbdd2da3a538.zip |
games-puzzle/pingus: Added a patch to work around Gentoo's crippled dash.
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-puzzle/pingus/files')
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch b/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch new file mode 100644 index 000000000000..ab772d8c72e9 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch @@ -0,0 +1,13 @@ +# Work around Gentoo's crippled dash + +--- pingus-0.7.6/Makefile ++++ pingus-0.7.6/Makefile +@@ -39,7 +39,7 @@ + install -d "$(DESTDIR)$(BINDIR)" + + install -D build/pingus "$(DESTDIR)$(BINDIR)/pingus.bin" +- echo -e "#!/bin/sh\nexec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus" ++ printf '%s\n%s' "#!/bin/sh" "exec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus" + chmod 755 "$(DESTDIR)$(BINDIR)/pingus" + + install-data: |