- Add patch for RH bug #327871 (broken Rhythmbox build).
- Suspect this is really a glibc bug.
This commit is contained in:
parent
208ce341b9
commit
38a66e8b71
13
libsoup-2.2.101-header-breakage.patch
Normal file
13
libsoup-2.2.101-header-breakage.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up libsoup-2.2.101/libsoup/soup-portability.h.header-breakage libsoup-2.2.101/libsoup/soup-portability.h
|
||||
--- libsoup-2.2.101/libsoup/soup-portability.h.header-breakage 2007-06-01 16:31:34.000000000 -0400
|
||||
+++ libsoup-2.2.101/libsoup/soup-portability.h 2007-10-11 12:33:58.000000000 -0400
|
||||
@@ -17,6 +17,9 @@
|
||||
|
||||
#else
|
||||
|
||||
+/* Work around a glibc bug (#327871) */
|
||||
+#include <linux/socket.h>
|
||||
+
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
12
libsoup.spec
12
libsoup.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libsoup
|
||||
Version: 2.2.101
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2
|
||||
Group: Development/Libraries
|
||||
Summary: Soup, an HTTP library implementation
|
||||
@ -10,6 +10,11 @@ URL: ftp://ftp.gnome.org/pub/gnome/sources/libsoup/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Source: libsoup-%{version}.tar.bz2
|
||||
|
||||
### Patches ###
|
||||
|
||||
# RH bug #327871
|
||||
Patch0: libsoup-2.2.101-header-breakage.patch
|
||||
|
||||
### Dependencies ###
|
||||
|
||||
Requires: glib2 >= 2.6
|
||||
@ -49,6 +54,7 @@ you to develop applications that use the libsoup library.
|
||||
|
||||
%prep
|
||||
%setup -q -n libsoup-%{version}
|
||||
%patch -p1 -b .header-breakage
|
||||
|
||||
%build
|
||||
%configure --disable-gtk-doc
|
||||
@ -81,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/gtk-doc/html/libsoup
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2007 Matthew Barnes <mbarnes@redhat.com> - 2.2.101-2
|
||||
- Add patch for RH bug #327871 (broken Rhythmbox build).
|
||||
- Suspect this is really a glibc bug.
|
||||
|
||||
* Fri Oct 05 2007 Matthew Barnes <mbarnes@redhat.com> - 2.2.101-1
|
||||
- Update to 2.2.101
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user