svn commit: r362380 - in head/comms/dcf77pi: . files
Rene Ladan
rene at FreeBSD.org
Sun Jul 20 21:59:07 UTC 2014
Author: rene
Date: Sun Jul 20 21:59:06 2014
New Revision: 362380
URL: http://svnweb.freebsd.org/changeset/ports/362380
QAT: https://qat.redports.org/buildarchive/r362380/
Log:
comms/dcf77pi: apply upstream patch to fix display bug when realfreq is reset
Added:
head/comms/dcf77pi/files/
head/comms/dcf77pi/files/patch-d3ab071 (contents, props changed)
Modified:
head/comms/dcf77pi/Makefile
Modified: head/comms/dcf77pi/Makefile
==============================================================================
--- head/comms/dcf77pi/Makefile Sun Jul 20 21:47:42 2014 (r362379)
+++ head/comms/dcf77pi/Makefile Sun Jul 20 21:59:06 2014 (r362380)
@@ -3,6 +3,7 @@
PORTNAME= dcf77pi
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= comms
MAINTAINER= rene at FreeBSD.org
@@ -16,6 +17,7 @@ GH_COMMIT= d441662
USES= ncurses
+PATCH_STRIP= -p1
PORTDOCS= README.md
INSTALL_TARGET= install-strip
Added: head/comms/dcf77pi/files/patch-d3ab071
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/dcf77pi/files/patch-d3ab071 Sun Jul 20 21:59:06 2014 (r362380)
@@ -0,0 +1,22 @@
+commit d3ab071432f052c799dc5c77035913423abd16c4
+Author: René Ladan <r.c.ladan at gmail.com>
+Date: Sun Jul 20 12:44:57 2014 +0200
+
+ dcf77pi: fix display of freq_reset
+
+diff --git a/dcf77pi.c b/dcf77pi.c
+index 2e46911..ce61d51 100644
+--- a/dcf77pi.c
++++ b/dcf77pi.c
+@@ -218,9 +218,9 @@ display_bit_gui(uint16_t state, int bitpos)
+ bitinf->realfreq, (int)bitinf->bit0, (int)bitinf->bit20,
+ bitinf->maxone * 100, bitinf->a);
+ if (bitinf->freq_reset)
+- mvwchgat(input_win, 3, 24, 8, A_BOLD, 3, NULL);
++ mvwchgat(input_win, 3, 22, 8, A_BOLD, 3, NULL);
+ else
+- mvwchgat(input_win, 3, 24, 8, A_NORMAL, 7, NULL);
++ mvwchgat(input_win, 3, 22, 8, A_NORMAL, 7, NULL);
+
+ mvwprintw(input_win, 3, 1, "%2u", bitpos);
+
More information about the svn-ports-all
mailing list