From 126bb8cb6b93240bb4d3a2b816b74c286c3d422b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Jul 2014 15:20:38 +0200 Subject: Imported Upstream version 1.7.0 --- packages/debian/patches/01-set_usr_lib.dpatch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packages/debian/patches/01-set_usr_lib.dpatch (limited to 'packages/debian/patches/01-set_usr_lib.dpatch') diff --git a/packages/debian/patches/01-set_usr_lib.dpatch b/packages/debian/patches/01-set_usr_lib.dpatch new file mode 100644 index 0000000..8fd45ca --- /dev/null +++ b/packages/debian/patches/01-set_usr_lib.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## test.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad gcstarzombiepig-1.6~/bin/gcstar gcstarzombiepig-1.6/bin/gcstar +--- gcstarzombiepig-1.6~/bin/gcstar 2009-09-20 17:12:25.000000000 -0300 ++++ gcstarzombiepig-1.6/bin/gcstar 2009-09-20 17:29:43.000000000 -0300 +@@ -44,12 +44,12 @@ + use POSIX qw(locale_h); + + $ENV{GCS_BIN_DIR} = $RealBin; +-($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/lib\/gcstar/; ++($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar\/lib/; + ($ENV{GCS_SHARE_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar/; +-use lib File::Spec->canonpath("$RealBin/../lib/gcstar"); ++use lib File::Spec->canonpath("$RealBin/../share/gcstar/lib"); + if (exists $ENV{PAR_TEMP}) + { +- unshift @INC, "$RealBin/../lib/gcstar"; ++ unshift @INC, "$RealBin/../share/gcstar/lib"; + } + + # For win32, redirect all the output to files -- cgit v1.2.3