summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-12-13 11:34:27 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-12-13 11:34:27 +0000
commita3113ac856a1e8d593539693dc431563120b405f (patch)
tree05ec4c7609ebe152ae3038f94a534a759df91181
parentac5ec800c635781c8216294d7084d373c77f268b (diff)
susv3 legacy fix for haserl
-rw-r--r--package/haserl/haserl-0.9.21-susv3-legacy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/haserl/haserl-0.9.21-susv3-legacy.patch b/package/haserl/haserl-0.9.21-susv3-legacy.patch
new file mode 100644
index 000000000..8393de2c2
--- /dev/null
+++ b/package/haserl/haserl-0.9.21-susv3-legacy.patch
@@ -0,0 +1,12 @@
+diff -urN haserl-0.9.21-0rig/src/haserl.c haserl-0.9.21/src/haserl.c
+--- haserl-0.9.21-0rig/src/haserl.c 2007-12-13 22:58:00.000000000 +0100
++++ haserl-0.9.21/src/haserl.c 2007-12-13 23:00:10.000000000 +0100
+@@ -210,7 +210,7 @@
+ }
+ memcpy ((char *) (entry + strlen (prefix)), str, strlen (str));
+
+- keylen = (size_t) (index (entry, '=') - entry);
++ keylen = (size_t) (strchr (entry, '=') - entry);
+
+ if (keylen <= 0)
+ {