openbsd-ports/textproc/sphinx/patches/patch-configure

26 lines
538 B
Plaintext
Raw Normal View History

--- configure.orig Wed Jul 9 16:29:17 2008
+++ configure Fri Mar 20 12:04:00 2009
@@ -7229,11 +7229,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char iconv ();
+char libiconv ();
int
main ()
{
-iconv ();
+libiconv ();
;
return 0;
}
@@ -8219,7 +8219,7 @@ main ()
{
const char * inbuf;
iconv_t cd;
- iconv ( cd, &inbuf, NULL, NULL, NULL );
+ libiconv ( cd, &inbuf, NULL, NULL, NULL );
;
return 0;