use asm atomic ops on ix86
This commit is contained in:
parent
6e8ec0de66
commit
65830bdf1d
15
glib-i386-atomic.patch
Normal file
15
glib-i386-atomic.patch
Normal file
@ -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; }
|
@ -3,7 +3,7 @@
|
|||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.18.2
|
Version: 2.18.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
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)
|
# http://bugzilla.gnome.org/show_bug.cgi?id=528320 (from svn)
|
||||||
Patch3: glib-2.18.2-no-generic-icons.patch
|
Patch3: glib-2.18.2-no-generic-icons.patch
|
||||||
|
|
||||||
|
Patch4: glib-i386-atomic.patch
|
||||||
|
|
||||||
# this patch requires autoreconf
|
# this patch requires autoreconf
|
||||||
BuildRequires: autoconf automake libtool gettext-devel gtk-doc
|
BuildRequires: autoconf automake libtool gettext-devel gtk-doc
|
||||||
|
|
||||||
@ -61,6 +63,7 @@ of version 2 of the GLib library.
|
|||||||
%setup -q -n glib-%{version}
|
%setup -q -n glib-%{version}
|
||||||
%patch2 -p1 -b .always-pass-fuse-file-uri
|
%patch2 -p1 -b .always-pass-fuse-file-uri
|
||||||
%patch3 -p0 -b .no-generic-icons
|
%patch3 -p0 -b .no-generic-icons
|
||||||
|
%patch4 -p1 -b .i386-atomic
|
||||||
|
|
||||||
autoreconf
|
autoreconf
|
||||||
|
|
||||||
@ -137,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Oct 24 2008 Alexander Larsson <alexl@redhat.com> - 2.18.2-2
|
||||||
- Don't return generic fallback icons for files,
|
- Don't return generic fallback icons for files,
|
||||||
as this means custom mimetypes don't work (from svn)
|
as this means custom mimetypes don't work (from svn)
|
||||||
|
Loading…
Reference in New Issue
Block a user