From 71ef7f94da8f42f1c256b251647c57d96171af8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Jul 2014 15:26:55 +0200 Subject: Initial import of gcstar version 1.7.0-1 --- debian/patches/01_set_usr_lib.patch | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 debian/patches/01_set_usr_lib.patch (limited to 'debian/patches/01_set_usr_lib.patch') diff --git a/debian/patches/01_set_usr_lib.patch b/debian/patches/01_set_usr_lib.patch new file mode 100644 index 0000000..bb76363 --- /dev/null +++ b/debian/patches/01_set_usr_lib.patch @@ -0,0 +1,39 @@ +Description: change directory-structure +Author: Jörg Frings-Fürst +Forwarded: not-needed +Last-Update: 2014-07-06 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/bin/gcstar +=================================================================== +--- trunk.orig/bin/gcstar 2012-01-24 05:13:14.000000000 +0100 ++++ trunk/bin/gcstar 2014-07-06 12:49:07.395235464 +0200 +@@ -44,9 +44,9 @@ + 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"; +Index: trunk/install +=================================================================== +--- trunk.orig/install 2011-07-17 14:22:58.000000000 +0200 ++++ trunk/install 2014-07-06 12:53:49.517946204 +0200 +@@ -255,9 +255,9 @@ + chmod 0755, $baseDir.'/bin/'.$binName; + + #Copying lib +- verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/lib/gcstar'; +- recursiveCopy('lib/gcstar', $baseDir.'/lib/gcstar'); +- ++ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar/lib'; ++ recursiveCopy('lib/gcstar', $baseDir.'/share/gcstar/lib'); ++ + #Copying share + verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar'; + recursiveCopy('share/gcstar', $baseDir.'/share/gcstar'); -- cgit v1.2.3