[csw-devel] SF.net SVN: gar:[20769] csw/mgar/pkg/unbound/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Wed Apr 17 23:28:35 CEST 2013


Revision: 20769
          http://gar.svn.sourceforge.net/gar/?rev=20769&view=rev
Author:   chninkel
Date:     2013-04-17 21:28:32 +0000 (Wed, 17 Apr 2013)
Log Message:
-----------
unbound/trunk: fix for compilation bug

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

Added Paths:
-----------
    csw/mgar/pkg/unbound/trunk/files/0001-fix-preprocessing-bug.patch

Modified: csw/mgar/pkg/unbound/trunk/Makefile
===================================================================
--- csw/mgar/pkg/unbound/trunk/Makefile	2013-04-17 14:56:05 UTC (rev 20768)
+++ csw/mgar/pkg/unbound/trunk/Makefile	2013-04-17 21:28:32 UTC (rev 20769)
@@ -20,11 +20,13 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
 
+PATCHFILES += 0001-fix-preprocessing-bug.patch
+
 # If the url used to check for software update is different of MASTER_SITES, then 
 # uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
 # UPSTREAM_MASTER_SITES = 
 
-#CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-libevent=/opt/csw
 CONFIGURE_ARGS += --with-libexpat=/opt/csw
 CONFIGUTE_ARGS += --with-solaris-threads

Added: csw/mgar/pkg/unbound/trunk/files/0001-fix-preprocessing-bug.patch
===================================================================
--- csw/mgar/pkg/unbound/trunk/files/0001-fix-preprocessing-bug.patch	                        (rev 0)
+++ csw/mgar/pkg/unbound/trunk/files/0001-fix-preprocessing-bug.patch	2013-04-17 21:28:32 UTC (rev 20769)
@@ -0,0 +1,25 @@
+From ea9f488d3dfb3397880937cfac66b1168a852ed2 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Wed, 17 Apr 2013 23:10:44 +0200
+Subject: [PATCH] fix preprocessing bug
+
+---
+ util/storage/lookup3.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/util/storage/lookup3.c b/util/storage/lookup3.c
+index 845cc38..a96ca05 100644
+--- a/util/storage/lookup3.c
++++ b/util/storage/lookup3.c
+@@ -75,8 +75,6 @@ hash_set_raninit(uint32_t v)
+  */
+ #if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && \
+      __BYTE_ORDER == __LITTLE_ENDIAN) || \
+-    (defined(_BYTE_ORDER) && defined(_LITTLE_ENDIAN) && \
+-     _BYTE_ORDER == _LITTLE_ENDIAN) || \
+     (defined(i386) || defined(__i386__) || defined(__i486__) || \
+      defined(__i586__) || defined(__i686__) || defined(vax) || defined(MIPSEL))
+ # define HASH_LITTLE_ENDIAN 1
+-- 
+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