fix for sparc handling
This commit is contained in:
parent
79a8374779
commit
3e37b25421
15
webkit-1.1.22-sparc.patch
Normal file
15
webkit-1.1.22-sparc.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -up webkit-1.1.22/JavaScriptCore/wtf/Platform.h.sparc webkit-1.1.22/JavaScriptCore/wtf/Platform.h
|
||||
--- webkit-1.1.22/JavaScriptCore/wtf/Platform.h.sparc 2010-03-23 08:14:24.378618143 -0400
|
||||
+++ webkit-1.1.22/JavaScriptCore/wtf/Platform.h 2010-03-23 08:14:29.871502920 -0400
|
||||
@@ -828,7 +828,10 @@
|
||||
#endif
|
||||
|
||||
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
|
||||
-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) || CPU(IA64) || CPU(ALPHA)
|
||||
+#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \
|
||||
+ || CPU(IA64) \
|
||||
+ || CPU(ALPHA) \
|
||||
+ || CPU(SPARC64)
|
||||
#define WTF_USE_JSVALUE64 1
|
||||
#elif CPU(ARM) || CPU(PPC64)
|
||||
#define WTF_USE_JSVALUE32 1
|
@ -35,7 +35,7 @@
|
||||
|
||||
Name: webkitgtk
|
||||
Version: 1.1.22
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: GTK+ Web content engine library
|
||||
|
||||
Provides: WebKit-gtk = %{version}-%{release}
|
||||
@ -47,7 +47,8 @@ URL: http://www.webkitgtk.org/
|
||||
|
||||
Source0: http://www.webkitgtk.org/webkit-%{version}.tar.gz
|
||||
|
||||
#Patch0: webkit-1.1.14-atomic-word.patch
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=35429
|
||||
Patch0: webkit-1.1.22-sparc.patch
|
||||
|
||||
## See: https://bugzilla.redhat.com/show_bug.cgi?id=516057
|
||||
## FIXME: We forcibly disable the JIT compiler for the time being.
|
||||
@ -116,7 +117,7 @@ LICENSE, README, and AUTHORS files.
|
||||
|
||||
%prep
|
||||
%setup -qn "webkit-%{version}"
|
||||
# %patch0 -p1 -b .atomic-word
|
||||
%patch0 -p1 -b .sparc
|
||||
# %patch1 -p1 -b .no-execmem
|
||||
%patch2 -p1 -b .nspluginwrapper
|
||||
|
||||
@ -198,6 +199,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Mar 23 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.22-2
|
||||
- apply upstream fix for sparc
|
||||
|
||||
* Mon Feb 22 2010 Matthias Clasen <mclasen@redhat.com> 1.1.22-1
|
||||
- Update to 1.1.22
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user