ports/devel/llvm/patches/patch-tools_lldb_bindings_interfaces_swig

16 lines
663 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix build with swig 4.1.0
cf https://reviews.llvm.org/D134877
cf https://bugzilla.redhat.com/show_bug.cgi?id=2128646
Index: tools/lldb/bindings/interfaces.swig
--- tools/lldb/bindings/interfaces.swig.orig
+++ tools/lldb/bindings/interfaces.swig
@@ -1,8 +1,5 @@
/* Various liblldb typedefs that SWIG needs to know about. */
#define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */
-/* The ISO C99 standard specifies that in C++ implementations limit macros such
- as INT32_MAX should only be defined if __STDC_LIMIT_MACROS is. */
-#define __STDC_LIMIT_MACROS
%include "stdint.i"
%include "lldb/lldb-defines.h"