diff --git a/openwsman-2.7.2-fix-ftbfs.patch b/openwsman-2.7.2-fix-ftbfs.patch new file mode 100644 index 0000000000000000000000000000000000000000..b30b3cfc7273e2792dcaf3df2d6dd8ca3f464333 --- /dev/null +++ b/openwsman-2.7.2-fix-ftbfs.patch @@ -0,0 +1,12 @@ +diff -up openwsman-2.7.2/bindings/openwsman.i.orig openwsman-2.7.2/bindings/openwsman.i +--- openwsman-2.7.2/bindings/openwsman.i.orig 2024-01-22 09:36:42.764721705 +0100 ++++ openwsman-2.7.2/bindings/openwsman.i 2024-01-22 09:37:29.970817151 +0100 +@@ -109,7 +109,7 @@ SWIGINTERNINLINE SV *SWIG_From_double S + + %typemap(in) FILE* { + #if RUBY_VERSION > 18 +- struct rb_io_t *fptr; ++ struct rb_io *fptr; + #else + struct OpenFile *fptr; + #endif diff --git a/openwsman.spec b/openwsman.spec index 634576fe098c74a536dce1c031390be0296818d9..ffc66e284321e1f50858f481b3d037cde4be8fad 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global gem_name %{name} %global with_selinux 1 @@ -35,6 +35,7 @@ Patch2: openwsman-2.4.12-ruby-binding-build.patch Patch3: openwsman-2.6.2-openssl-1.1-fix.patch Patch4: openwsman-2.6.5-http-status-line.patch Patch5: openwsman-2.6.8-update-ssleay-conf.patch +Patch6: openwsman-2.7.2-fix-ftbfs.patch BuildRequires: make BuildRequires: swig BuildRequires: libcurl-devel libxml2-devel pam-devel sblim-sfcc-devel @@ -414,6 +415,9 @@ fi %doc AUTHORS ChangeLog README.md %changelog +* Fri Oct 24 2025 Yihao Yan - 2.7.2-3 +- fix building against gcc 14 + * Tue Apr 01 2025 Xiaoping Liu - 2.7.2-2 - Rebuild with new ruby