summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2022-01-01 19:46:53 -0700
committernot_anonymous2022-01-01 19:46:53 -0700
commitf247b7740aac58006efac3c154a5636c5c0e57d3 (patch)
tree915da97c3f47fa62b5a0e068a7bbc32b196637e4
parentaba1d5828ac9a3011ad4d402cff2174744b62918 (diff)
downloadaur-f247b7740aac58006efac3c154a5636c5c0e57d3.tar.gz
Updated
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
-rw-r--r--warnings-as-errors.patch61
3 files changed, 74 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5f38cb46ec3..cd09a9c6c28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qrq
pkgdesc = CW trainer for Linux/Unix - similar to the DOS Classic RUFZ
pkgver = 0.3.3
- pkgrel = 1
+ pkgrel = 2
url = http://fkurz.net/ham/qrq.html
arch = i686
arch = x86_64
@@ -15,12 +15,14 @@ pkgbase = qrq
source = http://fkurz.net/ham/qrq/qrq-0.3.3.tar.gz
source = qrq.desktop
source = qrq.1
+ source = warnings-as-errors.patch
md5sums = 989164c23fe3427452dd5815aa380b54
md5sums = cded2f3c98941155a3d25166d8c2c3cd
md5sums = cf71bf05a420e3b541e0235e08dd2b2e
+ md5sums = 3ffe806a1feeb94176892f9f58937c6f
sha256sums = 306ef7f8e0bbb16bdddc58a5d9c357e9b05c1a5c8a52680e5bae093a4064e945
sha256sums = cebb10477dabc2ea20937a1b1aafcbacc751bb9a2b62992712c473a4f737860e
sha256sums = 034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848
+ sha256sums = add84ef146cad9aff58f22d013413fa51e724062c8aed1c350718af399a97126
pkgname = qrq
-
diff --git a/PKGBUILD b/PKGBUILD
index 716c72841fd..5b80fe92426 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=qrq
pkgver=0.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="CW trainer for Linux/Unix - similar to the DOS Classic RUFZ"
arch=('i686' 'x86_64')
url="http://fkurz.net/ham/qrq.html"
@@ -15,7 +15,8 @@ optdepends=('gnuplot: to graph score vs. date'
'perl-libwww: to upload scores 2 database')
source=(http://fkurz.net/ham/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.desktop
- $pkgname.1)
+ $pkgname.1
+ warnings-as-errors.patch)
build() {
cd $srcdir/$pkgname-$pkgver
@@ -23,6 +24,8 @@ build() {
sed -i "s|USE_PA=YES|USE_PA=NO|" Makefile
sed -i "s|OSX_BUNDLE=YES|OSX_BUNDLE=NO|" Makefile
+ patch < ../warnings-as-errors.patch
+
make
}
@@ -40,7 +43,9 @@ package() {
}
md5sums=('989164c23fe3427452dd5815aa380b54'
'cded2f3c98941155a3d25166d8c2c3cd'
- 'cf71bf05a420e3b541e0235e08dd2b2e')
+ 'cf71bf05a420e3b541e0235e08dd2b2e'
+ '3ffe806a1feeb94176892f9f58937c6f')
sha256sums=('306ef7f8e0bbb16bdddc58a5d9c357e9b05c1a5c8a52680e5bae093a4064e945'
'cebb10477dabc2ea20937a1b1aafcbacc751bb9a2b62992712c473a4f737860e'
- '034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848')
+ '034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848'
+ 'add84ef146cad9aff58f22d013413fa51e724062c8aed1c350718af399a97126')
diff --git a/warnings-as-errors.patch b/warnings-as-errors.patch
new file mode 100644
index 00000000000..ed7e92689cc
--- /dev/null
+++ b/warnings-as-errors.patch
@@ -0,0 +1,61 @@
+Fixed Typo: not_anonymous <nmlibertarian@gmail.com>
+Author: tony mancill <tmancill@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997190
+Forwarded: no
+
+--- qrq.c
++++ qrq.c
+@@ -259,7 +259,7 @@
+ printw("\nReading callsign database... ");
+ nrofcalls = read_callbase();
+
+- printw("done. %d calls read.\n\n", nrofcalls);
++ printw("done. %ld calls read.\n\n", nrofcalls);
+ printw("Press any key to continue...");
+
+ refresh();
+@@ -763,7 +763,7 @@
+ " u", (unlimitedattempt ? "yes" : "no"));
+ if (!callnr) {
+ mvwprintw(conf_w,11,2, "Callsign database: %-15s"
+- " d (%d)", basename(cbfilename),nrofcalls);
++ " d (%ld)", basename(cbfilename),nrofcalls);
+ }
+ #ifdef OSS
+ mvwprintw(conf_w,12,2, "DSP device: %-15s"
+@@ -1070,7 +1070,7 @@
+ }
+
+ mvwprintw(mid_w,13,1, " Written detailled summary of this attempt to:");
+- mvwprintw(mid_w,14,2, filename);
++ mvwprintw(mid_w,14,2, "%s", filename);
+ wrefresh(mid_w);
+
+ }
+@@ -1083,7 +1083,7 @@
+ mvwprintw(top_w, 1, 27, "%6d", score);
+ }
+ else {
+- mvwprintw(top_w, 1, 27, "[training mode]", score);
++ mvwprintw(top_w, 1, 27, "[training mode]");
+ }
+ mvwprintw(top_w, 2, 27, "%3d", speed);
+ mvwprintw(top_w, 2, 35, "%3d", speed/5);
+@@ -1392,7 +1392,7 @@
+ }
+ tmp[i]='\0';
+ samplerate = atoi(tmp);
+- printw(" line %2d: sample rate: %d\n", line, samplerate);
++ printw(" line %2d: sample rate: %ld\n", line, samplerate);
+ }
+ }
+
+@@ -1894,7 +1894,7 @@
+ exit(EXIT_FAILURE);
+ }
+ printw("Files copied. You might want to edit "
+- "qrqrc according to your needs.\n", homedir);
++ "qrqrc according to your needs.\n");
+ strcpy(rcfilename, homedir);
+ strcat(rcfilename, "/.qrq/qrqrc");
+ strcpy(tlfilename, homedir);