Index: head/comms/linpsk/Makefile =================================================================== --- head/comms/linpsk/Makefile (revision 433442) +++ head/comms/linpsk/Makefile (revision 433443) @@ -1,32 +1,33 @@ # $FreeBSD$ PORTNAME= linpsk PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hamradio@FreeBSD.org COMMENT= Simple Qt PSK31, RTTY, and MSK31 client LIB_DEPENDS= libfftw3.so:math/fftw3 \ libasound.so:audio/alsa-lib USES= qmake tar:tgz USE_QT4= gui network corelib moc_build uic_build rcc_build qmake_build DESKTOP_ENTRIES="LinPsk" "${COMMENT}" \ "${DATADIR}/linpsk.png" "linpsk" "Audio;HamRadio;" \ false PLIST_FILES= bin/linpsk \ %%DATADIR%%/linpsk.png post-patch: ${REINPLACE_CMD} -e 's|qPixmapFromMimeSource||g' \ ${WRKSRC}/gui/*.ui post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/images/linpsk.png ${STAGEDIR}${DATADIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/linpsk .include Index: head/comms/linpsk/files/patch-gui_crxdisplay.cpp =================================================================== --- head/comms/linpsk/files/patch-gui_crxdisplay.cpp (nonexistent) +++ head/comms/linpsk/files/patch-gui_crxdisplay.cpp (revision 433443) @@ -0,0 +1,13 @@ +Fix bogus pointer comparison. + +--- gui/crxdisplay.cpp.orig 2017-01-22 12:03:47 UTC ++++ gui/crxdisplay.cpp +@@ -98,7 +98,7 @@ bool CRxDisplay::start_process_loop() + } + else + Sound = new CSound ( settings.serial ); +- if ( Sound <= NULL ) ++ if ( !Sound ) + return false; + + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_rxdata() ) ); Property changes on: head/comms/linpsk/files/patch-gui_crxdisplay.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/linpsk/files/patch-gui_linpsk.cpp =================================================================== --- head/comms/linpsk/files/patch-gui_linpsk.cpp (nonexistent) +++ head/comms/linpsk/files/patch-gui_linpsk.cpp (revision 433443) @@ -0,0 +1,22 @@ +Fix bogus pointer comparison. + +--- gui/linpsk.cpp.orig 2017-01-22 12:03:55 UTC ++++ gui/linpsk.cpp +@@ -387,7 +387,7 @@ void LinPSK::startTx() + Info = "BPSK"; + break; + } +- if ( Sound <= NULL ) // Only create Sound Device once for output ++ if ( !Sound ) // Only create Sound Device once for output + { + if ( settings.DemoMode ) + { +@@ -401,7 +401,7 @@ void LinPSK::startTx() + Sound = new CSound ( settings.serial ); + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_txdata() ) ); + } +- if ( Sound <= NULL ) ++ if ( !Sound ) + { + QMessageBox::critical ( 0, " Programm Error! LinPsk", "Could not create Sound Device for Output" ); + TxDisplay->TxFunctions->setStatus ( ON ); Property changes on: head/comms/linpsk/files/patch-gui_linpsk.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property