- Update to version 4.6.1 - Upstream does not provide a changelog - Add patches: * 0001-Fix-narrowing-conversion-error.patch * 0001-Use-explicit-cast-and-prevent-compiler-error.patch * wvstreams-4.6.1-fix-stack-size.patch * wvstreams-4.6.1-gcc10.patch * wvstreams-4.6.1-gcc47.patch * wvstreams-4.6.1-magic.patch * wvstreams-4.6.1-make.patch * wvstreams-4.6.1-multilib.patch * wvstreams-4.6.1-openssl11.patch * wvstreams-4.6.1-statinclude.patch * wvstreams-4.6.1-use_DEFAULT_SOURCE.patch - Delete patches: * 73045.diff * sentinel.diff * set-empty.diff * wvcrash.diff * wvstreams-buildcompare.patch * wvstreams-fixrace.patch * wvstreams-gcc43.patch * wvstreams-gcc47.patch * wvstreams-headers.patch * wvstreams-wvmodem-iotcl.patch OBS-URL: https://build.opensuse.org/request/show/957628 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wvstreams?expand=0&rev=32
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
From c86c524f951f6e973473bfee76fd5366368b2cbc Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Wed, 25 Dec 2019 09:32:41 -0800
|
|
Subject: [PATCH] Fix narrowing conversion error
|
|
|
|
xplc/moduleloader.cc: In static member function 'static Module* Module::loadModule(const char*)': xplc/moduleloader.cc:67:14: error: narrowing conversion of '-1' from 'int' to 'unsigned int' [-Wnarrowing] 67 | case (int)-1: | ^
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
xplc/moduleloader.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/xplc/moduleloader.cc b/xplc/moduleloader.cc
|
|
index 02dd9a4..c53f5d2 100644
|
|
--- a/xplc/moduleloader.cc
|
|
+++ b/xplc/moduleloader.cc
|
|
@@ -62,7 +62,7 @@ Module* Module::loadModule(const char* modulename) {
|
|
return NULL;
|
|
}
|
|
|
|
- switch(moduleinfo->version_major) {
|
|
+ switch((int)moduleinfo->version_major) {
|
|
#ifdef UNSTABLE
|
|
case -1:
|
|
/* nothing to do */
|
|
--
|
|
2.24.1
|
|
|