public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: use asm atomic ops on ix86
@ 2026-08-11 10:33 Matthias Clasen
  0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-08-11 10:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 65830bdf1db48567031cd0b1519a86e79781e424
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date   : 2008-10-27T22:36:55+00:00
Stats  : +22/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/65830bdf1db48567031cd0b1519a86e79781e424?branch=cve-2026-58016-f44

Log:
use asm atomic ops on ix86

---
diff --git a/glib-i386-atomic.patch b/glib-i386-atomic.patch
new file mode 100644
index 0000000..01495c0
--- /dev/null
+++ b/glib-i386-atomic.patch
@@ -0,0 +1,15 @@
+diff -up glib-2.16.6/configure.atomic glib-2.16.6/configure
+--- glib-2.16.6/configure.atomic	2008-10-27 18:24:20.000000000 -0400
++++ glib-2.16.6/configure	2008-10-27 18:24:31.000000000 -0400
+@@ -42742,11 +42742,6 @@ $as_echo_n "checking whether to use asse
+ 
+ if test x"$GCC" = xyes; then
+   case $host_cpu in
+-    i386)
+-      { $as_echo "$as_me:$LINENO: result: none" >&5
+-$as_echo "none" >&6; }
+-      glib_memory_barrier_needed=no
+-      ;;
+     i?86)
+       { $as_echo "$as_me:$LINENO: result: i486" >&5
+ $as_echo "i486" >&6; }

diff --git a/glib2.spec b/glib2.spec
index ed0587b..fe9f1a9 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.18.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -25,6 +25,8 @@ Patch2: gio-2.18-always-pass-fuse-file-uri.patch
 # http://bugzilla.gnome.org/show_bug.cgi?id=528320 (from svn)
 Patch3: glib-2.18.2-no-generic-icons.patch
 
+Patch4: glib-i386-atomic.patch
+
 # this patch requires autoreconf
 BuildRequires: autoconf automake libtool gettext-devel gtk-doc
 
@@ -61,6 +63,7 @@ of version 2 of the GLib library.
 %setup -q -n glib-%{version}
 %patch2 -p1 -b .always-pass-fuse-file-uri
 %patch3 -p0 -b .no-generic-icons
+%patch4 -p1 -b .i386-atomic
 
 autoreconf
 
@@ -137,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.a
 
 %changelog
+* Mon Oct 27 2008 Matthias Clasen <mclasen@redhat.com> - 2.18.2-3
+- Use asm implementation for atomic ops on x86
+
 * Fri Oct 24 2008 Alexander Larsson <alexl@redhat.com> - 2.18.2-2
 - Don't return generic fallback icons for files,
   as this means custom mimetypes don't work (from svn)

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

only message in thread, other threads:[~2026-08-11 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:33 [rpms/glib2] cve-2026-58016-f44: use asm atomic ops on ix86 Matthias Clasen

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