The attached patch makes vertex build for me.  This patch is minimally
invasive, but the technically superior strategy would be to use glibc's
version of strcasestr.  I am happy to supply a patch to do that if you
would prefer that solution instead.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
Screw you, AACS LA: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
--- vertex-0.1.15/vertex/string.cpp	2007-06-10 06:37:30.000000000 +0000
+++ vertex.old/vertex/string.cpp	2007-06-10 06:38:13.000000000 +0000
@@ -30,7 +30,7 @@
 #ifdef __MSW__
 int strcasecmp(const char *s1, const char *s2);
 #endif
-char *strcasestr(const char *haystack, const char *needle) throw();
+char *strcasestr(const char *haystack, const char *needle);
 int strpfx(const char *s, const char *pfx);
 int strcasepfx(const char *s, const char *pfx);
 
@@ -219,7 +219,7 @@
  *	Case insensitive version of strstr(). Returns the pointer to
  *	needle in haystack if found or NULL on no match.
  */
-char *strcasestr(const char *haystack, const char *needle) throw()
+char *strcasestr(const char *haystack, const char *needle)
 {
 	const char *strptr1, *strptr2, *strptr3;
 

Attachment: signature.asc
Description: Digital signature

Reply via email to