aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-29 20:32:39 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-29 20:32:39 +0000
commit09c4cd74455cbff05030f4a1efd44bf20e0c42c2 (patch)
treea5f0026659b7ca0c4f033a1dd8e1ad0c9b6b8bc8
parent5aeb2ebd5955cd5542a8230c9739816d6a846df0 (diff)
downloadports-09c4cd74455cbff05030f4a1efd44bf20e0c42c2.tar.gz
ports-09c4cd74455cbff05030f4a1efd44bf20e0c42c2.zip
Notes
-rw-r--r--x11-fm/endeavour/files/patch-endeavour::endeavour.h11
-rw-r--r--x11-fm/endeavour/files/patch-endeavour::string.cpp28
-rw-r--r--x11-fm/endeavour/files/patch-include::string.h12
3 files changed, 51 insertions, 0 deletions
diff --git a/x11-fm/endeavour/files/patch-endeavour::endeavour.h b/x11-fm/endeavour/files/patch-endeavour::endeavour.h
new file mode 100644
index 000000000000..3add5799353e
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-endeavour::endeavour.h
@@ -0,0 +1,11 @@
+--- endeavour/endeavour.h.orig Tue Jan 29 16:59:42 2002
++++ endeavour/endeavour.h Tue Jan 29 17:01:10 2002
+@@ -1462,7 +1462,7 @@
+
+
+ /* In timming.c */
+-extern long MilliTime(void);
++// extern long MilliTime(void);
+
+
+ /* In timmer.c */
diff --git a/x11-fm/endeavour/files/patch-endeavour::string.cpp b/x11-fm/endeavour/files/patch-endeavour::string.cpp
new file mode 100644
index 000000000000..d3a40a9304af
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-endeavour::string.cpp
@@ -0,0 +1,28 @@
+--- endeavour/string.cpp.orig Tue Jan 29 17:05:25 2002
++++ endeavour/string.cpp Tue Jan 29 17:11:26 2002
+@@ -35,7 +35,7 @@
+ #endif /* __MSW__ */
+
+ const char *strseekblank(const char *s);
+-const char *strcasestr(const char *haystack, const char *needle);
++// const char *strcasestr(const char *haystack, const char *needle);
+ int strpfx(const char *str, const char *pfx);
+ int strcasepfx(const char *str, const char *pfx);
+ void strtoupper(char *s);
+@@ -219,6 +219,7 @@
+ * Case insensitive version of strstr(). Returns the pointer to
+ * needle in haystack if found or NULL on no match.
+ */
++#ifndef __FreeBSD__
+ const char *strcasestr(const char *haystack, const char *needle)
+ {
+ const char *strptr1, *strptr2, *strptr3;
+@@ -276,7 +277,7 @@
+
+ return(NULL);
+ }
+-
++#endif
+ /*
+ * Returns 1 if pfx is a prefix of str.
+ *
diff --git a/x11-fm/endeavour/files/patch-include::string.h b/x11-fm/endeavour/files/patch-include::string.h
new file mode 100644
index 000000000000..5a3899ab5b9e
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-include::string.h
@@ -0,0 +1,12 @@
+--- include/string.h.orig Tue Jan 29 16:54:50 2002
++++ include/string.h Tue Jan 29 16:55:21 2002
+@@ -24,7 +24,9 @@
+ extern int strcasecmp(const char *s1, const char *s2);
+ #endif
+ extern const char *strseekblank(const char *s);
++#ifndef __FreeBSD__
+ extern const char *strcasestr(const char *haystack, const char *needle);
++#endif
+ extern int strpfx(const char *str, const char *pfx);
+ extern int strcasepfx(const char *str, const char *pfx);
+ extern void strtoupper(char *s);