pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/llvm
Module Name: pkgsrc
Committed By: jperkin
Date: Sat Dec 15 23:41:45 UTC 2018
Modified Files:
pkgsrc/lang/llvm: distinfo
Added Files:
pkgsrc/lang/llvm/patches: patch-include_llvm-c_DataTypes.h
patch-include_llvm_Analysis_ConstantFolding.h
Log Message:
llvm: Restore SunOS patches.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h \
pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.17 pkgsrc/lang/llvm/distinfo:1.18
--- pkgsrc/lang/llvm/distinfo:1.17 Sun Dec 9 20:04:38 2018
+++ pkgsrc/lang/llvm/distinfo Sat Dec 15 23:41:45 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2018/12/09 20:04:38 adam Exp $
+$NetBSD: distinfo,v 1.18 2018/12/15 23:41:45 jperkin Exp $
SHA1 (llvm-7.0.0.src.tar.xz) = 27503a22614626e935a05b609ab4211be72cd78b
RMD160 (llvm-7.0.0.src.tar.xz) = af7af75c7fb15a004f887f81d71eae58c24c11e6
@@ -9,4 +9,6 @@ SHA1 (patch-cmake_config-ix.cmake) = a34
SHA1 (patch-cmake_modules_AddLLVM.cmake) = 31d4f47f03bef021a24d53147c1b66abd64e1d87
SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
+SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
+SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 45278d8acc6daa3d36a1a7b15e2e3b9a75a218e6
Added files:
Index: pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h
diff -u /dev/null pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h:1.1
--- /dev/null Sat Dec 15 23:41:45 2018
+++ pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h Sat Dec 15 23:41:45 2018
@@ -0,0 +1,34 @@
+$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $
+
+Don't implement sys/regset.h workaround, fix source instead.
+
+--- include/llvm-c/DataTypes.h.orig 2018-04-02 13:22:26.000000000 +0000
++++ include/llvm-c/DataTypes.h
+@@ -87,4 +87,27 @@ typedef signed int ssize_t;
+ #define HUGE_VALF (float)HUGE_VAL
+ #endif
+
++#if defined(__sun)
++#include <sys/regset.h>
++#undef CS
++#undef DS
++#undef ES
++#undef FS
++#undef GS
++#undef SS
++#undef EAX
++#undef ECX
++#undef EDX
++#undef EBX
++#undef ESP
++#undef EBP
++#undef ESI
++#undef EDI
++#undef EIP
++#undef UESP
++#undef EFL
++#undef ERR
++#undef TRAPNO
++#endif
++
+ #endif /* LLVM_C_DATATYPES_H */
Index: pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h
diff -u /dev/null pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h:1.1
--- /dev/null Sat Dec 15 23:41:45 2018
+++ pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h Sat Dec 15 23:41:45 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_llvm_Analysis_ConstantFolding.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $
+
+Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h
+
+--- include/llvm/Analysis/ConstantFolding.h.orig 2018-05-01 15:54:18.000000000 +0000
++++ include/llvm/Analysis/ConstantFolding.h
+@@ -20,6 +20,10 @@
+ #ifndef LLVM_ANALYSIS_CONSTANTFOLDING_H
+ #define LLVM_ANALYSIS_CONSTANTFOLDING_H
+
++#ifdef __sun
++#undef CS
++#endif
++
+ namespace llvm {
+ class APInt;
+ template <typename T> class ArrayRef;
Home |
Main Index |
Thread Index |
Old Index