[csw-devel] SF.net SVN: gar:[10978] csw/mgar/pkg/libassuan/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Sep 16 16:32:29 CEST 2010
Revision: 10978
http://gar.svn.sourceforge.net/gar/?rev=10978&view=rev
Author: dmichelsen
Date: 2010-09-16 14:32:29 +0000 (Thu, 16 Sep 2010)
Log Message:
-----------
libassuan: Update to 2.0.1
Modified Paths:
--------------
csw/mgar/pkg/libassuan/trunk/Makefile
csw/mgar/pkg/libassuan/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/libassuan/trunk/files/0001-Add-INADDR_NONE-for-Solaris.patch
Modified: csw/mgar/pkg/libassuan/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libassuan/trunk/Makefile 2010-09-16 14:18:58 UTC (rev 10977)
+++ csw/mgar/pkg/libassuan/trunk/Makefile 2010-09-16 14:32:29 UTC (rev 10978)
@@ -1,5 +1,5 @@
GARNAME = libassuan
-GARVERSION = 2.0.0
+GARVERSION = 2.0.1
CATEGORIES = lib
DESCRIPTION = IPC library used by some GnuPG related software
@@ -9,6 +9,10 @@
MASTER_SITES = ftp://ftp.gnupg.org/gcrypt/libassuan/
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
+# Use this patch unless this is fixed:
+# https://bugs.g10code.com/gnupg/issue1282
+PATCHFILES = 0001-Add-INADDR_NONE-for-Solaris.patch
+
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = -(\d+(?:\.\d+)*).tar.bz2
Modified: csw/mgar/pkg/libassuan/trunk/checksums
===================================================================
--- csw/mgar/pkg/libassuan/trunk/checksums 2010-09-16 14:18:58 UTC (rev 10977)
+++ csw/mgar/pkg/libassuan/trunk/checksums 2010-09-16 14:32:29 UTC (rev 10978)
@@ -1 +1 @@
-59bc0ae7194c412d7a522029005684b2 libassuan-2.0.0.tar.bz2
+53a7d4c22af909d7236d17d454ef935b libassuan-2.0.1.tar.bz2
Added: csw/mgar/pkg/libassuan/trunk/files/0001-Add-INADDR_NONE-for-Solaris.patch
===================================================================
--- csw/mgar/pkg/libassuan/trunk/files/0001-Add-INADDR_NONE-for-Solaris.patch (rev 0)
+++ csw/mgar/pkg/libassuan/trunk/files/0001-Add-INADDR_NONE-for-Solaris.patch 2010-09-16 14:32:29 UTC (rev 10978)
@@ -0,0 +1,26 @@
+From f7b3397155b616637aa0b8ca51c78fa62b9a302b Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 16 Sep 2010 15:56:10 +0200
+Subject: [PATCH] Add INADDR_NONE for Solaris
+
+---
+ src/assuan-socket-connect.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/src/assuan-socket-connect.c b/src/assuan-socket-connect.c
+index 13b8aa5..8d5a09e 100644
+--- a/src/assuan-socket-connect.c
++++ b/src/assuan-socket-connect.c
+@@ -51,6 +51,9 @@
+ #ifndef AF_LOCAL
+ # define AF_LOCAL AF_UNIX
+ #endif
++#ifndef INADDR_NONE
++# define INADDR_NONE ((unsigned long) -1)
++#endif
+
+ #ifndef SUN_LEN
+ # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \
+--
+1.7.1
+
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