aboutsummaryrefslogtreecommitdiffstats
path: root/devel/soup
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-12 15:53:46 +0800
committermarcus <marcus@FreeBSD.org>2002-11-12 15:53:46 +0800
commit8b51014c7a09a7ba1d3185b6c19334f7087176d4 (patch)
treeefb0cd49e3f7996a62025ed989bd9fbb7ebc5382 /devel/soup
parent311a84e61c84a04737a4b51ff6f97f4c3ba5c5c5 (diff)
downloadfreebsd-ports-gnome-8b51014c7a09a7ba1d3185b6c19334f7087176d4.tar.gz
freebsd-ports-gnome-8b51014c7a09a7ba1d3185b6c19334f7087176d4.tar.zst
freebsd-ports-gnome-8b51014c7a09a7ba1d3185b6c19334f7087176d4.zip
Fix a problem with soup causing Evolution to segfault when trying to get
RDF newsfeeds. This is an attempt to solve both this crash as well as get it building on 64-bot architectures.
Diffstat (limited to 'devel/soup')
-rw-r--r--devel/soup/Makefile1
-rw-r--r--devel/soup/files/patch-src_libsoup_soup-message.c19
2 files changed, 16 insertions, 4 deletions
diff --git a/devel/soup/Makefile b/devel/soup/Makefile
index 4154af8c6a4e..54e362c17805 100644
--- a/devel/soup/Makefile
+++ b/devel/soup/Makefile
@@ -7,6 +7,7 @@
PORTNAME= soup
PORTVERSION= 0.7.4
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/soup/0.7
diff --git a/devel/soup/files/patch-src_libsoup_soup-message.c b/devel/soup/files/patch-src_libsoup_soup-message.c
index 2b528277e688..b83d406260a6 100644
--- a/devel/soup/files/patch-src_libsoup_soup-message.c
+++ b/devel/soup/files/patch-src_libsoup_soup-message.c
@@ -1,11 +1,22 @@
---- src/libsoup/soup-message.c.orig Sun Sep 29 23:50:30 2002
-+++ src/libsoup/soup-message.c Sun Sep 29 23:59:10 2002
-@@ -922,7 +922,7 @@
+--- src/libsoup/soup-message.c.orig Wed Apr 10 12:33:17 2002
++++ src/libsoup/soup-message.c Tue Nov 12 02:52:40 2002
+@@ -907,7 +907,7 @@
+
+ SoupHandlerKind kind;
+ union {
+- guint errorcode;
++ unsigned long errorcode;
+ SoupErrorClass errorclass;
+ const gchar *header;
+ } data;
+@@ -922,8 +922,9 @@
redirect_handler,
NULL,
RESPONSE_HEADER_HANDLER,
- { (guint) "Location" }
-+ { (guint) 0 }
++ { (unsigned long) "Location" }
},
++
/*
* Handle authorization.
+ */