[csw-devel] SF.net SVN: gar:[13548] csw/mgar/pkg/memcached/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Mar 3 21:56:58 CET 2011


Revision: 13548
          http://gar.svn.sourceforge.net/gar/?rev=13548&view=rev
Author:   dmichelsen
Date:     2011-03-03 20:56:58 +0000 (Thu, 03 Mar 2011)

Log Message:
-----------
memcached: Fix another testcase on sparcv9

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

Added Paths:
-----------
    csw/mgar/pkg/memcached/trunk/files/0004-Make-sure-to-clean-ai_flags-in-testsuite-or-test-fai.patch

Modified: csw/mgar/pkg/memcached/trunk/Makefile
===================================================================
--- csw/mgar/pkg/memcached/trunk/Makefile	2011-03-03 19:55:02 UTC (rev 13547)
+++ csw/mgar/pkg/memcached/trunk/Makefile	2011-03-03 20:56:58 UTC (rev 13548)
@@ -21,6 +21,9 @@
 # leading to broken tests when it is not waited for more packages.
 PATCHFILES += 0003-Make-sure-to-wait-for-data.patch
 
+# Looks like the data structure is not clean on sparcv9 (only!)
+PATCHFILES += 0004-Make-sure-to-clean-ai_flags-in-testsuite-or-test-fai.patch
+
 # If we enable GIT patching this makes a .git repo in $WORKSRC.
 # Unfortunatly this triggers maintainer mode for t/whitespace.t which
 # then fails because the developer GIT repo contains more things than the

Added: csw/mgar/pkg/memcached/trunk/files/0004-Make-sure-to-clean-ai_flags-in-testsuite-or-test-fai.patch
===================================================================
--- csw/mgar/pkg/memcached/trunk/files/0004-Make-sure-to-clean-ai_flags-in-testsuite-or-test-fai.patch	                        (rev 0)
+++ csw/mgar/pkg/memcached/trunk/files/0004-Make-sure-to-clean-ai_flags-in-testsuite-or-test-fai.patch	2011-03-03 20:56:58 UTC (rev 13548)
@@ -0,0 +1,24 @@
+From 0e2dedb53cfd7cbfeda4234758b7fc5746372cd0 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 3 Mar 2011 21:54:13 +0100
+Subject: [PATCH] Make sure to clean ai_flags in testsuite or test fails on sparcv9
+
+---
+ testapp.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/testapp.c b/testapp.c
+index 7023ece..ecf1b8d 100644
+--- a/testapp.c
++++ b/testapp.c
+@@ -382,6 +382,7 @@ static struct addrinfo *lookuphost(const char *hostname, in_port_t port)
+ {
+     struct addrinfo *ai = 0;
+     struct addrinfo hints = { .ai_family = AF_UNSPEC,
++                              .ai_flags = 0,
+                               .ai_protocol = IPPROTO_TCP,
+                               .ai_socktype = SOCK_STREAM };
+     char service[NI_MAXSERV];
+-- 
+1.7.3.2
+


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