!17 Fix Ruby bindings for swig 4.1
From: @lyn1001 Reviewed-by: @wu-leilei Signed-off-by: @wu-leilei
This commit is contained in:
commit
84ef69a0c6
12
openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch
Normal file
12
openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up openwsman-2.7.1/bindings/ruby/helpers.h.orig openwsman-2.7.1/bindings/ruby/helpers.h
|
||||
--- openwsman-2.7.1/bindings/ruby/helpers.h.orig 2021-04-07 17:25:55.000000000 +0200
|
||||
+++ openwsman-2.7.1/bindings/ruby/helpers.h 2022-10-21 08:36:24.901459057 +0200
|
||||
@@ -47,7 +47,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#if SWIGVERSION > 0x020004
|
||||
+#if SWIG_VERSION > 0x020004
|
||||
#define KLASS_DECL(k,t) swig_class *k = (swig_class *)(t->clientdata)
|
||||
#define KLASS_OF(x) x->klass
|
||||
#else
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: openwsman
|
||||
Version: 2.6.5
|
||||
Release: 15
|
||||
Release: 16
|
||||
Summary: Opensource Implementation of WS-Management
|
||||
License: BSD-3-Clause and MIT
|
||||
URL: http://www.openwsman.org/
|
||||
@ -16,6 +16,7 @@ Patch0001: openwsman-2.4.12-ruby-binding-build.patch
|
||||
Patch0002: openwsman-2.6.2-openssl-1.1-fix.patch
|
||||
Patch0003: openwsman-2.6.5-fix-set-cipher-list-retval-check.patch
|
||||
Patch0004: openwsman-2.6.5-libcurl-error-codes-update.patch
|
||||
Patch0005: openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch
|
||||
Patch6000: CVE-2019-3833.patch
|
||||
Patch6001: 0001-Make-python-version-explitic-DBUILD_PYTHON3-or-DBUIL.patch
|
||||
|
||||
@ -259,6 +260,9 @@ rm -f /var/log/wsmand.log
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2023 liyanan <thistleslyn@163.com> - 2.6.5-16
|
||||
- Fix Ruby bindings for swig 4.1
|
||||
|
||||
* Tue May 10 2022 yaoxin <yaoxin30@h-partners.com> - 2.6.5-15
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user