SF.net SVN: gar:[26275] csw/mgar/pkg/gnutls3/trunk

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Wed Aug 30 22:06:16 CEST 2017


Revision: 26275
          http://sourceforge.net/p/gar/code/26275
Author:   rmottola
Date:     2017-08-30 20:06:15 +0000 (Wed, 30 Aug 2017)
Log Message:
-----------
gnutls3/trunk: new patch

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

Added Paths:
-----------
    csw/mgar/pkg/gnutls3/trunk/files/0001-substitute-AF_LOCAL-with-AF_UNIX.patch

Modified: csw/mgar/pkg/gnutls3/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/Makefile	2017-08-29 19:08:57 UTC (rev 26274)
+++ csw/mgar/pkg/gnutls3/trunk/Makefile	2017-08-30 20:06:15 UTC (rev 26275)
@@ -13,8 +13,9 @@
 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 += 0001-substitute-AF_LOCAL-with-AF_UNIX.patch
+
 # Some test scripts now uses some bashisms, so we make
 # sure that bash is used instead of sh
 ##PATCHFILES += 0003-force-use-of-bash-shell-in-non-portable-test-scripts.patch
@@ -37,6 +38,10 @@
 
 BUILD_DEP_PKGS += CSWlibiconv-dev
 
+PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
+PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+PACKAGING_PLATFORMS += solaris11-sparc solaris11-i386
+
 PACKAGES += CSWgnutls
 CATALOGNAME_gnutls = gnutls
 SPKG_DESC_CSWgnutls = GNU Transport Layer Security Utility Programs

Added: csw/mgar/pkg/gnutls3/trunk/files/0001-substitute-AF_LOCAL-with-AF_UNIX.patch
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/files/0001-substitute-AF_LOCAL-with-AF_UNIX.patch	                        (rev 0)
+++ csw/mgar/pkg/gnutls3/trunk/files/0001-substitute-AF_LOCAL-with-AF_UNIX.patch	2017-08-30 20:06:15 UTC (rev 26275)
@@ -0,0 +1,45 @@
+From 0a362d5a36fa16b45fbf0a481025ea33c75cb6a1 Mon Sep 17 00:00:00 2001
+From: Riccardo Mottola <rmottola at opencsw.org>
+Date: Wed, 30 Aug 2017 21:42:41 +0200
+Subject: [PATCH] substitute AF_LOCAL with AF_UNIX
+
+---
+ tests/dtls/dtls-stress.c | 5 +++++
+ tests/srp.c              | 5 +++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/tests/dtls/dtls-stress.c b/tests/dtls/dtls-stress.c
+index 01e5eca..14bb5a3 100644
+--- a/tests/dtls/dtls-stress.c
++++ b/tests/dtls/dtls-stress.c
+@@ -104,6 +104,11 @@
+ #include <assert.h>
+ #include <sys/wait.h>
+ 
++#ifndef AF_LOCAL
++#define AF_LOCAL AF_UNIX
++#endif
++
++
+ #if _POSIX_TIMERS && (_POSIX_TIMERS - 200112L) >= 0
+ 
+ // {{{ types
+diff --git a/tests/srp.c b/tests/srp.c
+index e0c1b8a..cf79354 100644
+--- a/tests/srp.c
++++ b/tests/srp.c
+@@ -27,6 +27,11 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ 
++#ifndef AF_LOCAL
++#define AF_LOCAL AF_UNIX
++#endif
++
++
+ #if defined(_WIN32) || !defined(ENABLE_SRP)
+ 
+ int main()
+-- 
+2.4.0
+

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