diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /media-radio/xastir | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'media-radio/xastir')
-rw-r--r-- | media-radio/xastir/Manifest | 11 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.0.4-fortify.diff | 144 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff | 32 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff | 58 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.0.8-scripts.diff | 91 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.1.4-fno-common.diff | 63 | ||||
-rw-r--r-- | media-radio/xastir/metadata.xml | 1 | ||||
-rw-r--r-- | media-radio/xastir/xastir-2.0.8-r1.ebuild | 86 | ||||
-rw-r--r-- | media-radio/xastir/xastir-2.1.4.ebuild | 5 |
9 files changed, 70 insertions, 421 deletions
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest index 6123381ab029..6e74f5366294 100644 --- a/media-radio/xastir/Manifest +++ b/media-radio/xastir/Manifest @@ -1,11 +1,6 @@ AUX xastir-2.0.0-dont-filter-flags.diff 621 BLAKE2B 7bb56ddfd744123b705e7f00866fa5ac76a3ee0cd5379ee8cb41b7f1eac94ab9e704802b64eb22fe182d594c4d62ece3215122c22f5cd30b3f00c4c60dde875e SHA512 da94db0dcbd79c7b258f3657d0e6135fb93de81f3a2c25a73d68051b1a92156392a638f6a5478f4a0b8b568c4780a4091d7345e4c8cc60ecc190633123da0a6b -AUX xastir-2.0.4-fortify.diff 4404 BLAKE2B 46f9d2adfd70575301e7d5f9874520baf60e006f315bd6c97ba1683a97a852067ad5b460a4ea68b3854d70882a1a24f7d7873af7f2e350b010853b124af00944 SHA512 f8ba2e3820e599a41dfcb4e60570b320c54625833e3bf0ab649655b1925e1d21d8de776d705bffd3cf85b2ebf43868de17923cf94fa3e4abd787c5d3ec09b920 -AUX xastir-2.0.8-fix-graphicsmagick.diff 1201 BLAKE2B 60c16089c786178b91eb6731b1b95d676fe3a1620d8e55709ccf657a8f3b155d62cebfd141ae41eaac03d8ff26230d6e4f59a0e5bc795db7eb00ea64cf276d1e SHA512 d3ec865bdb2645ef54e555e33659761588f79aafb96261c65112d94a6d17ce3825555dc33cee6b3af1ef45f9c9e588cf8c6f3f67f5587c3a2651886c6869ec11 -AUX xastir-2.0.8-no-builtin-shapelib.diff 2588 BLAKE2B 7de77fa6a75819579084f69ac0aabf4b0d87c7524bedd9b989ecf861949c6c21ce759f40502295f9da41ef1d570087356a9f62ec8545cf2836b98dfea35d0552 SHA512 da7374fd129956887efcf9b21047e75a34d32b391cc5a65416481971dc94722f1c538997ac85c5b47a8b6fb69f85611f04f73859736fe747f41f1edeac53aae6 -AUX xastir-2.0.8-scripts.diff 3398 BLAKE2B 0095733a8c590a76bfbed1596fe6a4bd2faca2070989e703fff6b40ec2e5ee3ad628203de12d321b3e4afd27c6626af5d80453212b9a5b8ba8e2d70178a082a1 SHA512 3e7bf50a1aa0abc67f6c83aa13aceb4478965ad21dea48351ab8d45f72a37e165efda07e822642f1bd1095355823f73a02207f84934ca1fc614a3d4784742dda AUX xastir-2.1.2-scripts.diff 3766 BLAKE2B fbad015655864f26dfed1b50ea6c1399fc70088ff092a2cdd1a173879db4bdbba43aea9107cc961890012682d0e265f888b908d553c50018d34ea040dc08243e SHA512 aef4410c53aa3d80c4f3ea48a50759a9a1813801d18fb6dd0cf4e90b8e49358c9f6040cca964b5ce4eefcea2966f197207b25e67dd1b69e1bbd5cf0ba640ae46 -DIST xastir-2.0.8.tar.gz 2697256 BLAKE2B 12a12219885d7923e3262494ac39b7b7f200118953b1e47ae25917f3f1732a1cff931de06462de7d5f1216c9b61561f8090fc49e18b40380eaa58b3559c5f123 SHA512 fd98a880392e9fcb049c6049ebc6a6a5e600571b7b59fd7061a72404abd68530ae6f152c9eabdc39be0458b33b363ce7fa3fdd5330003298bca8eaac62a6982f +AUX xastir-2.1.4-fno-common.diff 1930 BLAKE2B 97393a5a11af3797819ec68558fc273b059358b6df463b4aa28b5babc31a0fdba395fead457aa485b18bb9119ffdbb865457e7455891194bcd67fc7184126427 SHA512 e4a671f44ad0b4664be30487c45908466acf646389a890ab7448eacfa11ff22fc9a335e18dc06683b3a0b4789c8e2d85c510e456a387647e589b504e77853530 DIST xastir-2.1.4.tar.gz 2694124 BLAKE2B 90fd8ef340fc5bad43c9501c6530dcd4bd60eaab9c04638c68f80add46f0df24c45db334549915edaee95cbdcc9b7580d6343d81d84cb819f4ef5a76c9f79242 SHA512 e96f9de52499615cfe88708656d111d417e0d0e08f798b2d97f6a270db3e639c4fb5219767f8fd399fe75f51f02391ace87ae7175ae9a44cb5a4056ab7b573b1 -EBUILD xastir-2.0.8-r1.ebuild 2257 BLAKE2B 090d1625ac5caf048c4765ebd505264624f70dde36a02d8cee9f8444dfcb9dd135e108cf99a40eb29267a7744fbd624355a642ae15a07ee77d38646440a97377 SHA512 9725bfc7e33b60189441c5da81017eb9d5f79e07d27cb55f59a7834992cd93d9d3db9326e30e64f2955b677f046b4839ac6fe348ce6e171ff1a01be2f2746518 -EBUILD xastir-2.1.4.ebuild 1955 BLAKE2B 7c03b17aeba557689ba2cfbc61a51161a18034cdb253741398cf528f429409240b30eec9f45ed6afbe5092f3142fc7087783170347a7a82bfd326bd533d6610f SHA512 cb087cfcc9251c4163e339644eb932efe1b4ff6e3bda221691ecdc4020e10969e1b52a513011c90357f33a9ac58fcc536e700cdb802829ecb2a38a49b657d9de -MISC metadata.xml 533 BLAKE2B 78ef77d6fa8e34acb3f3a4b1d01fa72fa1dbca850938561fe22ef8c0ab8e17128f2c2174ad72e55915c42f37a9f441314cbbc80c49df7406418b57b7319fb7e6 SHA512 efdef63c89df43ea0761e6f84ec3d285a6592fc199820084767905f66945140a624c117a0bf7b0ec982e47dbe9445252115e31c92a4bc7b006055c0c030c0ff5 +EBUILD xastir-2.1.4.ebuild 2039 BLAKE2B 3dda4bc66aba2db047b0ba56b19aea2a0110491efc32d1539f9a487c8636b0d7439f664072e62f1ae48448669dacea49919230fba71931326539367f911a52cd SHA512 6fb0927483b04660af44b1a4a939569ae852a7ec010f48f89048b84e25a434a0cf616505fde70da5d9e07c2b1eef008d4e5f49f3d2d1d8cb78ffb814340fe64c +MISC metadata.xml 469 BLAKE2B 2e70497e0928a6ca00c783a8dd257ac66333cd2d9e34e271ca222b0df4dd5ea55b124d2728398d0a8b013355d63bf30907b29b121578921d09f7aee8667f480b SHA512 9ad337ee6c62205e9f7d3350763123bc25ff2e75bd3af6ac4438cc0b164439aa406339b9c2f7a3d6eef439965c888513c5089108944a281a781f27b1fb735758 diff --git a/media-radio/xastir/files/xastir-2.0.4-fortify.diff b/media-radio/xastir/files/xastir-2.0.4-fortify.diff deleted file mode 100644 index e2c34b007475..000000000000 --- a/media-radio/xastir/files/xastir-2.0.4-fortify.diff +++ /dev/null @@ -1,144 +0,0 @@ ---- src/rac_data.c.orig 2012-09-23 18:19:22.000000000 +0200 -+++ src/rac_data.c 2012-11-29 21:00:53.000000000 +0100 -@@ -212,7 +212,8 @@ - char char_offset[16]; - char index[32]; - int found = 0; -- rac_record racdata; -+ char buffer[sizeof(rac_record)]; -+ rac_record *racdata = (rac_record *)buffer; - /*char filler[8];*/ - char amacall_path[MAX_VALUE]; - -@@ -220,7 +221,7 @@ - - - xastir_snprintf(index, sizeof(index)," "); -- xastir_snprintf(racdata.callsign, sizeof(racdata.callsign)," "); -+ xastir_snprintf(racdata->callsign, sizeof(racdata->callsign)," "); - - /* ==================================================================== */ - /* Search thru the index, get the RBA */ -@@ -257,19 +258,19 @@ - if (callsign[5] == '-') - (void)chomp(callsign,5); - -- while (!feof(fdb) && strncmp((char *)&racdata, callsign, 6) < 0) -+ while (!feof(fdb) && strncmp(buffer, callsign, 6) < 0) - - //WE7U - // Problem here: We're sticking 8 bytes too many into racdata! -- rc = fgets((char *)&racdata, sizeof(racdata), fdb); -+ rc = fgets(buffer, sizeof(buffer), fdb); - - } else - fprintf(stderr,"Search:Could not open RAC data base: %s\n", get_data_base_dir("fcc/AMACALL.LST") ); - - /* || (callsign[5] == '-' && strncmp((char *)&racdata,callsign,5) < 0)) */ -- (void)chomp(racdata.callsign, 6); -+ (void)chomp(racdata->callsign, 6); - -- if (!strncmp((char *)racdata.callsign, callsign, 6)) { -+ if (!strncmp(racdata->callsign, callsign, 6)) { - found = 1; - - // Some of these cause problems on 64-bit processors, so commented -@@ -293,82 +294,82 @@ - xastir_snprintf(data->callsign, - sizeof(data->callsign), - "%s", -- racdata.callsign); -+ racdata->callsign); - - xastir_snprintf(data->first_name, - sizeof(data->first_name), - "%s", -- racdata.first_name); -+ racdata->first_name); - - xastir_snprintf(data->last_name, - sizeof(data->last_name), - "%s", -- racdata.last_name); -+ racdata->last_name); - - xastir_snprintf(data->address, - sizeof(data->address), - "%s", -- racdata.address); -+ racdata->address); - - xastir_snprintf(data->city, - sizeof(data->city), - "%s", -- racdata.city); -+ racdata->city); - - xastir_snprintf(data->province, - sizeof(data->province), - "%s", -- racdata.province); -+ racdata->province); - - xastir_snprintf(data->postal_code, - sizeof(data->postal_code), - "%s", -- racdata.postal_code); -+ racdata->postal_code); - - xastir_snprintf(data->qual_a, - sizeof(data->qual_a), - "%s", -- racdata.qual_a); -+ racdata->qual_a); - - xastir_snprintf(data->qual_b, - sizeof(data->qual_b), - "%s", -- racdata.qual_b); -+ racdata->qual_b); - - xastir_snprintf(data->qual_c, - sizeof(data->qual_c), - "%s", -- racdata.qual_c); -+ racdata->qual_c); - - xastir_snprintf(data->qual_d, - sizeof(data->qual_d), - "%s", -- racdata.qual_d); -+ racdata->qual_d); - - xastir_snprintf(data->club_name, - sizeof(data->club_name), - "%s", -- racdata.club_name); -+ racdata->club_name); - - xastir_snprintf(data->club_address, - sizeof(data->club_address), - "%s", -- racdata.club_address); -+ racdata->club_address); - - xastir_snprintf(data->club_city, - sizeof(data->club_city), - "%s", -- racdata.club_city); -+ racdata->club_city); - - xastir_snprintf(data->club_province, - sizeof(data->club_province), - "%s", -- racdata.club_province); -+ racdata->club_province); - - xastir_snprintf(data->club_postal_code, - sizeof(data->club_postal_code), - "%s", -- racdata.club_postal_code); -+ racdata->club_postal_code); - - } - (void)fclose(fdb); diff --git a/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff b/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff deleted file mode 100644 index 8919239fbfde..000000000000 --- a/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff +++ /dev/null @@ -1,32 +0,0 @@ -# backported from xastir-2.1.4 (see bug #688444) ---- a/src/map_geo.c 2019-07-26 15:54:19.534488550 +0200 -+++ b/src/map_geo.c 2019-07-26 15:56:47.779713950 +0200 -@@ -125,20 +125,7 @@ - #undef PACKAGE_TARNAME - #define XASTIR_PACKAGE_VERSION PACKAGE_VERSION - #undef PACKAGE_VERSION --#ifdef HAVE_GRAPHICSMAGICK --/*#include <GraphicsMagick/magick/api.h>*/ --/* Define MAGICK_IMPLEMENTATION to access private interfaces -- * such as DestroyImagePixels(). This may not be a good thing, -- * but DestroyImagePixels() has been in this code for a long -- * time. Defining MAGIC_IMPLEMENTATION eliminates the warning that is -- * now (9/28/2010) being seen on some distros (Ubuntu 10.04 and -- * OpenSuSE-11.3) -- */ --#define MAGICK_IMPLEMENTATION - #include <magick/api.h> --#else // HAVE_GRAPHICSMAGICK --#include <magick/api.h> --#endif // HAVE_GRAPHICSMAGICK - #undef PACKAGE_BUGREPORT - #define PACKAGE_BUGREPORT XASTIR_PACKAGE_BUGREPORT - #undef XASTIR_PACKAGE_BUGREPORT -@@ -2030,7 +2017,6 @@ - if (!SyncImagePixels(image)) - fprintf(stderr, "SyncImagePixels Failed....\n"); - } -- DestroyImagePixels(image); - } - - // If were are drawing to a low bpp display (typically < 8bpp) diff --git a/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff b/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff deleted file mode 100644 index 8cbdbc2cdb62..000000000000 --- a/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff +++ /dev/null @@ -1,58 +0,0 @@ ---- configure.ac.orig 2016-07-12 07:08:17.988160777 +0200 -+++ configure.ac 2016-07-12 07:11:42.591138389 +0200 -@@ -382,27 +382,17 @@ - - # Check for Shapelib - use_shapelib=yes --force_internal_shapelib=no - shapelib_desired=yes - LIBSHP="" - SUBSHP="" - # This symbol will be blank if the proj library hasn't been found, and will - # have the three programs that need proj if it has - CONTSHP="" --AC_ARG_WITH(internal-shapelib,[ --with-internal-shapelib Force use of internal shapelib library.],force_internal_shapelib=$withval) - AC_ARG_WITH(shapelib,[ --without-shapelib Disable shapelib features.],shapelib_desired=$withval) - if test "${shapelib_desired}" = "no"; then - use_shapelib=no -- force_internal_shapelib=no - fi --if test "${force_internal_shapelib}" = "yes"; then -- AC_MSG_WARN([***************************************************************** ]) -- AC_MSG_WARN([Internal Shapelib library has been forced. ]) -- AC_MSG_WARN([***************************************************************** ]) -- # Temporary setting to get into if block below -- use_shapelib=no --fi --if test "${shapelib_desired}" = "yes" -a "${force_internal_shapelib}" = "no"; then -+if test "${shapelib_desired}" = "yes" ; then - use_shapelib=no - AC_CHECK_HEADERS(shapefil.h libshp/shapefil.h, [AC_CHECK_LIB(shp, DBFOpen, use_shapelib=yes - LIBS="$LIBS -lshp" -@@ -411,26 +401,6 @@ - AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). ) - break)]) - fi --if test "${shapelib_desired}" = "yes" -a "${use_shapelib}" = "no"; then -- AC_MSG_WARN([**************************************************************** ]) -- AC_MSG_WARN([Your system does not have shapelib installed. Using an internal ]) -- AC_MSG_WARN([version. This may lead to a larger filesize for the executable. ]) -- AC_MSG_WARN([Install shapelib on your system to eliminate this warning. ]) -- AC_MSG_WARN([**************************************************************** ]) -- LIBSHP="-Lshapelib -lshape" -- CPPFLAGS="-I\$(top_srcdir)/src/shapelib $CPPFLAGS" -- SUBSHP="shapelib" -- use_shapelib=yes -- force_internal_shapelib=yes -- AC_DEFINE(HAVE_DBFGETFIELDINDEX, , Define to 1 if your `shp' library has DBFGetFieldIndex. ) -- AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). ) -- AC_DEFINE(HAVE_SHAPEFIL_H, , Define to 1 if you have the `shapefil.h' header. ) -- -- if test $use_proj = "yes" -- then -- CONTSHP="shpcentrd$(EXEEXT) shpproj$(EXEEXT) shpdata$(EXEEXT) shpwkb$(EXEEXT)" -- fi --fi - AC_SUBST(SUBSHP) - AC_SUBST(CONTSHP) - AC_SUBST(LIBSHP) diff --git a/media-radio/xastir/files/xastir-2.0.8-scripts.diff b/media-radio/xastir/files/xastir-2.0.8-scripts.diff deleted file mode 100644 index 35c73246c9ee..000000000000 --- a/media-radio/xastir/files/xastir-2.0.8-scripts.diff +++ /dev/null @@ -1,91 +0,0 @@ -# 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 -@@ -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/ diff --git a/media-radio/xastir/files/xastir-2.1.4-fno-common.diff b/media-radio/xastir/files/xastir-2.1.4-fno-common.diff new file mode 100644 index 000000000000..f2580b5977e6 --- /dev/null +++ b/media-radio/xastir/files/xastir-2.1.4-fno-common.diff @@ -0,0 +1,63 @@ +# Fixes build with -fno-common (bug #706952) + +diff --git a/src/objects.h b/src/objects.h +index b1bf8b5..ef5b9b1 100644 +--- a/src/objects.h ++++ b/src/objects.h +@@ -95,7 +95,7 @@ if (debug_level & 4) { fprintf(stderr, "Changing euid to %d and egid to %d\n", ( + // + // number_of_predefined_objects holds the actual number of predefined + // objects available to display on the Create/Move popup menu. +-int number_of_predefined_objects; ++extern int number_of_predefined_objects; + // File name of ~/.xastir/config file containing definitions for + // a predefined object menu. + extern char predefined_object_definition_filename[256]; +diff --git a/src/x_spider.c b/src/x_spider.c +index a1fabc4..e5a0bc3 100644 +--- a/src/x_spider.c ++++ b/src/x_spider.c +@@ -185,6 +185,7 @@ extern void split_string( char *data, char *cptr[], int max, char search_char ); + // From database.h + extern char my_callsign[]; + ++extern char *pname; + + typedef struct _pipe_object + { +diff --git a/src/x_spider.h b/src/x_spider.h +index d8af8e9..a168b1f 100644 +--- a/src/x_spider.h ++++ b/src/x_spider.h +@@ -31,7 +31,7 @@ + #define SERV_UDP_PORT 2023 + + +-char *pname; ++extern char *pname; + extern int pipe_xastir_to_tcp_server; + extern int pipe_tcp_server_to_xastir; + extern int pipe_xastir_to_udp_server; +diff --git a/src/xa_config.c b/src/xa_config.c +index 9a6f1f3..2ded26c 100644 +--- a/src/xa_config.c ++++ b/src/xa_config.c +@@ -65,7 +65,7 @@ + + #define MAX_VALUE 300 + +-//extern char xa_config_dir[]; ++char xa_config_dir[1000]; /* cmdline option user config dir */ + + + +diff --git a/src/xa_config.h b/src/xa_config.h +index 9947145..530fc06 100644 +--- a/src/xa_config.h ++++ b/src/xa_config.h +@@ -31,4 +31,4 @@ char *get_data_base_dir(char *dir); + void save_data(void); + void load_data_or_default(void); + +-char xa_config_dir[1000]; /* cmdline option user config dir */ ++extern char xa_config_dir[1000]; /* cmdline option user config dir */ diff --git a/media-radio/xastir/metadata.xml b/media-radio/xastir/metadata.xml index e44c45094ca1..f7dfda2f7084 100644 --- a/media-radio/xastir/metadata.xml +++ b/media-radio/xastir/metadata.xml @@ -6,7 +6,6 @@ <name>Thomas Beierlein</name> </maintainer> <use> - <flag name="gdal">Support for some further map formats</flag> <flag name="geotiff">Install geotiff support. Allows using USGS DRG topo maps or other types of geotiff mapes/images</flag> </use> diff --git a/media-radio/xastir/xastir-2.0.8-r1.ebuild b/media-radio/xastir/xastir-2.0.8-r1.ebuild deleted file mode 100644 index 4d12a2c14255..000000000000 --- a/media-radio/xastir/xastir-2.0.8-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils flag-o-matic toolchain-funcs - -DESCRIPTION="X Amateur Station Tracking and Information Reporting" -HOMEPAGE="http://xastir.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gdal geotiff +graphicsmagick" - -DEPEND=">=x11-libs/motif-2.3:0 - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXpm - x11-apps/xfontsel - dev-libs/libpcre - net-misc/curl - sys-libs/db:4.8 - sci-libs/shapelib - !graphicsmagick? ( <media-gfx/imagemagick-7:0=[-hdri,-q32] ) - graphicsmagick? ( media-gfx/graphicsmagick:=[-q32] ) - geotiff? ( sci-libs/proj - sci-libs/libgeotiff - media-libs/tiff:0 ) - gdal? ( sci-libs/gdal )" -RDEPEND="${DEPEND}" - -src_prepare() { - # fix script location (bug #407185) - epatch "${FILESDIR}"/${P}-scripts.diff - - # fix __FORTIFY_SOURCE warning (bug #337365) - epatch "${FILESDIR}"/${PN}-2.0.4-fortify.diff - - # do not use builtin shapelib if sci-libs/shapelib is not installed - # instead build without shapelib support (bug #430704) - epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff - - # do not filter duplicate flags (see bug 411095) - epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff - - # fix compile problem with newer graphicsmagic - epatch "${FILESDIR}"/${PN}-2.0.8-fix-graphicsmagick.diff - - eautoreconf -} - -src_configure() { - # provide include path to GraphicsMagic for configure stage - use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick - econf --with-pcre \ - --with-shapelib \ - --with-dbfawk \ - --without-ax25 \ - --without-festival \ - --without-gpsman \ - $(use_with !graphicsmagick imagemagick) \ - $(use_with graphicsmagick) \ - $(use_with geotiff libproj) \ - $(use_with geotiff) \ - $(use_with gdal) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - rm -rf "${D}"/usr/share/doc/${PN} - dodoc AUTHORS ChangeLog FAQ README README.Contributing \ - README.Getting-Started README.MAPS -} - -pkg_postinst() { - elog "Kernel mode AX.25 and GPSman library not supported." - elog - elog "Remember you have to be root to add addditional scripts," - elog "maps and other configuration data under /usr/share/xastir." -} diff --git a/media-radio/xastir/xastir-2.1.4.ebuild b/media-radio/xastir/xastir-2.1.4.ebuild index c3f29e3674c3..d779bc0c568b 100644 --- a/media-radio/xastir/xastir-2.1.4.ebuild +++ b/media-radio/xastir/xastir-2.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -43,6 +43,9 @@ src_prepare() { # do not filter duplicate flags (see bug 411095) eapply -p0 "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff + # build with -fno-common (bug #706952) + eapply "${FILESDIR}"/${P}-fno-common.diff + eautoreconf } |