svn commit: r414279 - in head/security/hpenc: . files

Vsevolod Stakhov vsevolod at FreeBSD.org
Fri Apr 29 15:41:41 UTC 2016


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))));


More information about the svn-ports-head mailing list