[mingw-libsoup/f19] Update to 2.42.2

Kalev Lember kalev at fedoraproject.org
Sun Jun 9 11:07:56 UTC 2013


commit 9a45e16d9e49673a74b61192e2da88ba6f21a07b
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Jun 9 13:00:20 2013 +0200

    Update to 2.42.2

 .gitignore                                         |    1 +
 0001-Include-string.h-in-soup-request-file.c.patch |   28 ++++++++++
 libsoup-dont-use-interface-keyword.patch           |   58 --------------------
 mingw-libsoup.spec                                 |   13 +++--
 sources                                            |    2 +-
 5 files changed, 37 insertions(+), 65 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ec8b3f0..df7d58f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ libsoup-2.28.1.tar.bz2
 /libsoup-2.41.92.tar.xz
 /libsoup-2.42.0.tar.xz
 /libsoup-2.42.1.tar.xz
+/libsoup-2.42.2.tar.xz
diff --git a/0001-Include-string.h-in-soup-request-file.c.patch b/0001-Include-string.h-in-soup-request-file.c.patch
new file mode 100644
index 0000000..877c107
--- /dev/null
+++ b/0001-Include-string.h-in-soup-request-file.c.patch
@@ -0,0 +1,28 @@
+From 663995a495a2e7906787c6452a3053fab5d267d4 Mon Sep 17 00:00:00 2001
+From: Erik van Pienbroek <epienbro at fedoraproject.org>
+Date: Thu, 9 May 2013 13:46:45 +0200
+Subject: [PATCH] Include string.h in soup-request-file.c
+
+Resolves implicit declaration failures of functions like 'strchr'
+
+https://bugzilla.gnome.org/show_bug.cgi?id=700003
+---
+ libsoup/soup-request-file.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libsoup/soup-request-file.c b/libsoup/soup-request-file.c
+index 49b741d..5a56b28 100644
+--- a/libsoup/soup-request-file.c
++++ b/libsoup/soup-request-file.c
+@@ -25,6 +25,8 @@
+ #include <config.h>
+ #endif
+ 
++#include <string.h>
++
+ #include "soup-request-file.h"
+ #include "soup.h"
+ #include "soup-directory-input-stream.h"
+-- 
+1.8.2.1
+
diff --git a/mingw-libsoup.spec b/mingw-libsoup.spec
index 530be1a..83e807b 100644
--- a/mingw-libsoup.spec
+++ b/mingw-libsoup.spec
@@ -4,7 +4,7 @@
 %define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
 
 Name:		mingw-libsoup
-Version:	2.42.1
+Version:	2.42.2
 Release:	1%{?dist}
 Summary:	MinGW library for HTTP and XML-RPC functionality
 
@@ -12,6 +12,8 @@ License:	LGPLv2
 Group:		Development/Libraries
 URL:		http://live.gnome.org/LibSoup
 Source0:	http://download.gnome.org/sources/libsoup/%{release_version}/libsoup-%{version}.tar.xz
+# https://bugzilla.gnome.org/show_bug.cgi?id=700003
+Patch0:		0001-Include-string.h-in-soup-request-file.c.patch
 
 BuildArch:	noarch
 
@@ -33,10 +35,6 @@ BuildRequires:  mingw64-sqlite
 BuildRequires:	glib2-devel
 BuildRequires:	intltool
 
-# The keyword 'interface' is a registered keyword in the Win32 api
-# and therefore shouldn't be used as variable name
-Patch0:         libsoup-dont-use-interface-keyword.patch
-
 
 %description
 Libsoup is an HTTP library implementation in C. It was originally part
@@ -110,7 +108,7 @@ Static version of the MinGW Windows Libsoup library.
 
 %prep
 %setup -q -n libsoup-%{version}
-%patch0 -p0
+%patch0 -p1
 
 
 %build
@@ -182,6 +180,9 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc
 
 
 %changelog
+* Sun Jun 09 2013 Kalev Lember <kalevlember at gmail.com> - 2.42.2-1
+- Update to 2.42.2
+
 * Thu May  9 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.42.1-1
 - Update to 2.42.1
 
diff --git a/sources b/sources
index 9501c24..42ba11c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aaccd590a8002b69716f885fa8589887  libsoup-2.42.1.tar.xz
+7d19a84f9eecba53187f5c2ae13fd83e  libsoup-2.42.2.tar.xz


More information about the scm-commits mailing list