From 8ea15a1ff5a5b04f1f35ec6f132b34622568dd0f Mon Sep 17 00:00:00 2001 From: Jan Scholz Date: Fri, 20 Nov 2009 13:58:10 +0100 Subject: [PATCH] [openvpn] fix compilation with -maltivec Hand over the definition of 'bool' from openvpn's basic.h to . This works form me, although I think to make it nicer, the existence of stdbool.h should be checked, for example by the AC_HEADER_STDBOOL macro. Seems like this _is_ considered a gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40017 For now, let's fix it here. --- .../net-misc/openvpn/openvpn-2.1_rc21.ebuild | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gentoo/overlay/net-misc/openvpn/openvpn-2.1_rc21.ebuild b/gentoo/overlay/net-misc/openvpn/openvpn-2.1_rc21.ebuild index c0a4e2f..f3e7baa 100644 --- a/gentoo/overlay/net-misc/openvpn/openvpn-2.1_rc21.ebuild +++ b/gentoo/overlay/net-misc/openvpn/openvpn-2.1_rc21.ebuild @@ -46,6 +46,7 @@ src_unpack() { epatch "${FILESDIR}/${PN}-2.1_rc13-peercred.patch" epatch "${FILESDIR}"/openvpn-2.1_rc20-pkcs11.patch + epatch "${FILESDIR}/openvpn-2.1_gcc44_fix.patch" use ipv6 && epatch "${WORKDIR}"/${P}-ipv6-${IPV6_VERSION}.patch use eurephia && epatch "${DISTDIR}/${P}_eurephia.patch" sed -i \ -- 1.6.4.4