summaryrefslogtreecommitdiff
path: root/debian/patches/01_set_usr_lib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01_set_usr_lib.patch')
-rw-r--r--debian/patches/01_set_usr_lib.patch39
1 files changed, 39 insertions, 0 deletions
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 <debian@jff-webhosting.net>
+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');