aboutsummaryrefslogtreecommitdiff
path: root/editors/nano/files/patch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nano/files/patch-utils.c')
-rw-r--r--editors/nano/files/patch-utils.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/nano/files/patch-utils.c b/editors/nano/files/patch-utils.c
new file mode 100644
index 000000000000..49cdbf43192a
--- /dev/null
+++ b/editors/nano/files/patch-utils.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- utils.c.orig Mon Nov 19 03:46:54 2001
++++ utils.c Tue Dec 18 19:58:04 2001
+@@ -47,7 +47,7 @@
+ }
+ }
+
+-
++#ifndef HAVE_STRCASESTR
+ /* This is now mutt's version (called mutt_stristr) because it doesn't
+ use memory allocation to do a simple search (yuck). */
+ char *strcasestr(char *haystack, char *needle)
+@@ -69,6 +69,7 @@
+ }
+ return NULL;
+ }
++#endif
+
+ char *strstrwrapper(char *haystack, char *needle)
+ {