SF.net SVN: gar:[24491] csw/mgar/pkg/nut/trunk

lblume at users.sourceforge.net lblume at users.sourceforge.net
Fri Dec 19 11:59:00 CET 2014


Revision: 24491
          http://sourceforge.net/p/gar/code/24491
Author:   lblume
Date:     2014-12-19 10:58:59 +0000 (Fri, 19 Dec 2014)
Log Message:
-----------
nut/trunk: Try to add an include

Modified Paths:
--------------
    csw/mgar/pkg/nut/trunk/Makefile
    csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch

Modified: csw/mgar/pkg/nut/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nut/trunk/Makefile	2014-12-19 10:51:05 UTC (rev 24490)
+++ csw/mgar/pkg/nut/trunk/Makefile	2014-12-19 10:58:59 UTC (rev 24491)
@@ -36,3 +36,7 @@
 
 include gar/category.mk
 
+pre-configure:
+	cd $(WORKSRC) && autoconf
+	$(MAKECOOKIE)
+

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:51:05 UTC (rev 24490)
+++ csw/mgar/pkg/nut/trunk/files/0001-missing-strnlen.patch	2014-12-19 10:58:59 UTC (rev 24491)
@@ -28,13 +28,14 @@
 index f255496..19e73ee 100644
 --- a/include/config.h.in
 +++ b/include/config.h.in
-@@ -442,3 +442,9 @@
+@@ -442,3 +442,10 @@
  
  /* type to use in place of socklen_t if not defined */
  #undef socklen_t
 +
 +/* Missing on Solaris 10*/
 +#ifndef HAVE_STRNLEN
++#include <strings.h>
 +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