Add patch for #500654

This commit is contained in:
palango 2009-06-15 05:04:47 +00:00
commit 7cc0da6373
2 changed files with 19 additions and 3 deletions

10
webkit-dllmap-fix.patch Normal file
View file

@ -0,0 +1,10 @@
# https://bugzilla.redhat.com/show_bug.cgi?id=500654
diff -uraN webkit-sharp-0.2/sources/webkit-sharp.dll.config.in webkit-sharp-0.2.orig/sources/webkit-sharp.dll.config.in
--- webkit-sharp-0.2/sources/webkit-sharp.dll.config.in 2008-06-12 02:28:06.000000000 +0200
+++ webkit-sharp-0.2.orig/sources/webkit-sharp.dll.config.in 2009-05-16 23:42:36.847810576 +0200
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="webkit-1.0" target="webkit-1.0@LIB_PREFIX@.1@LIB_SUFFIX@"/>
+ <dllmap dll="webkit-1.0" target="webkit-1.0@LIB_PREFIX@.2@LIB_SUFFIX@"/>
</configuration>

View file

@ -2,21 +2,22 @@
Name: webkit-sharp
Version: 0.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: .NET bindings for WebKit
Group: Development/Languages
License: MIT
URL: http://ftp.novell.com/pub/mono/sources/webkit-sharp/
Source0: http://ftp.novell.com/pub/mono/sources/webkit-sharp/%{name}-%{version}.tar.bz2
Patch0: webkit-sharp-libdir.patch
Patch1: webkit-dllmap-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: WebKit-gtk-devel
Requires: webkitgtk
BuildRequires: webkitgtk-devel
BuildRequires: mono-devel
BuildRequires: gtk-sharp2-devel
BuildRequires: gtk-sharp2-gapi
BuildRequires: monodoc-devel
%description
WebKit-sharp is .NET bindings for the WebKit rendering engine.
@ -34,6 +35,8 @@ Development files for WebKit-sharp
# patch for libdir madness
%patch0 -p1 -b webkit-sharp-libdir.patch
#patch for updated webkit version
%patch1 -p1 -b webkit-dllmap-fix.patch
%build
%configure
@ -58,6 +61,9 @@ make DESTDIR=%{buildroot} install
%{_libdir}/monodoc/sources/webkit-sharp*
%changelog
* Sun Jun 14 2009 Paul Lange <palango@gmx.de> - 0.2-3
- Fix wrong webkitgtk link and missing dependency (#500654)
* Mon May 25 2009 Xavier Lamien <laxathom@fedoraproject.org> - 0.2-2
- Build arch ppc64.