ALT Linux repositórios
Group :: Desenvolvimento/C
RPM: swig
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: disable_gdb_interface.patch
Download
Download
commit 3036dcc6b13f9dbf5462292a4d0fd7ea627707ac
Author: Evgeny Sinelnikov <sin@altlinux.ru>
Date: Tue Sep 26 21:14:51 2017 +0300
Disable guile gdb interface initialization for guile >= 2.2
diff --git a/Lib/guile/guilemain.i b/Lib/guile/guilemain.i
index 925b81f..7ebe315 100644
--- a/Lib/guile/guilemain.i
+++ b/Lib/guile/guilemain.i
@@ -12,10 +12,12 @@
extern "C" {
#endif
+#if (SCM_MAJOR_VERSION < 2 || SCM_MINOR_VERSION < 2)
/* Debugger interface (don't change the order of the following lines) */
#define GDB_TYPE SCM
#include <libguile/gdb_interface.h>
GDB_INTERFACE;
+#endif
static void
inner_main(void *closure, int argc, char **argv)