pkgsrc/devel/cgdb/patches/patch-ac
minskim e65728eb0f Include the static definition of strlcpy() only when it is not available
on the system.  This makes the package build with gcc-4.
2006-03-21 18:18:15 +00:00

14 lines
402 B
Text

$NetBSD: patch-ac,v 1.1 2006/03/21 18:18:15 minskim Exp $
--- config.h.in.orig 2003-03-29 09:17:22.000000000 -0800
+++ config.h.in
@@ -126,6 +126,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
+/* Define to 1 if you have the `strlcpy' function. */
+#undef HAVE_STRLCPY
+
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H