diff --git a/CVE-2019-19797.patch b/CVE-2019-19797.patch index 4965e7f..280922e 100644 --- a/CVE-2019-19797.patch +++ b/CVE-2019-19797.patch @@ -19,21 +19,52 @@ be useful. The replacement functions do not work, because a header file providing the necessary function declarations is missing. --- + config.h.in | 3 + configure | 11 configure.ac | 1 fig2dev/fig2dev.c | 4 fig2dev/fig2dev.h | 4 fig2dev/read.c | 908 +++++++++++++++++++++++++++----------------------- fig2dev/read1_3.c | 12 fig2dev/tests/read.at | 29 + - 6 files changed, 534 insertions(+), 424 deletions(-) + 8 files changed, 548 insertions(+), 424 deletions(-) ---- configure.ac -+++ configure.ac 2020-01-21 11:31:32.048794834 +0000 -@@ -327,6 +327,7 @@ dnl Just provide our own pi - # example. - AC_HEADER_STDBOOL - AC_TYPE_SIZE_T -+AC_TYPE_SSIZE_T +|--- configure.ac +|+++ configure.ac 2020-01-21 11:31:32.048794834 +0000 +|@@ -327,6 +327,7 @@ dnl Just provide our own pi +| # example. +| AC_HEADER_STDBOOL +| AC_TYPE_SIZE_T +|+AC_TYPE_SSIZE_T +| +| # +| # Checks for library functions. +--- config.h.in ++++ config.h.in 2020-01-21 14:01:55.145152807 +0100 +@@ -184,3 +184,6 @@ + + /* Define to `unsigned int' if does not define. */ + #undef size_t ++ ++/* Define to `int' if does not define. */ ++#undef ssize_t +--- configure ++++ configure 2020-01-21 14:01:54.953150514 +0100 +@@ -6341,6 +6341,17 @@ _ACEOF + + fi + ++ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" ++if test "x$ac_cv_type_ssize_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define ssize_t int ++_ACEOF ++ ++fi ++ # # Checks for library functions. diff --git a/transfig.changes b/transfig.changes index 8afb4de..2b6d3db 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 21 13:08:49 UTC 2020 - Dr. Werner Fink + +- Avoid auto(re)config + ------------------------------------------------------------------- Tue Jan 21 12:15:46 UTC 2020 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index dde03ef..29b7809 100644 --- a/transfig.spec +++ b/transfig.spec @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed