[dizzy] 01/01: patch installed usr/games/dizzy fixing interpreter path

Damyan Ivanov dmn at moszumanska.debian.org
Mon Jan 13 19:13:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository dizzy.

commit 561649fb30ec3c919bafb134dc4d30f894c97716
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Jan 13 19:12:06 2014 +0000

    patch installed usr/games/dizzy fixing interpreter path
    
    Closes: #734160 -- dizzy hardcodes wrong path to perl, fails to start
---
 debian/changelog | 4 ++++
 debian/rules     | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5fce7d7..833e2d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ dizzy (0.3-2) UNRELEASED; urgency=low
     on undefined subroutine, '&SDL::Mouse::show_cursor' at line 61".
     Thanks to The Wanderer <wanderer at fastmail.fm> (Closes: #697423)
 
+  [ Damyan Ivanov ]
+  * patch installed usr/games/dizzy fixing interpreter path
+    Closes: #734160 -- dizzy hardcodes wrong path to perl, fails to start
+
  -- gregor herrmann <gregoa at debian.org>  Thu, 05 Jul 2012 12:11:49 -0600
 
 dizzy (0.3-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a816b12..54bdfe9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@ override_dh_auto_clean:
 override_dh_auto_install:
 	./install_dizzy --set vendor --bin-path /usr/games \
 	                --install-root ./debian/tmp --install-xscreensaver
+	sed -i -e 's,^#!/usr/bin/env perl,#!/usr/bin/perl,' \
+	    debian/tmp/usr/games/dizzy
 
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dizzy.git



More information about the Pkg-perl-cvs-commits mailing list