mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 20:00:43 +00:00
hurd-EIEIO-undef.diff: try to undef an errno.h to fix the ftbfs
This commit is contained in:
parent
652423119b
commit
0a1e26a3f7
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -5,6 +5,7 @@ llvm-toolchain-3.4 (1:3.4.2-6) unstable; urgency=medium
|
||||
* Move the polly installation in the dh_auto_install rules instead
|
||||
of using *.install files. In llvm.org/apt/, I have to sometime disable
|
||||
polly
|
||||
* hurd-EIEIO-undef.diff: try to undef an errno.h to fix the ftbfs
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 23 Jul 2014 13:02:56 +0200
|
||||
|
||||
|
14
debian/patches/hurd-EIEIO-undef.diff
vendored
Normal file
14
debian/patches/hurd-EIEIO-undef.diff
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
Index: llvm-toolchain-3.4-3.4.2/utils/TableGen/InstrInfoEmitter.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.4-3.4.2.orig/utils/TableGen/InstrInfoEmitter.cpp
|
||||
+++ llvm-toolchain-3.4-3.4.2/utils/TableGen/InstrInfoEmitter.cpp
|
||||
@@ -569,6 +569,9 @@ void InstrInfoEmitter::emitEnums(raw_ost
|
||||
OS << "\n#ifdef GET_INSTRINFO_ENUM\n";
|
||||
OS << "#undef GET_INSTRINFO_ENUM\n";
|
||||
|
||||
+ OS << "// Undef for HURD\n";
|
||||
+ OS << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
|
||||
+
|
||||
OS << "namespace llvm {\n\n";
|
||||
|
||||
CodeGenTarget Target(Records);
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -42,3 +42,4 @@ CVE-2014-2893.diff
|
||||
follow-parallel-var.diff
|
||||
scan-build-search-path.diff
|
||||
gcc-4.9-i586-linux-gnu.diff
|
||||
hurd-EIEIO-undef.diff
|
||||
|
Loading…
Reference in New Issue
Block a user