summaryrefslogtreecommitdiffstats
path: root/package/sfdisk
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2008-04-17 13:40:46 +0000
committerNigel Kukard <nkukard@lbsd.net>2008-04-17 13:40:46 +0000
commit8ecdbf6a63ed562c958cb5c88add6eccd0c256c6 (patch)
treea3a364b9d19c0e6876fca62298ae2e5bc1860adb /package/sfdisk
parentaf8401ed3cdef1ffe46279c50382fbac10803265 (diff)
downloadbuildroot-novena-8ecdbf6a63ed562c958cb5c88add6eccd0c256c6.tar.gz
buildroot-novena-8ecdbf6a63ed562c958cb5c88add6eccd0c256c6.zip
* Reverted index/rindex fix
Diffstat (limited to 'package/sfdisk')
-rw-r--r--package/sfdisk/sfdisk.010.index-rindex-fix.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/sfdisk/sfdisk.010.index-rindex-fix.patch b/package/sfdisk/sfdisk.010.index-rindex-fix.patch
deleted file mode 100644
index 0eb15af09..000000000
--- a/package/sfdisk/sfdisk.010.index-rindex-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru sfdisk_llseek-fix/sfdisk.c sfdisk_index-rindex-fix/sfdisk.c
---- sfdisk_llseek-fix/sfdisk.c 2008-04-17 08:42:35.000000000 +0000
-+++ sfdisk_index-rindex-fix/sfdisk.c 2008-04-17 09:50:17.000000000 +0000
-@@ -58,6 +58,17 @@
-
- #define SIZE(a) (sizeof(a)/sizeof(a[0]))
-
-+/*
-+ * Why these wouldn't be defined in string.h, I don't know, there is a block
-+ * testing for BSD, and no other mention of these functions ... NK
-+ */
-+#if !defined(index)
-+# define index(s,c) strchr((s), (c))
-+#endif
-+#if !defined(rindex)
-+# define rindex(s,c) strrchr((s), (c))
-+#endif
-+
- /*
- * Table of contents:
- * A. About seeking