summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-03-22 11:52:01 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-03-22 11:52:01 -0700
commit494143c3b4921a5c8b8596d58f2c8b98296bf688 (patch)
treef57504f40f311e51af1ec2558627775acf37bb03 /net-misc/ntp/ntp-4.2.8_p10.ebuild
parentapp-portage/gentoolkit: Block gentoolkit-dev completely (diff)
downloadgentoo-494143c3b4921a5c8b8596d58f2c8b98296bf688.tar.gz
gentoo-494143c3b4921a5c8b8596d58f2c8b98296bf688.tar.bz2
gentoo-494143c3b4921a5c8b8596d58f2c8b98296bf688.zip
net-misc/ntp: Add patch to fix build with gcc-4.9
Upstream somehow dropped -fPIC on the ntpq libraries, this breaks build with gcc-4.9 (current stable). This adds the calculated NTP_HARD_CFLAGS to the CFLAGS for ntpq, which includes -fPIC if configure decides it's needed. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-misc/ntp/ntp-4.2.8_p10.ebuild')
-rw-r--r--net-misc/ntp/ntp-4.2.8_p10.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-misc/ntp/ntp-4.2.8_p10.ebuild b/net-misc/ntp/ntp-4.2.8_p10.ebuild
index 89b01a6058f3..31948a88e5bf 100644
--- a/net-misc/ntp/ntp-4.2.8_p10.ebuild
+++ b/net-misc/ntp/ntp-4.2.8_p10.ebuild
@@ -39,6 +39,7 @@ S=${WORKDIR}/${MY_P}
PATCHES=(
"${FILESDIR}"/${PN}-4.2.8-ipc-caps.patch #533966
"${FILESDIR}"/${PN}-4.2.8-sntp-test-pthreads.patch #563922
+ "${FILESDIR}"/${PN}-4.2.8_p10-ntpq-fpic.patch
)
pkg_setup() {