diff options
Diffstat (limited to 'sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild')
-rw-r--r-- | sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild index e01278e..92cc495 100644 --- a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild +++ b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild @@ -13,18 +13,7 @@ LICENSE="BSD zfs? ( CDDL )" IUSE="+build-kernel debug dtrace zfs" # Security Advisory and Errata patches. -UPSTREAM_PATCHES=( "SA-16:18/atkbd.patch" - "SA-16:19/sendmsg.patch" - "SA-16:20/linux.patch" - "SA-16:21/stat.patch" - "EN-16:07/ipi.patch" - "EN-16:08/zfs.patch" - "EN-16:11/vmbus.patch" - "EN-16:12/hv_storvsc.patch" - "EN-16:13/vmbus.patch" - "EN-16:14/hv_storvsc.patch" - "EN-16:15/vmbus.patch" - "EN-16:16/hv_storvsc.patch" ) +# UPSTREAM_PATCHES=() if [[ ${PV} != *9999* ]]; then KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" @@ -56,12 +45,13 @@ S="${WORKDIR}/sys" KERN_BUILD=GENTOO PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" - "${FILESDIR}/${PN}-10.0-gentoo.patch" + "${FILESDIR}/${PN}-11.0-gentoo.patch" "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" + "${FILESDIR}/${PN}-7.1-types.h-fix.patch" "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" "${FILESDIR}/${PN}-7.1-includes.patch" "${FILESDIR}/${PN}-9.0-sysctluint.patch" - "${FILESDIR}/${PN}-9.2-gentoo-gcc.patch" + "${FILESDIR}/${PN}-11.0-gentoo-gcc.patch" "${FILESDIR}/${PN}-10.1-gcc48.patch" ) pkg_setup() { @@ -87,9 +77,9 @@ src_prepare() { "${S}/conf/newvers.sh" # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 10.0-RELEASE it's 1000001. + # on 11.0-RELEASE it's 1100001. # FYI, can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1000001:g" \ + sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1100001:g" \ -i "${S}/conf/kern.pre.mk" \ -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" |