pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/phone



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Feb  7 23:55:05 UTC 2017

Modified Files:
        pkgsrc/chat/phone: distinfo
        pkgsrc/chat/phone/patches: patch-conv_convd.c

Log Message:
Deal with non-value-preserving casts.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/chat/phone/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/phone/patches/patch-conv_convd.c

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

Modified files:

Index: pkgsrc/chat/phone/distinfo
diff -u pkgsrc/chat/phone/distinfo:1.9 pkgsrc/chat/phone/distinfo:1.10
--- pkgsrc/chat/phone/distinfo:1.9      Sat Nov  7 22:19:46 2015
+++ pkgsrc/chat/phone/distinfo  Tue Feb  7 23:55:05 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2015/11/07 22:19:46 dholland Exp $
+$NetBSD: distinfo,v 1.10 2017/02/07 23:55:05 joerg Exp $
 
 SHA1 (phone-2.0nb1/phone-2.0.tar.gz) = 0d89cc63225ee96d821dd3d8ab310ac5ea69b40a
 RMD160 (phone-2.0nb1/phone-2.0.tar.gz) = c43ac0cd5de357cfb5dee1ac1546f2c2926be6ab
@@ -8,7 +8,7 @@ SHA1 (patch-client_Makefile) = 8f501f4dc
 SHA1 (patch-client_defs.h) = a2f807945ff17d0f3664789bbe94487e8e31672c
 SHA1 (patch-client_misc.c) = 70ce9dec31c95d63eabb17e9c618e91d7c49fd86
 SHA1 (patch-conv_Makefile) = fdacf30c339aecaf2326da956196e65bf6c8fe47
-SHA1 (patch-conv_convd.c) = 627f5a0d604857681c6c41d999a8ccafb488b316
+SHA1 (patch-conv_convd.c) = 7f1ea576cceff2425daf7fbb99d29101ac7f1492
 SHA1 (patch-master_Makefile) = 07215108e5ae85c62c5a06a195e95a804776c8e3
 SHA1 (patch-master_defs.h) = c9d79711b28d629dbe9c1493f2467faf915ee9be
 SHA1 (patch-master_page.c) = db2af3cb4069384e8159c8eaad43587280630954

Index: pkgsrc/chat/phone/patches/patch-conv_convd.c
diff -u pkgsrc/chat/phone/patches/patch-conv_convd.c:1.2 pkgsrc/chat/phone/patches/patch-conv_convd.c:1.3
--- pkgsrc/chat/phone/patches/patch-conv_convd.c:1.2    Thu Jun 25 07:02:42 2015
+++ pkgsrc/chat/phone/patches/patch-conv_convd.c        Tue Feb  7 23:55:05 2017
@@ -1,7 +1,9 @@
-$NetBSD: patch-conv_convd.c,v 1.2 2015/06/25 07:02:42 dholland Exp $
+$NetBSD: patch-conv_convd.c,v 1.3 2017/02/07 23:55:05 joerg Exp $
 
 - Don't rely on __unused from netbsd's <cdefs.h> existing.
 - Remove unused variable that causes build failure with gcc48.
+- Add explicit casts if the constants are not value preserved
+  on signed char platforms.
 
 --- conv/convd.c.orig  2013-01-02 23:00:43.000000000 +0000
 +++ conv/convd.c
@@ -32,3 +34,21 @@ $NetBSD: patch-conv_convd.c,v 1.2 2015/0
  
      signal(SIGPIPE, SIG_IGN);  /* we'll find out soon enough */
      signal(SIGALRM, sigalrm);  /* to handle timeout */
+@@ -357,7 +359,7 @@ intro(int fd)
+     char     sc;              /* used for slot number selection */
+ 
+     /* tell user not to update screen until done with intro */
+-    sc = META | UPDATE | 00;  
++    sc = (char)(META | UPDATE | 00);
+     write(fd, &sc, 1);
+ 
+     /* first go through and add all the windows */
+@@ -404,7 +406,7 @@ intro(int fd)
+     }
+ 
+     /* now he can update the screen */
+-    sc = META | UPDATE | 01;
++    sc = (char)(META | UPDATE | 01);
+     write(fd, &sc, 1);
+ }
+ 



Home | Main Index | Thread Index | Old Index