summaryrefslogtreecommitdiff
path: root/dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2024-06-09 14:47:52 -0400
committerMatt Turner <mattst88@gentoo.org>2024-06-09 14:54:37 -0400
commit9f9389f384e8db5558abcecd343742f67480817f (patch)
treeafa254c1f6015e8cbc4753d6af780a2f995462ee /dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch
parent7d55aed35f8a694818a23eb7208e196e91e9176f (diff)
downloadgentoo-9f9389f384e8db5558abcecd343742f67480817f.tar.gz
gentoo-9f9389f384e8db5558abcecd343742f67480817f.tar.bz2
gentoo-9f9389f384e8db5558abcecd343742f67480817f.zip
dev-cpp/glog: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch')
-rw-r--r--dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch b/dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch
deleted file mode 100644
index e53318ac66ff..000000000000
--- a/dev-cpp/glog/files/glog-0.4.0-fix-x32-build.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Description: fix FTBFS on x32
-Author: Guillaume Morin <guillaume@morinfr.org>
-Forwarded: no
-Last-Update: 2019-08-05
-
----
-
---- google-glog-0.3.4.orig/src/symbolize_unittest.cc
-+++ google-glog-0.3.4/src/symbolize_unittest.cc
-@@ -313,8 +313,12 @@ extern "C" {
- inline void* always_inline inline_func() {
- void *pc = NULL;
- #ifdef TEST_X86_32_AND_64
-+#if __x86_64__ || (__x86_64__ && __ILP32__)
-+ __asm__ __volatile__("call 1f; 1: popq %q0" : "=r"(pc));
-+#else
- __asm__ __volatile__("call 1f; 1: pop %0" : "=r"(pc));
- #endif
-+#endif
- return pc;
- }
-
-@@ -322,8 +326,12 @@ void* ATTRIBUTE_NOINLINE non_inline_func
- void* ATTRIBUTE_NOINLINE non_inline_func() {
- void *pc = NULL;
- #ifdef TEST_X86_32_AND_64
-+#if __x86_64__ || (__x86_64__ && __ILP32__)
-+ __asm__ __volatile__("call 1f; 1: popq %q0" : "=r"(pc));
-+#else
- __asm__ __volatile__("call 1f; 1: pop %0" : "=r"(pc));
- #endif
-+#endif
- return pc;
- }
-