[dizzy] 01/01: also patch away "use lib 'lib'", which is perl equivalent for PATH=.:$PATH

Damyan Ivanov dmn at moszumanska.debian.org
Mon Jan 13 19:25:31 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 a6d877d8b52d7f23098d7dfba7723b2b71019e90
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Jan 13 19:25:26 2014 +0000

    also patch away "use lib 'lib'", which is perl equivalent for PATH=.:$PATH
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 833e2d9..524f225 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ dizzy (0.3-2) UNRELEASED; urgency=low
   [ Damyan Ivanov ]
   * patch installed usr/games/dizzy fixing interpreter path
     Closes: #734160 -- dizzy hardcodes wrong path to perl, fails to start
+  * also patch away "use lib 'lib'", which is perl equivalent for PATH=.:$PATH
 
  -- gregor herrmann <gregoa at debian.org>  Thu, 05 Jul 2012 12:11:49 -0600
 
diff --git a/debian/rules b/debian/rules
index 54bdfe9..76864d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ override_dh_auto_install:
 	                --install-root ./debian/tmp --install-xscreensaver
 	sed -i -e 's,^#!/usr/bin/env perl,#!/usr/bin/perl,' \
 	    debian/tmp/usr/games/dizzy
+	sed -i -e "s,^use lib 'lib';,," \
+	    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