[packages/wvstreams] - rediff patch - fix signed to unsigned comparison - rel 12

baggins baggins at pld-linux.org
Sun Oct 3 20:19:26 CEST 2021


commit 0eeb5153f7dc4f619e566bc968fd2002fc43831e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 3 20:19:02 2021 +0200

    - rediff patch
    - fix signed to unsigned comparison
    - rel 12

 unsigned.patch       | 11 +++++++++++
 wvstreams-sort.patch | 11 ++++++-----
 wvstreams.spec       |  4 +++-
 3 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/wvstreams.spec b/wvstreams.spec
index 00db352..f0ad61b 100644
--- a/wvstreams.spec
+++ b/wvstreams.spec
@@ -7,7 +7,7 @@ Summary:	A network programming library written in C++
 Summary(pl.UTF-8):	Biblioteka programowania sieciowego napisana w C++
 Name:		wvstreams
 Version:	4.6.1
-Release:	11
+Release:	12
 License:	LGPL v2
 Group:		Libraries
 #Source0Download: http://code.google.com/p/wvstreams/downloads/list
@@ -24,6 +24,7 @@ Patch7:		%{name}-4.6.1-make.patch
 Patch8:		%{name}-4.6.1-gcc47.patch
 Patch9:		%{name}-4.6.1-magic.patch
 Patch10:	gcc-6.patch
+Patch11:	unsigned.patch
 URL:		http://alumnit.ca/wiki/index.php?page=WvStreams
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	boost-devel
@@ -171,6 +172,7 @@ Obsługa WvStreams dla Valgrinda.
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 %build
 %{__autoconf}
diff --git a/unsigned.patch b/unsigned.patch
new file mode 100644
index 0000000..fc30442
--- /dev/null
+++ b/unsigned.patch
@@ -0,0 +1,11 @@
+--- wvstreams-4.6.1/xplc/moduleloader.cc~	2008-10-22 23:30:00.000000000 +0200
++++ wvstreams-4.6.1/xplc/moduleloader.cc	2021-10-03 20:15:45.663846139 +0200
+@@ -64,7 +64,7 @@
+ 
+   switch(moduleinfo->version_major) {
+ #ifdef UNSTABLE
+-  case -1:
++  case UINT_MAX:
+     /* nothing to do */
+     break;
+ #endif
diff --git a/wvstreams-sort.patch b/wvstreams-sort.patch
index ba67b20..271fb29 100644
--- a/wvstreams-sort.patch
+++ b/wvstreams-sort.patch
@@ -1,8 +1,9 @@
---- wvstreams-4.5/uniconf/uniconf.cc.orig	2008-12-27 01:37:56.000000000 +0000
-+++ wvstreams-4.5/uniconf/uniconf.cc	2008-12-27 01:38:05.000000000 +0000
-@@ -9,7 +9,7 @@
- #include "uniconfgen.h"
- #include "wvstream.h"
+diff -urNp -x '*.orig' wvstreams-4.6.1.org/uniconf/uniconf.cc wvstreams-4.6.1/uniconf/uniconf.cc
+--- wvstreams-4.6.1.org/uniconf/uniconf.cc	2008-12-17 13:32:09.000000000 +0100
++++ wvstreams-4.6.1/uniconf/uniconf.cc	2021-10-03 20:11:39.537542995 +0200
+@@ -11,7 +11,7 @@
+ #include <climits>
+ #include <algorithm>
  #include <assert.h>
 -
 +#include <algorithm>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wvstreams.git/commitdiff/0eeb5153f7dc4f619e566bc968fd2002fc43831e



More information about the pld-cvs-commit mailing list