openwsman/openwsman-2.7.1-fix-ruby-bindings-for-swig-41.patch
Vitezslav Crhonek d81a62d50b Fix Ruby bindings for swig 4.1
Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
2022-10-21 08:56:44 +02:00

13 lines
454 B
Diff

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