pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/linpsk



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Dec 25 21:45:09 UTC 2016

Modified Files:
        pkgsrc/ham/linpsk: distinfo
        pkgsrc/ham/linpsk/patches: patch-ac patch-af patch-ai
            patch-src_csound.cpp

Log Message:
Don't expect pointers to have a sign.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/ham/linpsk/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/ham/linpsk/patches/patch-ac \
    pkgsrc/ham/linpsk/patches/patch-ai
cvs rdiff -u -r1.3 -r1.4 pkgsrc/ham/linpsk/patches/patch-af
cvs rdiff -u -r1.1 -r1.2 pkgsrc/ham/linpsk/patches/patch-src_csound.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/linpsk/distinfo
diff -u pkgsrc/ham/linpsk/distinfo:1.11 pkgsrc/ham/linpsk/distinfo:1.12
--- pkgsrc/ham/linpsk/distinfo:1.11     Mon Nov  2 23:57:24 2015
+++ pkgsrc/ham/linpsk/distinfo  Sun Dec 25 21:45:09 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/02 23:57:24 agc Exp $
+$NetBSD: distinfo,v 1.12 2016/12/25 21:45:09 joerg Exp $
 
 SHA1 (linpsk-0.8.1.tar.gz) = d55d8c793ecd3a4395603ebdd8e795f1dc4d20f9
 RMD160 (linpsk-0.8.1.tar.gz) = 975bbdfc0b63e516f1d5fdfe6baf10fa12899219
@@ -6,12 +6,12 @@ SHA512 (linpsk-0.8.1.tar.gz) = c2488b08d
 Size (linpsk-0.8.1.tar.gz) = 435463 bytes
 SHA1 (patch-aa) = ac3c504022d495c619056ad0e5fd7b8e9ff6f71c
 SHA1 (patch-ab) = 0cc21222e30d9122657e5c373b19af15c39eb883
-SHA1 (patch-ac) = 5be307963474f6879490185b47bed6e50dd51ffe
+SHA1 (patch-ac) = 2cc23f7f42af6df2d3af0ba68713be013361efab
 SHA1 (patch-ad) = d9a62afada11b17730e4457e73fef7e21b8bee62
-SHA1 (patch-af) = 785bf818f14b1e733321a8e6cc0f998883cffe4a
+SHA1 (patch-af) = 42d771ce553c28161d9b3150ccf27cf307c46a54
 SHA1 (patch-ag) = 490d53c18ec1cb3961e7d49ec8f551c386bcec6a
-SHA1 (patch-ai) = 192112a67a4ad8d70d4f71fbb1390a1fb26d7496
-SHA1 (patch-src_csound.cpp) = 38897d8b3b07bb3e05215a2b5d49f7aa1d02c451
+SHA1 (patch-ai) = 89f07e76e87929fff4d16ca23725168c4e4ce215
+SHA1 (patch-src_csound.cpp) = 83051275a23627adc242b46661c2d4f844558eee
 SHA1 (patch-src_csound.h) = 7d7d367ee152afc8bbf7cd3e8bf3179f1d911dcc
 SHA1 (patch-src_portaudio_pa__unix__oss.c) = eb3303ed554921d98c869c457172f7f346a7b850
 SHA1 (patch-src_textinput.cpp) = e9a3881bad34d56da61881d23a7ee2b6cc52f6bb

Index: pkgsrc/ham/linpsk/patches/patch-ac
diff -u pkgsrc/ham/linpsk/patches/patch-ac:1.2 pkgsrc/ham/linpsk/patches/patch-ac:1.3
--- pkgsrc/ham/linpsk/patches/patch-ac:1.2      Mon Aug 15 14:03:53 2005
+++ pkgsrc/ham/linpsk/patches/patch-ac  Sun Dec 25 21:45:09 2016
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2005/08/15 14:03:53 wulf Exp $
+$NetBSD: patch-ac,v 1.3 2016/12/25 21:45:09 joerg Exp $
 
---- src/crxdisplay.cpp.orig    2005-03-12 03:49:18.000000000 +1030
-+++ src/crxdisplay.cpp 2005-08-15 05:36:46.000000000 +0930
+--- src/crxdisplay.cpp.orig    2005-03-11 17:19:18.000000000 +0000
++++ src/crxdisplay.cpp
 @@ -27,7 +27,7 @@
  #include <qstyle.h>
  #include <qpalette.h>
@@ -11,7 +11,12 @@ $NetBSD: patch-ac,v 1.2 2005/08/15 14:03
  
  #include "crecording.h"
  #include "crxchannel.h"
