summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"