diff options
Diffstat (limited to 'media-radio/xastir/files/xastir-2.0.4-scripts.diff')
-rw-r--r-- | media-radio/xastir/files/xastir-2.0.4-scripts.diff | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/media-radio/xastir/files/xastir-2.0.4-scripts.diff b/media-radio/xastir/files/xastir-2.0.4-scripts.diff new file mode 100644 index 000000000000..369295b07f8c --- /dev/null +++ b/media-radio/xastir/files/xastir-2.0.4-scripts.diff @@ -0,0 +1,101 @@ +# patch scripts location (bug #407185). partially backported from upstream. +--- xastir-2.0.0-orig/scripts/Makefile.am.orig 2012-11-27 05:41:23.000000000 +0100 ++++ xastir-2.0.0/scripts/Makefile.am 2012-12-05 06:21:59.000000000 +0100 +@@ -12,9 +12,7 @@ + get-fcc-rac.pl \ + get-gnis \ + get-pop \ +- get-maptools.sh \ + get-NWSdata \ +- get_shapelib.sh \ + gpx2shape \ + icontable.pl \ + inf2geo.pl \ +@@ -43,10 +41,8 @@ + values \ + values.pl \ + waypoint-get.pl \ +- xastir-fixcfg.sh \ +- xastir-migrate.sh \ + Xastir_tigerpoly.py + + install-data-hook: + cd $(DESTDIR)$(scriptsdir) && \ +- chmod a+x *.sh *.pl *.py get-* gpx2* *.bash ++ chmod a+x *.pl *.py get-* gpx2* *.bash +diff -Nur -u xastir-2.0.0.orig/scripts/coord-convert.pl xastir-2.0.0/scripts/coord-convert.pl +--- xastir-2.0.0.orig/scripts/coord-convert.pl 2010-07-03 22:09:48.000000000 +0000 ++++ xastir-2.0.0/scripts/coord-convert.pl 2012-03-07 15:46:01.000000000 +0000 +@@ -26,7 +26,7 @@ + # + + +-use lib "${prefix}/lib"; ++use lib /usr/share/xastir/scripts; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u xastir-2.0.0.orig/scripts/permutations.pl xastir-2.0.0/scripts/permutations.pl +--- xastir-2.0.0.orig/scripts/permutations.pl 2010-07-03 22:09:48.000000000 +0000 ++++ xastir-2.0.0/scripts/permutations.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -34,7 +34,7 @@ + # + + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u xastir-2.0.0.orig/scripts/test_coord.pl xastir-2.0.0/scripts/test_coord.pl +--- xastir-2.0.0.orig/scripts/test_coord.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/test_coord.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -33,7 +33,7 @@ + + #------------------------------------------------------------------------------------------------ + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # Snag WE7U's Coordinate module + + +diff -Nur -u xastir-2.0.0.orig/scripts/toporama250k.pl xastir-2.0.0/scripts/toporama250k.pl +--- xastir-2.0.0.orig/scripts/toporama250k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/toporama250k.pl 2012-03-07 15:46:49.000000000 +0000 +@@ -28,14 +28,14 @@ + # map files for the whole of Canada! + # + # +-# - "cd /usr/local/share/xastir/maps" ++# - "cd /usr/share/xastir/maps" + # + # - Assure you have write privileges in the directory above either + # by becoming root using the "su" command, using "sudo", or + # temporarily changing ownership and/or privileges on the + # "maps" directory. + # +-# - "/usr/local/lib/xastir/toporama250k.pl" ++# - "/usr/share/xastir/scripts/toporama250k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ +diff -Nur -u xastir-2.0.0.orig/scripts/toporama50k.pl xastir-2.0.0/scripts/toporama50k.pl +--- xastir-2.0.0.orig/scripts/toporama50k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/toporama50k.pl 2012-03-07 15:47:01.000000000 +0000 +@@ -27,14 +27,14 @@ + # map files for the whole of Canada! + # + # +-# - "cd /usr/local/share/xastir/maps" ++# - "cd /usr/share/xastir/maps" + # + # - Assure you have write privileges in the directory above either + # by becoming root using the "su" command, using "sudo", or + # temporarily changing ownership and/or privileges on the + # "maps" directory. + # +-# - "/usr/local/lib/xastir/toporama50k.pl" ++# - "/usr/share/xastir/scripts/toporama50k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ |