summaryrefslogtreecommitdiffstats
path: root/package/haserl/haserl-0.8.0
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:38 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:38 +0000
commitbea4968d34c069ab2719263286cef9f08624aa45 (patch)
treed660b7a07f2b211326ab508121c2111bfe554277 /package/haserl/haserl-0.8.0
parent3d4ac57987a0b3fc6187090b9746eb48e444ecb7 (diff)
downloadbuildroot-novena-bea4968d34c069ab2719263286cef9f08624aa45.tar.gz
buildroot-novena-bea4968d34c069ab2719263286cef9f08624aa45.zip
haserl: convert to Makefile.autotools.in format
Diffstat (limited to 'package/haserl/haserl-0.8.0')
-rw-r--r--package/haserl/haserl-0.8.0/haserl-0.8.0-legacy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/haserl/haserl-0.8.0/haserl-0.8.0-legacy.patch b/package/haserl/haserl-0.8.0/haserl-0.8.0-legacy.patch
new file mode 100644
index 000000000..bb6f3b0d4
--- /dev/null
+++ b/package/haserl/haserl-0.8.0/haserl-0.8.0-legacy.patch
@@ -0,0 +1,12 @@
+diff -urN haserl-0.8.0-0rig/src/haserl.c haserl-0.8.0/src/haserl.c
+--- haserl-0.8.0-0rig/src/haserl.c 2004-11-10 18:59:35.000000000 +0100
++++ haserl-0.8.0/src/haserl.c 2007-10-12 14:36:28.000000000 +0200
+@@ -131,7 +131,7 @@
+ if (strlen(prefix)) { memcpy (entry, prefix, strlen(prefix)); }
+ memcpy ((char *) (entry + strlen(prefix)), newbuf, strlen(newbuf));
+
+- keylen = (size_t) (index (entry, '=') - entry);
++ keylen = (size_t) (strchr (entry, '=') - entry);
+
+ if ( keylen <= 0 ) {
+ free (entry);