summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro.dev@gmail.com>2016-10-08 13:50:44 +0900
committerYuta SATOH <nigoro.dev@gmail.com>2016-10-08 13:50:44 +0900
commit0d12610172a4b2aecb10165af751190da5c3cfe8 (patch)
tree0a0485a72ce27264912ce842d54c70c15e5414fb
parentfreebsd.eclass: sync latest tree. (diff)
downloadgentoo-bsd-0d12610172a4b2aecb10165af751190da5c3cfe8.tar.gz
gentoo-bsd-0d12610172a4b2aecb10165af751190da5c3cfe8.tar.bz2
gentoo-bsd-0d12610172a4b2aecb10165af751190da5c3cfe8.zip
sys-freebsd/freebsd-sources: add ${PN}-11.0-gentoo.patch
-rw-r--r--sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch22
-rw-r--r--sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch
new file mode 100644
index 0000000..6acd6aa
--- /dev/null
+++ b/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch
@@ -0,0 +1,22 @@
+diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
+index e27ea93..615dbac 100644
+--- a/sys/conf/kern.mk
++++ b/sys/conf/kern.mk
+@@ -5,7 +5,7 @@
+ #
+ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
+ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
+- -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \
++ -Wundef -Wno-pointer-sign \
+ -Wmissing-include-dirs -fdiagnostics-show-option \
+ -Wno-unknown-pragmas \
+ ${CWARNEXTRA}
+@@ -86,7 +86,7 @@ FORMAT_EXTENSIONS= -fformat-extensions
+ # Setting -mno-sse implies -mno-sse2, -mno-sse3, -mno-ssse3, -mno-sse41 and -mno-sse42
+ #
+ .if ${MACHINE_CPUARCH} == "i386"
+-CFLAGS.gcc+= -mno-align-long-strings -mpreferred-stack-boundary=2
++CFLAGS.gcc+= -mpreferred-stack-boundary=2
+ CFLAGS.clang+= -mno-aes -mno-avx
+ CFLAGS+= -mno-mmx -mno-sse -msoft-float
+ INLINE_LIMIT?= 8000
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild
index bf4781c..c649b12 100644
--- a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild
+++ b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild
@@ -49,6 +49,7 @@ PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch"
"${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch"
"${FILESDIR}/${PN}-7.1-includes.patch"
"${FILESDIR}/${PN}-9.0-sysctluint.patch"
+ "${FILESDIR}/${PN}-11.0-gentoo.patch"
"${FILESDIR}/${PN}-11.0-gentoo-gcc.patch"
"${FILESDIR}/${PN}-10.1-gcc48.patch" )