public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libvmi] rawhide: Update to Git master
@ 2026-06-07 23:09 W. Michael Petullo
  0 siblings, 0 replies; only message in thread
From: W. Michael Petullo @ 2026-06-07 23:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libvmi
            Branch : rawhide
            Commit : da8fc45f404ca3ac3fcc8fa10c6f9f56148498db
            Author : W. Michael Petullo <mike@flyn.org>
            Date   : 2026-06-07T18:09:22-05:00
            Stats  : +12/-60 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/libvmi/c/da8fc45f404ca3ac3fcc8fa10c6f9f56148498db?branch=rawhide

            Log:
            Update to Git master

Signed-off-by: W. Michael Petullo <mike@flyn.org>

---
diff --git a/libvmi-fix-incompatible-pointer.patch b/libvmi-fix-incompatible-pointer.patch
deleted file mode 100644
index 3b3fc6c..0000000
--- a/libvmi-fix-incompatible-pointer.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -u --recursive libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/examples/linux-offsets.c libvmi-77a677aa6621927495f1954eded11e601937798b/examples/linux-offsets.c
---- libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/examples/linux-offsets.c	2025-12-17 19:49:08.000000000 -0600
-+++ libvmi-77a677aa6621927495f1954eded11e601937798b/examples/linux-offsets.c	2025-12-21 12:46:11.877594824 -0600
-@@ -48,7 +48,7 @@
-     vmi_destroy(vmi);
- }
- 
--void sigint_handler()
-+void sigint_handler(int signum)
- {
-     clean_up();
-     exit(1);
-diff -u --recursive libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/examples/win-offsets.c libvmi-77a677aa6621927495f1954eded11e601937798b/examples/win-offsets.c
---- libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/examples/win-offsets.c	2025-12-17 19:49:08.000000000 -0600
-+++ libvmi-77a677aa6621927495f1954eded11e601937798b/examples/win-offsets.c	2025-12-21 12:46:28.269463911 -0600
-@@ -81,7 +81,7 @@
-     }
- }
- 
--void sigint_handler()
-+void sigint_handler(int signum)
- {
-     clean_up();
-     exit(1);
-diff -u --recursive libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/tools/vmifs/vmifs.c libvmi-77a677aa6621927495f1954eded11e601937798b/tools/vmifs/vmifs.c
---- libvmi-77a677aa6621927495f1954eded11e601937798b-vanilla/tools/vmifs/vmifs.c	2025-12-17 19:49:08.000000000 -0600
-+++ libvmi-77a677aa6621927495f1954eded11e601937798b/tools/vmifs/vmifs.c	2025-12-21 12:43:00.143133365 -0600
-@@ -110,7 +110,7 @@
-     return size;
- }
- 
--void vmifs_destroy()
-+void vmifs_destroy(void *unused)
- {
-     if (vmi)
-         vmi_destroy(vmi);
-@@ -162,14 +162,14 @@
-     }
- 
-     if (VMI_FAILURE == vmi_get_access_mode(NULL, domain, init_flags, init_data, &mode)) {
--        vmifs_destroy();
-+        vmifs_destroy(NULL);
-         return 1;
-     }
- 
-     /* initialize the libvmi library */
-     if (VMI_FAILURE == vmi_init(&vmi, mode, domain, init_flags, init_data, NULL)) {
-         printf("Failed to init LibVMI library.\n");
--        vmifs_destroy();
-+        vmifs_destroy(NULL);
-         return 1;
-     }
- 

diff --git a/libvmi.spec b/libvmi.spec
index fad2fca..98295bd 100644
--- a/libvmi.spec
+++ b/libvmi.spec
@@ -1,10 +1,10 @@
-%global commit 77a677aa6621927495f1954eded11e601937798b
+%global commit 82bbee6c378da854d07887048b06dc4ee8e20d6a
 %global short_commit %(c=%{commit}; echo ${c:0:7})
-%global commit_date 20251217
+%global commit_date 20260104
 %global commit_release .%{commit_date}git%{short_commit}
 
 # To make rpmdev-bumpspec and similar tools happy
-%global baserelease 15
+%global baserelease 16
 
 Name:           libvmi
 Version:        0.14.0
@@ -17,8 +17,6 @@ Source0:        https://github.com/%{name}/%{name}/archive/%{commit}.tar.gz#/%{n
 
 # Disable '-Werror':
 Patch0001:      libvmi-no_werror.patch
-# Fix incompatible pointer type:
-Patch0002:      libvmi-fix-incompatible-pointer.patch
 
 # Cannot presently build on other architectures.
 ExclusiveArch:  x86_64
@@ -55,7 +53,9 @@ use of %{name}.
 %autosetup -n libvmi-%{commit} -p1
 
 %build
-%cmake -DCMAKE_BUILD_TYPE="Release"
+%cmake \
+	-DCMAKE_BUILD_TYPE="Release" \
+	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 %cmake_build
 
 %install
@@ -80,6 +80,11 @@ find %{buildroot}%{_libdir} -name '*.a' -delete -print
 %{_bindir}/*
 
 %changelog
+* Sun Jun 07 2026 W. Michael Petullo <mike@flyn.org> - 0.14.0-16.20260104git82bbee6
+- Update to Git master
+- Remove patch merged upstream
+- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to overcome complaint about cmake_minimum_required
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-15.20251217git77a677a
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/sources b/sources
index f8c2c5c..096306a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libvmi-77a677aa6621927495f1954eded11e601937798b.tar.gz) = f679d45baaa30492e13331cc078a3d42e795f974ce3cda0871eae114a285cbd08fe64cfd6b6f8beef67b5748917236f0e91e5c3e1e010f999511ca63c66daf38
+SHA512 (libvmi-82bbee6c378da854d07887048b06dc4ee8e20d6a.tar.gz) = 835689f7d540889ea33fde08654778e701b789cb26fd027267e752a5982dfbf3692027b6319260d9406ef0ddbe5085dd994562b14db90f89057521bb61a9e828

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-07 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 23:09 [rpms/libvmi] rawhide: Update to Git master W. Michael Petullo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox