rpms/cstream/F-10 cstream-2.7.6-Wextra.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 cstream.spec, 1.2, 1.3 sources, 1.3, 1.4 cstream-2.7.4-Wextra.patch, 1.1, NONE

Hans Ulrich Niedermann ndim at fedoraproject.org
Sat Dec 20 13:46:29 UTC 2008


Author: ndim

Update of /cvs/pkgs/rpms/cstream/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15364

Modified Files:
	.cvsignore cstream.spec sources 
Added Files:
	cstream-2.7.6-Wextra.patch 
Removed Files:
	cstream-2.7.4-Wextra.patch 
Log Message:
* Sat Dec 20 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.6-1
- Update to upstream's 2.7.6 release.


cstream-2.7.6-Wextra.patch:

--- NEW FILE cstream-2.7.6-Wextra.patch ---
--- cstream-2.7.6/cstream.c	2008-12-19 22:38:37.000000000 +0100
+++ cstream-2.7.6-Wextra/cstream.c	2008-12-20 11:21:12.000000000 +0100
@@ -97,6 +97,7 @@
 #else
 #ifdef HAVE_SYS_SOUNDCARD_H
 #include <sys/soundcard.h>
+#include <sys/ioctl.h>
 #define WANT_SOUND 1
 #else
 #ifdef HAVE_LINUX_SOUNDCARD_H
@@ -271,7 +272,10 @@
 
 static void sighup(int signal)
 {
-  write(2, "SIGHUP\n", sizeof("SIGHUP\n")-1);
+  ssize_t s = write(STDERR_FILENO, "SIGHUP\n", sizeof("SIGHUP\n")-1);
+  if (s != sizeof("SIGHUP\n")) {
+    /* ignore write error */
+  }
   n_sighups++;
 }
 
@@ -395,7 +399,7 @@
   const char *spec;
   int newfd;
   struct sockaddr_in serv_addr;
-  int *size;
+  socklen_t *size;
 
   if (mode == O_WRONLY) {
     spec = o->o;
@@ -525,7 +529,7 @@
     } *it, funcs[3] = {
       {getsockname, "getsockname", "Local binding"},
       {getpeername, "getpeername", "Remote binding"},
-      {NULL}
+      {NULL, NULL, NULL}
     };
     union {
       struct sockaddr sa;


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cstream/F-10/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	4 Dec 2008 00:24:18 -0000	1.3
+++ .cvsignore	20 Dec 2008 13:45:59 -0000	1.4
@@ -1,2 +1 @@
-cstream-2.7.5.tar.gz
-cstream-2.7.5-Wextra.patch
+cstream-2.7.6.tar.gz


Index: cstream.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cstream/F-10/cstream.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cstream.spec	4 Dec 2008 00:24:18 -0000	1.2
+++ cstream.spec	20 Dec 2008 13:45:59 -0000	1.3
@@ -1,6 +1,6 @@
 Summary:   General-purpose stream-handling tool
 Name:      cstream
-Version:   2.7.5
+Version:   2.7.6
 Release:   1%{?dist}
 
 Group:     Applications/System
@@ -52,6 +52,9 @@
 
 
 %changelog
+* Sat Dec 20 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.6-1
+- Update to upstream's 2.7.6 release.
+
 * Sat Feb 09 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.5-1
 - Update to upstream's 2.7.5 release.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cstream/F-10/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	4 Dec 2008 00:24:18 -0000	1.3
+++ sources	20 Dec 2008 13:45:59 -0000	1.4
@@ -1,2 +1 @@
-1aa292f0a05ebc3b512820d3241e5a42  cstream-2.7.5.tar.gz
-06c7f6f6e027f51599370d2e673d0f2e  cstream-2.7.5-Wextra.patch
+8815126c63aa7034197effb1544a1ccc  cstream-2.7.6.tar.gz


--- cstream-2.7.4-Wextra.patch DELETED ---




More information about the fedora-extras-commits mailing list