1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/comms
Diane Bruce 9a22bc1933 Fix linrad on latest gcc
I checked linrad upstream, and they still haven't fixed these two bugs.  I am surprised they haven't been reported yet.  Without these fixes, linrad cannot be built with gcc5.

the menu.c patch simply reverses the order of the condition.  One must check the bounds constraint first!  It's a pretty dumb mistake but I've seen this kind before.

The second one fails because -Werror is set.  This took me a while because I couldn't figure out the relationship between ADCHANS and rxchan.  In any case, setting 4 locations per channel did indeed allow the array to be big enough.  (at first I thought the loop was running too high, but I finally determined the array was too small).

These were found on DragonFly that uses gcc5.

This patch has not been tested on FreeBSD but I can't how it could possibly fail.

It would be good if the ham@ maintainer reports the issue upstream.

Updated patch files using make makepatch

PR:			ports/199737
Submitted by:		marino
2015-05-01 16:25:48 +00:00
..
acfax
aldo - Remove USE_AUTOTOOLS 2014-10-05 13:22:06 +00:00
amtterm
anyremote Cleanup plist 2014-10-20 09:31:33 +00:00
aprsd 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
atslog Cleanup plist 2014-10-20 09:31:33 +00:00
bfhist
bforce Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
bforce-kst Cleanup plist 2014-10-20 09:31:33 +00:00
birda comms/birda: Unbreak fetch by adjusting MASTER_SITES 2015-04-11 11:41:01 +00:00
bluegps Rename comms/ patch-xy patches to reflect the files they modify. 2014-07-28 14:54:09 +00:00
bluez-firmware Cleanup plist 2014-10-20 09:31:33 +00:00
bpl+ Rename comms/ patch-xy patches to reflect the files they modify. 2014-07-28 14:54:09 +00:00
cdr_read Cleanup plist 2014-10-20 09:31:33 +00:00
chirp Fix broken pkg-plist 2015-03-14 02:35:42 +00:00
chu - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
comserv - Update to upstream version 1.4.4 2015-04-06 11:14:32 +00:00
concordance Update my ports to use my shurd@FreeBSD.org account 2014-06-18 20:18:11 +00:00
congruity Cleanup plist 2014-10-20 09:31:33 +00:00
conserver Rename comms/ patch-xy patches to reflect the files they modify. 2014-07-28 14:54:09 +00:00
conserver-com Add missing USE_OPENSSL=yes 2015-01-15 09:05:37 +00:00
cqrlog - Bump PORTREVISION. lazarus has been updated 2015-01-11 03:22:51 +00:00
cutecom
cwdaemon - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
dabstick-radio Unbreak these by mirroring distfiles on MASTER_SITE_LOCAL. 2015-04-10 18:53:28 +00:00
dcf77pi comms/dcf77pi: update to 3.3.0 2014-12-24 23:43:49 +00:00
deforaos-phone Cleanup plist 2014-10-20 09:31:33 +00:00
dfu-programmer
dfu-util comms/dfu-utils: Unbreak fetch 2015-04-09 13:07:13 +00:00
dump1090 Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices. 2015-03-05 02:32:08 +00:00
dump1090_mr USE_GITHUB: For the new support, fix DISTNAME to be more consistent. 2015-04-28 18:44:04 +00:00
ebook2cw - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
ebook2cwgui - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
echolinux 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
efax Cleanup plist 2014-10-20 09:31:33 +00:00
efax-gtk - Update x11-toolkits/c++-gtk-utils to version 2.2.10 2014-12-24 14:35:35 +00:00
ems-flasher Update the default version of GCC in the Ports Collection from GCC 4.7.4 2014-09-10 20:50:31 +00:00
esmska Remove explicit dependency on javavmwrapper for ports that USE_JAVA 2015-01-23 16:03:57 +00:00
fl_moxgen Cleanup plist 2014-10-20 09:31:33 +00:00
fldigi 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
fllog Update to 1.1.9, change maintainer to hamradio@ 2015-01-27 10:01:02 +00:00
flrig Fix build on 10 and HEAD 2015-04-28 17:36:29 +00:00
flwrap 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
gammu cleanup plist 2014-12-20 17:32:52 +00:00
ge-x2212 Update my ports to use my shurd@FreeBSD.org account 2014-06-18 20:18:11 +00:00
geoid - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
gkermit Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
gmfsk - Remove always true OSVERSION condition 2015-02-03 23:50:35 +00:00
gnocky Cleanup plist 2014-10-20 09:31:33 +00:00
gnokii 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
gnuradio Make fonts repecting XDG 2015-03-21 23:05:19 +00:00
gpredict Cleanup plist 2014-10-20 09:31:33 +00:00
gpsk31 Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
gqrx Add support for building with QT4 (but still use QT5 by default) 2014-12-31 13:44:39 +00:00
gr-osmosdr Remove @dirrm/@dirrmty from my ports 2014-10-13 07:12:43 +00:00
grig Cleanup plist 2014-10-20 09:31:33 +00:00
gscmxx Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
gsmlib 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
gstreamer1-plugins-spandsp Update Gstreamer framework to 1.4.5. 2014-12-22 10:22:38 +00:00
gtkmmorse Add USES=libtool to accessibility/atkmm and bump dependent ports 2014-09-01 19:34:02 +00:00
hamfax Cleanup plist 2014-10-20 09:31:33 +00:00
hamlib Add patch to allow building with an external toolchain. 2015-01-25 20:03:32 +00:00
hcidump Improve previous commit: Fix unused bug and disable Werror while here 2015-02-20 17:16:12 +00:00
hf 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
hidapi Convert to USES=autoreconf 2014-12-18 11:21:53 +00:00
hylafax Convert to USES=fakeroot 2014-12-17 16:13:33 +00:00
ibp - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
java-commapi
java-commapi-freebsd
jerm Remove Authors from pkg-descr 2015-03-02 23:09:43 +00:00
jsdr Unbreak these by mirroring distfiles on MASTER_SITE_LOCAL. 2015-04-10 18:53:28 +00:00
kb - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
kermit Update License 2014-12-04 23:38:02 +00:00
klog - Update MAINTAINER: use @FreeBSD.org 2015-03-12 17:12:19 +00:00
kremotecontrol Update KDE SC to 4.14.3 2015-03-11 23:11:47 +00:00
libconcord Update my ports to use my shurd@FreeBSD.org account 2014-06-18 20:18:11 +00:00
libfec Convert a bunch of USE_BZIP2 to USES=tar:bzip2 2014-07-29 18:41:15 +00:00
libimobiledevice - Update libplist to 1.11. 2014-09-28 22:58:51 +00:00
libirman - Drop .la files, no dependees require them 2014-08-20 12:28:10 +00:00
libmodbus comms/libmodbus: strip a library while install and remove @dirrmtry's 2014-09-22 14:28:15 +00:00
librs232 Update to 20150110. 2015-01-10 14:39:42 +00:00
libticables2 Cleanup plist 2014-10-20 09:31:33 +00:00
libticalcs2 Cleanup plist 2014-10-20 09:31:33 +00:00
libusbmuxd - Update libplist to 1.11. 2014-09-28 22:58:51 +00:00
linpsk - Update MAINTAINER: use @FreeBSD.org 2015-03-12 17:12:19 +00:00
linrad Fix linrad on latest gcc 2015-05-01 16:25:48 +00:00
lirc Convert to USES=autoreconf 2014-12-18 11:23:46 +00:00
locator - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
lrzsz
lysdr Update USE_GITHUB so it does not require GH_COMMIT. 2015-03-19 16:44:57 +00:00
mgetty+sendfax Cleanup plist 2014-10-20 09:31:33 +00:00
minicom Cleanup plist 2014-10-20 09:31:33 +00:00
mlan3 Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
morse Update my ports to use my shurd@FreeBSD.org account 2014-06-18 20:18:11 +00:00
nasawash - Fix nits found with portlint 2015-04-07 19:10:11 +00:00
ncid Cleanup plist 2014-10-20 09:31:33 +00:00
nec2c - Unbreak build using new distribution sites 2015-04-07 21:17:13 +00:00
nokryptia Convert some more USE_BZIP2 to USES=tar:bzip2 2014-07-29 21:43:17 +00:00
o2sms Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
obexapp Allow staging as a regular user 2014-09-05 18:33:06 +00:00
openobex Update devel/doxygen to 1.8.9 2014-12-31 06:45:10 +00:00
owfs gmake:lite is only intended to be used for possible gmake dependencies 2015-03-07 13:19:46 +00:00
p5-Cisco-UCS Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-Device-Gsm Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-Device-Modem Some OCD cleanups on some of the perl@ ports. 2015-03-12 23:00:02 +00:00
p5-Device-SerialPort Some OCD cleanups on some of the perl@ ports. 2015-03-12 23:00:02 +00:00
p5-Fax-Hylafax-Client Some OCD cleanups on some of the perl@ ports. 2015-03-12 23:00:02 +00:00
p5-Nexmo-SMS Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-DeviceGsm Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-NexmoUnicode Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-chtsns Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-emome Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-HiAir Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-PChome Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-Qma Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-ShareSMS Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-Send-TW-Socket2Air Change the way Perl modules are installed, update the default Perl to 5.18. 2014-11-26 13:08:24 +00:00
p5-SMS-SMS77 Make fetchable again, unbreak with Perl 5.21.0+. 2015-04-24 20:04:57 +00:00
pear-Horde_ActiveSync Horde package update: 2015-05-01 07:11:54 +00:00
pear-Horde_SyncMl Horde package update: 2014-12-03 21:43:07 +00:00
picocom
pr Cleanup plist 2014-10-20 09:31:33 +00:00
predict - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
py-bulksms Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
py-libconcord - Convert ports from cad/, chinese/, comms/ and converters/ to new 2014-10-19 07:50:53 +00:00
py-libimobiledevice - Update libplist to 1.11. 2014-09-28 22:58:51 +00:00
py-lirc - Convert ports from cad/, chinese/, comms/ and converters/ to new 2014-10-19 07:50:53 +00:00
py-serial Cleanup plist 2014-10-20 09:31:33 +00:00
pyla Cleanup plist 2014-11-13 14:32:39 +00:00
qico Cleanup plist 2014-10-20 09:31:33 +00:00
qpage Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
qrq 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
qsstv Update devel/doxygen to 1.8.9 2014-12-31 06:45:10 +00:00
qt5-serialport Update Qt5 ports to 5.3.2. 2014-11-05 09:39:21 +00:00
qtel Ressurect comms/qtel as a slave port of comms/svxlink 2015-01-07 12:16:26 +00:00
quisk Quisk Version 3.6.21 March 2015 2015-04-29 16:50:30 +00:00
remserial Move MASTER_SITES from CRITICAL to LOCAL/ehaupt 2015-01-06 09:36:42 +00:00
rtl-sdr Add support for HanfTek DVB-T 2015-02-03 11:08:59 +00:00
rubygem-callsign
rubygem-ruby-termios
rxtx - Don't use a strange prefix 2014-11-11 23:06:39 +00:00
scmxx converters/libiconv: 2015-04-15 08:20:27 +00:00
ser2net - Update to 2.10.0 2015-01-03 14:47:33 +00:00
serialoverip - Unbreak (no more CSME sites), switch to sf.net (upstream) at the expense 2015-04-12 16:30:12 +00:00
seyon Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
sms_client Cleanup plist 2014-10-20 09:31:33 +00:00
smstools3 Cleanup plist 2014-10-20 09:31:33 +00:00
soundmodem Update to 0.18. 2014-12-12 14:30:06 +00:00
spandsp - Update comms/spandsp to version 0.0.6 [1] 2014-12-15 18:46:58 +00:00
splat - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
sredird Cleanup plist 2014-10-20 09:31:33 +00:00
svxlink Update to 14.08 2015-01-07 12:12:22 +00:00
syncterm Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in 2014-12-08 16:48:38 +00:00
tcpser
telldus-core converters/libiconv: 2015-04-15 08:20:27 +00:00
thebridge add 'USES=shebangfix' to fix 'usermgmt.cgi' script. 2015-04-05 15:10:22 +00:00
tilp2 Cleanup plist 2014-10-20 09:31:33 +00:00
tits Remove Authors from pkg-descr 2015-03-02 23:09:43 +00:00
tkhylafax Cleanup plist 2014-10-20 09:31:33 +00:00
tkscanfax Cleanup plist 2014-10-20 09:31:33 +00:00
tlf 2 ports categories: Remove $PTHREAD_LIBS 2015-03-24 23:45:41 +00:00
trustedqsl Unbreak 2015-04-07 17:53:36 +00:00
twpsk Cleanup plist 2014-10-20 09:31:33 +00:00
uarduno Add device ID for the Arduino Micro 2014-06-22 21:16:04 +00:00
uartlirc (Attempt to) fix build on head after removal of @ symlink. (r274184) 2014-11-14 18:51:33 +00:00
uird Convert a bunch of EXTRACT_SUFX=... into USES=tar:... 2014-07-29 19:11:51 +00:00
unixcw Update to 3.4.1, fix pkg-descr URL 2015-01-05 13:39:52 +00:00
usbmuxd - Remove :build from USES=libtool because this port does not need 2014-10-01 11:28:44 +00:00
usrp Remove OSVERSION checks that do not make sense any more. 2015-04-03 11:26:48 +00:00
viewfax
vrflash Cleanup plist 2014-10-20 09:31:33 +00:00
wsjt Mark BROKEN: fails to configure 2015-04-12 10:22:18 +00:00
wspr Update py-numpy use in WsprMode/spectjt.py as well 2014-12-16 02:58:47 +00:00
wwl - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
wy60 Cleanup plist 2014-10-20 09:31:33 +00:00
xastir The port in comms/xastir is version 2.0.4 from 2012. A release 2.0.6 was 2015-04-05 15:16:59 +00:00
xcwcp Unbreak INDEX and ongoing bulks/exp-runs 2014-12-12 21:23:03 +00:00
xdx Cleanup plist 2014-10-20 09:31:33 +00:00
xlog - Update to 2.0.13 2015-04-23 13:52:39 +00:00
xmorse Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in 2014-12-08 16:48:38 +00:00
xnec2c Update to 3.2 2015-01-05 16:09:27 +00:00
xnecview Bump portrevision after png update 2014-12-25 20:54:41 +00:00
xwota - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
yagiuda - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
yaps - Simplify MASTER_SITES 2015-03-01 15:06:56 +00:00
yfklog - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
zmtx-zmrx Mark as broken unfetchable ports 2015-04-05 18:12:55 +00:00
zssh Fix build on -current. 2014-08-16 18:27:35 +00:00
Makefile New port: comms/dump1090_mr: 2015-04-04 19:57:02 +00:00