[csw-devel] SF.net SVN: gar:[21066] csw/mgar/pkg/gnutls3/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Mon May 13 22:28:46 CEST 2013


Revision: 21066
          http://gar.svn.sourceforge.net/gar/?rev=21066&view=rev
Author:   chninkel
Date:     2013-05-13 20:28:40 +0000 (Mon, 13 May 2013)
Log Message:
-----------
gnutls3/trunk: suppress gets warning

Modified Paths:
--------------
    csw/mgar/pkg/gnutls3/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/gnutls3/trunk/files/0001-no-gets-warning.patch

Modified: csw/mgar/pkg/gnutls3/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/Makefile	2013-05-13 17:27:58 UTC (rev 21065)
+++ csw/mgar/pkg/gnutls3/trunk/Makefile	2013-05-13 20:28:40 UTC (rev 21066)
@@ -12,7 +12,7 @@
 MASTER_SITES = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(SUBV)/
 DISTFILES += $(DISTNAME).tar.xz
 # PATCHFILES += 0001-Do-not-strip-norunpath.patch
-#PATCHFILES += 0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch
+PATCHFILES += 0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch
 
 # Sun Studio 12 bails out on .deinit_func
 GARCOMPILER = GCC4
@@ -59,6 +59,8 @@
 OBSOLETED_BY_CSWlibgnutls-dev = CSWgnutlsdevel
 CATALOGNAME_CSWgnutlsdevel = gnutls_devel_stub
 
+PATCHFILES += 0001-no-gets-warning.patch
+
 # We don't need it and if defined the test breaks
 #LD_OPTIONS =
 
@@ -74,3 +76,7 @@
 
 include gar/category.mk
 
+pre-configure:
+	cd $(WORKSRC) && autoconf
+	@${MAKECOOKIE}
+

Added: csw/mgar/pkg/gnutls3/trunk/files/0001-no-gets-warning.patch
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/files/0001-no-gets-warning.patch	                        (rev 0)
+++ csw/mgar/pkg/gnutls3/trunk/files/0001-no-gets-warning.patch	2013-05-13 20:28:40 UTC (rev 21066)
@@ -0,0 +1,25 @@
+From d65e6e5f4ae8d5a326ead9db9c2e0117b149835b Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Mon, 13 May 2013 17:51:35 +0200
+Subject: [PATCH] no gets warning
+
+---
+ gl/m4/stdio_h.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gl/m4/stdio_h.m4 b/gl/m4/stdio_h.m4
+index ebade06..9788ded 100644
+--- a/gl/m4/stdio_h.m4
++++ b/gl/m4/stdio_h.m4
+@@ -74,7 +74,7 @@ AC_DEFUN([gl_STDIO_H],
+   dnl corresponding gnulib module is not in use, and which is not
+   dnl guaranteed by both C89 and C11.
+   gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
+-    ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen
++    ]], [dprintf fpurge fseeko ftello getdelim getline pclose popen
+     renameat snprintf tmpfile vdprintf vsnprintf])
+ ])
+ 
+-- 
+1.8.1.4
+

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