[csw-devel] SF.net SVN: gar:[20543] csw/mgar/pkg/httping/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat Mar 30 18:34:47 CET 2013


Revision: 20543
          http://gar.svn.sourceforge.net/gar/?rev=20543&view=rev
Author:   chninkel
Date:     2013-03-30 17:34:46 +0000 (Sat, 30 Mar 2013)
Log Message:
-----------
httping/trunk: fixed build failuure

Modified Paths:
--------------
    csw/mgar/pkg/httping/trunk/Makefile
    csw/mgar/pkg/httping/trunk/files/changelog.CSW

Added Paths:
-----------
    csw/mgar/pkg/httping/trunk/files/0002-Define-strndup-function.patch

Modified: csw/mgar/pkg/httping/trunk/Makefile
===================================================================
--- csw/mgar/pkg/httping/trunk/Makefile	2013-03-30 17:07:42 UTC (rev 20542)
+++ csw/mgar/pkg/httping/trunk/Makefile	2013-03-30 17:34:46 UTC (rev 20543)
@@ -27,6 +27,11 @@
 # Already submitted upstream, feedback pending.
 PATCHFILES = 0001-Makefile-make-options-and-tools-configurable.patch
 
+# strndup is not defined anymore in httping source (file str.c)
+# but it still doesn't exist under Solaris 9 so we have to define
+# the function
+PATCHFILES += 0002-Define-strndup-function.patch
+
 CONFIGURE_SCRIPTS =
 TEST_SCRIPTS =
 
@@ -37,7 +42,7 @@
 OFLAGS =
 
 # Install options (see $(WORKSRC)/Makefile)
-INSTALL_EXPORTS = PREFIX INSTALL STRIP
+EXTRA_INSTALL_EXPORTS = PREFIX INSTALL STRIP
 PREFIX  = $(prefix)
 INSTALL = ginstall
 STRIP   = /usr/ccs/bin/strip

Added: csw/mgar/pkg/httping/trunk/files/0002-Define-strndup-function.patch
===================================================================
--- csw/mgar/pkg/httping/trunk/files/0002-Define-strndup-function.patch	                        (rev 0)
+++ csw/mgar/pkg/httping/trunk/files/0002-Define-strndup-function.patch	2013-03-30 17:34:46 UTC (rev 20543)
@@ -0,0 +1,30 @@
+From 852d6ca70fda0d1b21c3743801b43857061f9467 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Sat, 30 Mar 2013 18:25:40 +0100
+Subject: [PATCH] Define strndup function
+
+---
+ str.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/str.c b/str.c
+index aa6206a..7f7e0ee 100644
+--- a/str.c
++++ b/str.c
+@@ -20,6 +20,7 @@
+ 
+ /*
+ Most unixes have this function already.
++But not Solaris 9 */
+ 
+ #ifndef _GNU_SOURCE
+ char *strndup(char *in, int size)
+@@ -32,4 +33,4 @@ char *strndup(char *in, int size)
+ 	return out;
+ }
+ #endif
+-*/
++/**/
+-- 
+1.8.1.4
+

Modified: csw/mgar/pkg/httping/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/httping/trunk/files/changelog.CSW	2013-03-30 17:07:42 UTC (rev 20542)
+++ csw/mgar/pkg/httping/trunk/files/changelog.CSW	2013-03-30 17:34:46 UTC (rev 20543)
@@ -1,3 +1,10 @@
+httping (1.5.3,REV=2013.03.30)
+
+  * Non maintainer upload.
+  * New upstream release.
+  
+ -- Yann Rouillard <yann at opencsw.org>  Sat, 30 Mar 2013 18:28:09 +0100
+
 httping (1.4.1,REV=2010.01.15)
 
   * Updated to 1.4.1 (Closes #4157)

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