rpms/glib2/devel glib-i386-atomic.patch, NONE, 1.1 glib2.spec, 1.186, 1.187

Matthias Clasen mclasen at fedoraproject.org
Mon Oct 27 22:37:25 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/glib2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29564

Modified Files:
	glib2.spec 
Added Files:
	glib-i386-atomic.patch 
Log Message:
use asm atomic ops on ix86


glib-i386-atomic.patch:

--- NEW FILE glib-i386-atomic.patch ---
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; }


Index: glib2.spec
===================================================================
RCS file: /cvs/extras/rpms/glib2/devel/glib2.spec,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -r1.186 -r1.187
--- glib2.spec	24 Oct 2008 08:41:50 -0000	1.186
+++ glib2.spec	27 Oct 2008 22:36:55 -0000	1.187
@@ -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 @@
 # 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 @@
 %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 @@
 %{_libdir}/lib*.a
 
 %changelog
+* Mon Oct 27 2008 Matthias Clasen <mclasen at redhat.com> - 2.18.2-3
+- Use asm implementation for atomic ops on x86
+
 * Fri Oct 24 2008 Alexander Larsson <alexl at redhat.com> - 2.18.2-2
 - Don't return generic fallback icons for files,
   as this means custom mimetypes don't work (from svn)




More information about the fedora-extras-commits mailing list