Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 15:41:40 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414279 - in head/security/hpenc: . files
Message-ID:  <201604291541.u3TFfeUd021262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Fri Apr 29 15:41:40 2016
New Revision: 414279
URL: https://svnweb.freebsd.org/changeset/ports/414279

Log:
  - Fix build with the recent libc++
  
  PR:		209097
  Submitted by:	dim

Added:
  head/security/hpenc/files/
  head/security/hpenc/files/patch-src_common.h   (contents, props changed)
Modified:
  head/security/hpenc/Makefile

Modified: head/security/hpenc/Makefile
==============================================================================
--- head/security/hpenc/Makefile	Fri Apr 29 15:23:33 2016	(r414278)
+++ head/security/hpenc/Makefile	Fri Apr 29 15:41:40 2016	(r414279)
@@ -2,7 +2,7 @@
 
 PORTNAME=	hpenc
 PORTVERSION=	2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://highsecure.ru/distfiles/
 

Added: head/security/hpenc/files/patch-src_common.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/hpenc/files/patch-src_common.h	Fri Apr 29 15:41:40 2016	(r414279)
@@ -0,0 +1,11 @@
+--- src/common.h.orig	2014-10-21 15:58:03 UTC
++++ src/common.h
+@@ -28,7 +28,7 @@
+ // Ugly, ugly hack
+ #if defined(__clang__) && \
+ 	(__STDC_VERSION__ >= 201112L || __cplusplus >= 201103L) && \
+-	!defined(__CLANG_MAX_ALIGN_T_DEFINED)
++	!defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_LIBCPP_STDDEF_H)
+ typedef struct {
+ 	long long __clang_max_align_nonce1
+ 	__attribute__((__aligned__(__alignof__(long long))));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604291541.u3TFfeUd021262>