-@@ -68,7 +68,7 @@
+@@ -64,11 +64,11 @@ void MyTabBar::paintLabel ( QPainter *p,
+         flags |= QStyle::Style_HasFocus;
+ 
+   QColorGroup Cg=colorGroup();
+-    if (Farbe > 0)
++    if (Farbe)
       {
         int position=t->identifier();
         if ( position >= 0 && position < Farbe->size() ) 
@@ -20,3 +25,12 @@ $NetBSD: patch-ac,v 1.2 2005/08/15 14:03
       } 
      style().drawControl( QStyle::CE_TabBarLabel, p, this, br,
                            Cg,
+@@ -236,7 +236,7 @@ if ( Sound == 0 )
+       Sound = new CSound(settings.serial);
+     
+   }
+-if ( Sound <= 0 )
++if ( Sound == 0 )
+   return false;
+ m_pDec2InPtr=dec2fir;
+ 
Index: pkgsrc/ham/linpsk/patches/patch-ai
diff -u pkgsrc/ham/linpsk/patches/patch-ai:1.2 pkgsrc/ham/linpsk/patches/patch-ai:1.3
--- pkgsrc/ham/linpsk/patches/patch-ai:1.2      Mon Aug 15 14:03:53 2005
+++ pkgsrc/ham/linpsk/patches/patch-ai  Sun Dec 25 21:45:09 2016
@@ -1,7 +1,7 @@
-$NetBSD: patch-ai,v 1.2 2005/08/15 14:03:53 wulf Exp $
+$NetBSD: patch-ai,v 1.3 2016/12/25 21:45:09 joerg Exp $
 
---- src/spectrumdisplay.cpp.orig       2005-03-13 20:32:03.000000000 +1030
-+++ src/spectrumdisplay.cpp    2005-08-15 07:24:05.000000000 +0930
+--- src/spectrumdisplay.cpp.orig       2005-03-13 10:02:03.000000000 +0000
++++ src/spectrumdisplay.cpp
 @@ -21,6 +21,8 @@
  #include <qpainter.h>
  #include <qsplitter.h>
@@ -11,7 +11,12 @@ $NetBSD: patch-ai,v 1.2 2005/08/15 14:03
  #include "spectrumdisplay.h"
  #include "crxchannel.h"
  #include "parameter.h"
-@@ -178,7 +180,7 @@
+@@ -174,11 +176,11 @@ p.setBrush(white);
+ 
+   for (CRxChannel *pRx=settings.ChannelChain;pRx != 0;pRx= pRx->getNextChannel())
+   {
+-    if ( Farbe > 0)
++    if ( Farbe )
       {
         int ID = pRx->getID();
         if ( ID >= 0 && ID < Farbe->size() )

Index: pkgsrc/ham/linpsk/patches/patch-af
diff -u pkgsrc/ham/linpsk/patches/patch-af:1.3 pkgsrc/ham/linpsk/patches/patch-af:1.4
--- pkgsrc/ham/linpsk/patches/patch-af:1.3      Tue Jul  3 18:06:38 2012
+++ pkgsrc/ham/linpsk/patches/patch-af  Sun Dec 25 21:45:09 2016
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.3 2012/07/03 18:06:38 joerg Exp $
+$NetBSD: patch-af,v 1.4 2016/12/25 21:45:09 joerg Exp $
 
 --- src/linpsk.cpp.orig        2005-03-11 17:21:20.000000000 +0000
 +++ src/linpsk.cpp
@@ -20,6 +20,24 @@ $NetBSD: patch-af,v 1.3 2012/07/03 18:06
    settings.RxChannels++;
    RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties());
    }
+@@ -505,7 +507,7 @@ if ( Modulator != 0 )
+    }   
+ else  
+   {
+-    if (Sound > 0)
++    if (Sound)
+      Sound->PTT(false); 
+     if (RxDisplay->start_process_loop())
+      {
+@@ -602,7 +604,7 @@ if (settings.DemoMode)
+ else
+    Sound = new CSound(settings.serial);
+ 
+-if ( Sound <= 0 )
++if ( Sound == 0 )
+   {
+     QMessageBox::critical(0," Programm Error! LinPsk","Could not create Sound Device for Output");
+     TxDisplay->TxFunctions->RXTX->setStatus(ON);
 @@ -781,7 +783,8 @@ if (Param != 0)
      RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties());
      RxDisplay->RxFreq->setAfcMode(settings.ActChannel->getAfcMode());

Index: pkgsrc/ham/linpsk/patches/patch-src_csound.cpp
diff -u pkgsrc/ham/linpsk/patches/patch-src_csound.cpp:1.1 pkgsrc/ham/linpsk/patches/patch-src_csound.cpp:1.2
--- pkgsrc/ham/linpsk/patches/patch-src_csound.cpp:1.1  Sat Mar  2 18:06:22 2013
+++ pkgsrc/ham/linpsk/patches/patch-src_csound.cpp      Sun Dec 25 21:45:09 2016
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_csound.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $
+$NetBSD: patch-src_csound.cpp,v 1.2 2016/12/25 21:45:09 joerg Exp $
 
---- src/csound.cpp.orig        2013-02-28 22:13:24.000000000 +0000
+--- src/csound.cpp.orig        2005-02-20 10:05:46.000000000 +0000
 +++ src/csound.cpp
 @@ -81,7 +81,7 @@ return 0; 
    
@@ -11,3 +11,12 @@ $NetBSD: patch-src_csound.cpp,v 1.1 2013
  {
  stream=0;
  audio_buffer.maxbuf=3*BUF_SIZE; // We take 3 buffers
+@@ -92,7 +92,7 @@ output=false;
+ }
+ CSound::~CSound()
+ {
+-if ( audio_buffer.audiobuffer >0)
++if ( audio_buffer.audiobuffer )
+       delete audio_buffer.audiobuffer;
+ }
+ 



Home | Main Index | Thread Index | Old Index