Package: libprelude / 1.0.0-11.9

swig-ftbfs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix SWIG FTBFS
 Backport change from 3.1.0 that fixes FTBFS with recent SWIG.
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/844897
Origin: upstream

--- libprelude-1.0.0.orig/bindings/libpreludecpp.i
+++ libprelude-1.0.0/bindings/libpreludecpp.i
@@ -75,8 +75,12 @@ typedef signed int prelude_error_t;
 %template() std::vector<Prelude::Connection>;
 
 
-%fragment("IDMEFValue_to_SWIG", "header", fragment="IDMEFValueList_to_SWIG", fragment="SWIG_From_float") {
-
+%fragment("IDMEFValue_to_SWIG", "header", fragment="SWIG_From_double",
+                                          fragment="SWIG_From_float",
+                                          fragment="SWIG_From_int", fragment="SWIG_From_unsigned_SS_int",
+                                          fragment="SWIG_From_long_SS_long", fragment="SWIG_From_unsigned_SS_long_SS_long",
+                                          fragment="SWIG_FromCharPtr", fragment="SWIG_FromCharPtrAndSize", fragment="SWIG_FromBytePtrAndSize",
+                                          fragment="IDMEFValueList_to_SWIG") {
 
 int IDMEFValue_to_SWIG(const IDMEFValue &result, TARGET_LANGUAGE_OUTPUT_TYPE ret)
 {