summaryrefslogtreecommitdiff
path: root/packages/libmimedir
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-08-12 17:59:37 +0000
committerKoen Kooi <koen@openembedded.org>2006-08-12 17:59:37 +0000
commite77faee11a7145b1d08156ae634e15c0c4578e7b (patch)
treed0f10a79d102b59e4d46f50a02b892a1ddd3f5e5 /packages/libmimedir
parent882ac39db1a56db202a8ab964e4b3f264b8bf2de (diff)
libmimedir 0.4.0: add patch by Martin Felis to fix list append behaviour
Diffstat (limited to 'packages/libmimedir')
-rw-r--r--packages/libmimedir/files/gslist-fix.patch11
-rw-r--r--packages/libmimedir/libmimedir_0.4.0-20060804.bb5
2 files changed, 14 insertions, 2 deletions
diff --git a/packages/libmimedir/files/gslist-fix.patch b/packages/libmimedir/files/gslist-fix.patch
new file mode 100644
index 0000000000..ef28ecdc53
--- /dev/null
+++ b/packages/libmimedir/files/gslist-fix.patch
@@ -0,0 +1,11 @@
+--- /tmp/mimedir-attribute.c 2006-08-12 19:55:04.000000000 +0200
++++ libmimedir/mimedir/mimedir-attribute.c 2006-08-12 19:55:49.938306000 +0200
+@@ -1768,7 +1768,7 @@
+ }
+ break;
+ case ',':
+- g_slist_append (list, g_string_free (string, FALSE));
++ list = g_slist_append (list, g_string_free (string, FALSE));
+ string = g_string_new ("");
+ break;
+ case '\r':
diff --git a/packages/libmimedir/libmimedir_0.4.0-20060804.bb b/packages/libmimedir/libmimedir_0.4.0-20060804.bb
index 14c1209b2e..f893bccaf2 100644
--- a/packages/libmimedir/libmimedir_0.4.0-20060804.bb
+++ b/packages/libmimedir/libmimedir_0.4.0-20060804.bb
@@ -3,14 +3,15 @@ SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "intltool-native glib-2.0"
-PR = "r0"
+PR = "r1"
DEFAULT_PREFERENCE = "5"
SRCDATE = "20060804"
PV = "0.4.0+cvs${SRCDATE}"
SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=libmimedir \
file://mimedir-update.patch;patch=1 \
- file://mimedir-write-sequence.patch;patch=1;pnum=0"
+ file://mimedir-write-sequence.patch;patch=1;pnum=0 \
+ file://gslist-fix.patch;patch=1"
S = "${WORKDIR}/libmimedir"