SF.net SVN: gar:[24490] csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen. patch
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Fri Dec 19 11:51:05 CET 2014
Revision: 24490
http://sourceforge.net/p/gar/code/24490
Author: lblume
Date: 2014-12-19 10:51:05 +0000 (Fri, 19 Dec 2014)
Log Message:
-----------
nut/trunk: One more try to get the patch right
Modified Paths:
--------------
csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch
Modified: csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch
===================================================================
--- csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch 2014-12-19 10:44:51 UTC (rev 24489)
+++ csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch 2014-12-19 10:51:05 UTC (rev 24490)
@@ -25,18 +25,16 @@
AC_CHECK_DECLS(LOG_UPTO, [], [], [#include <syslog.h>])
dnl the following may add stuff to LIBOBJS (is this still needed?)
-index f255496..f5dc114 100644
+index f255496..19e73ee 100644
--- a/include/config.h.in
+++ b/include/config.h.in
-@@ -442,3 +442,12 @@
+@@ -442,3 +442,9 @@
/* type to use in place of socklen_t if not defined */
#undef socklen_t
+
-+/* type to use in place of socklen_t if not defined */
-+/* #undef socklen_t */
-+
+/* Missing on Solaris 10*/
+#ifndef HAVE_STRNLEN
+size_t strnlen (const char *str, size_t max);
+#endif
++
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list