From 6215741455af5aa7e4132eea06dc135ef63fe98f Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 1 Mar 2010 02:48:12 +0000 Subject: Add x-gzip to the list of gzip encoded websites. This fixes cvsweb.freebsd.org. Code supplied by marcus@ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13740 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/libsoup/Makefile | 4 ++-- devel/libsoup/files/patch-soup_soup-content-decoder.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 devel/libsoup/files/patch-soup_soup-content-decoder.c (limited to 'devel') diff --git a/devel/libsoup/Makefile b/devel/libsoup/Makefile index c59b9db88..5aeae7e67 100644 --- a/devel/libsoup/Makefile +++ b/devel/libsoup/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/devel/libsoup/Makefile,v 1.77 2010/02/10 14:15:23 avl Exp $ +# $MCom: ports/devel/libsoup/Makefile,v 1.78 2010/02/24 00:18:28 ahze Exp $ # PORTNAME= libsoup PORTVERSION= 2.29.91 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/devel/libsoup/files/patch-soup_soup-content-decoder.c b/devel/libsoup/files/patch-soup_soup-content-decoder.c new file mode 100644 index 000000000..1643896f0 --- /dev/null +++ b/devel/libsoup/files/patch-soup_soup-content-decoder.c @@ -0,0 +1,11 @@ +--- libsoup/soup-content-decoder.c.orig 2010-03-01 03:11:09.000000000 +0100 ++++ libsoup/soup-content-decoder.c 2010-03-01 03:13:01.000000000 +0100 +@@ -76,6 +76,8 @@ soup_content_decoder_init (SoupContentDe + /* Hardcoded for now */ + g_hash_table_insert (decoder->priv->codings, "gzip", + GSIZE_TO_POINTER (SOUP_TYPE_CODING_GZIP)); ++ g_hash_table_insert (decoder->priv->codings, "x-gzip", ++ GSIZE_TO_POINTER (SOUP_TYPE_CODING_GZIP)); + } + + static void -- cgit v1.2.3