Package: swig / 3.0.12-2

Metadata

Package Version Patches format
swig 3.0.12-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ccache rename.diff | (download)

CCache/Makefile.in | 1 1 + 0 - 0 !
CCache/ccache.c | 15 12 + 3 - 0 !
CCache/ccache.h | 2 0 + 2 - 0 !
3 files changed, 13 insertions(+), 5 deletions(-)

 work around renaming of ccache-swig binary
 The package suffixes binaries with the major version, which changes
 ccache-swig to ccache-swig3.0. However, ccache is sensitive to the
 name of its binary. The test did not take the program-suffix configure
 option into account.
 .
 This is fixed with this patch, however, the original name will not
 work anymore here (ccache-swig is probably broken now, calling it
 via the installed symlink should work though).
 .
 The patch replaces the macro MYNAME to refer to the installed name
 of the ccache-swig binary.

octave4.4.patch | (download)

Examples/Makefile.in | 2 1 + 1 - 0 !
Examples/octave/module_load/runme.m | 65 39 + 26 - 0 !
Examples/test-suite/octave/Makefile.in | 2 1 + 1 - 0 !
Lib/octave/octcontainer.swg | 4 4 + 0 - 0 !
Lib/octave/octprimtypes.swg | 12 11 + 1 - 0 !
Lib/octave/octrun.swg | 143 137 + 6 - 0 !
Lib/octave/octruntime.swg | 63 58 + 5 - 0 !
Lib/octave/std_pair.i | 16 14 + 2 - 0 !
8 files changed, 265 insertions(+), 42 deletions(-)

 compatibility fixes for octave 4.4
python fix function cast warnings.patch | (download)

Lib/python/pyinit.swg | 4 2 + 2 - 0 !
Lib/python/pyrun.swg | 34 26 + 8 - 0 !
Source/Modules/python.cxx | 26 13 + 13 - 0 !
3 files changed, 41 insertions(+), 23 deletions(-)

 [python] fix new gcc8 warnings in generated code
 Avoid casts between incompatible function types where possible (when
 keyword args are in use, it is not possible to avoid such warnings as
 they are inherent in the design of Python's C API in that particular
 case).
python fix gcc8 strncpy warning.patch | (download)

Lib/python/pyinit.swg | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix issue reported for swig_python_fixmethods
 "buffer_size: Calling strncpy with a source string whose length
 (10 chars) is greater than or equal to the size argument (10)
 will fail to null-terminate buff."
 .
 The issue is only reported for the "swig_ptr: " line, but for
 consistency we replace both occurrences of strncpy with memcpy.
fix gcc8 memset warnings.patch | (download)

Lib/python/pycontainer.swg | 4 2 + 2 - 0 !
Lib/python/pystdcommon.swg | 21 8 + 13 - 0 !
Lib/ruby/rubycontainer.swg | 12 6 + 6 - 0 !
Lib/ruby/rubystdcommon.swg | 21 8 + 13 - 0 !
4 files changed, 24 insertions(+), 34 deletions(-)

 fix new gcc8 warnings in generated code
 Backported from upstream git master based on the following ranges of commits: