rpms/glib2/F-9 glib-i386-atomic.patch, NONE, 1.1 glib2.spec, 1.172, 1.173

Matthias Clasen mclasen at fedoraproject.org
Mon Oct 27 22:28:19 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/glib2/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28431

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


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/F-9/glib2.spec,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -r1.172 -r1.173
--- glib2.spec	12 Sep 2008 23:58:07 -0000	1.172
+++ glib2.spec	27 Oct 2008 22:27:48 -0000	1.173
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.16.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -22,6 +22,8 @@
 # https://bugzilla.redhat.com/show_bug.cgi?id=442835
 Patch2: gio-2.16-only-pass-uri-to-gio-apps.patch
 
+Patch3: glib-i386-atomic.patch
+
 %description 
 GLib is the low-level core library that forms the basis
 for projects such as GTK+ and GNOME. It provides data structure
@@ -54,6 +56,7 @@
 %prep
 %setup -q -n glib-%{version}
 %patch2 -p0 -b .only-pass-uri-to-gio-apps
+%patch3 -p1 -b .i386-atomic
 
 %build
 %configure --disable-gtk-doc --enable-static 
@@ -128,6 +131,9 @@
 %{_libdir}/lib*.a
 
 %changelog
+* Mon Oct 27 2008 Matthias Clasen <mclasen at redhat.com> - 2.16.6-2
+- Use asm implementation for atomic ops on x86
+
 * Fri Sep 12 2008 Matthias Clasen <mclasen at redhat.com> - 2.16.6-1
 - Update to 2.16.6
 




More information about the scm-commits mailing list