summaryrefslogtreecommitdiff
path: root/packages/glibc/2.12.1/640-alpha-atfcts.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-24 23:24:09 (GMT)
committerGitHub <noreply@github.com>2017-08-24 23:24:09 (GMT)
commit1b3ed29eb9add1b9bc9773fe2565cc5af09810a8 (patch)
tree1a2693774071358985340fbbc70c3fb4fc5ba928 /packages/glibc/2.12.1/640-alpha-atfcts.patch
parent8e8417226d5cdd90896df2c585ad03a995e5e9a1 (diff)
parent961ea1938204e4fc9199c2ff5933caaa1e3d0710 (diff)
Merge pull request #810 from stilor/fix-patching-ports
Fix patching ports
Diffstat (limited to 'packages/glibc/2.12.1/640-alpha-atfcts.patch')
-rw-r--r--packages/glibc/2.12.1/640-alpha-atfcts.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/glibc/2.12.1/640-alpha-atfcts.patch b/packages/glibc/2.12.1/640-alpha-atfcts.patch
new file mode 100644
index 0000000..90a9d0d
--- /dev/null
+++ b/packages/glibc/2.12.1/640-alpha-atfcts.patch
@@ -0,0 +1,12 @@
+--- glibc-2.12.1/sysdeps/unix/sysv/linux/kernel-features.h 2010-07-27 14:34:39.000000000 +0300
++++ glibc-2.12.1/sysdeps/unix/sysv/linux/kernel-features.h.new 2011-03-10 18:54:37.686795979 +0200
+@@ -437,7 +437,8 @@
+ the code. On PPC they were introduced in 2.6.17-rc1,
+ on SH in 2.6.19-rc1. */
+ #if __LINUX_KERNEL_VERSION >= 0x020611 \
+- && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613)
++ && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613) \
++ && (!defined __alpha__)
+ # define __ASSUME_ATFCTS 1
+ #endif
+