+++ /dev/null
-Author: Ole Streicher <debian@liska.ath.cx>
-Subject: Remove function that is only in cpl >= 6.3 to establish compability
- with older (stable) versions and allow backporting.
---- a/src/er_main.c
-+++ b/src/er_main.c
-@@ -641,7 +641,6 @@
-
- cpl_msg_set_domain (PACKAGE);
- cpl_msg_set_time_off ();
--cpl_msg_set_threadid_off ();
- cpl_msg_set_domain_on ();
- cpl_msg_set_component_off ();
-
+++ /dev/null
-Author: Ole Streicher <debian@liska.ath.cx>
-Subject: Fix autotools files to allow the current version.
---- esorex-3.10/configure.ac.orig
-+++ esorex-2.10/configure.ac
-@@ -5,6 +5,7 @@
-
- AC_CONFIG_SRCDIR([Makefile.am])
- AC_CONFIG_AUX_DIR([admin])
-+AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_HEADERS([config.h])
-
- AC_CANONICAL_HOST
+++ /dev/null
-Author: Ole Streicher <debian@liska.ath.cx>
-Description: Fix -Werror=format-security errors
---- a/src/er_paramutils.c
-+++ b/src/er_paramutils.c
-@@ -731,7 +731,7 @@
- (void) strcat (tmp, " to ");
- (void) strcat (tmp, er_strutils_dblstr (cpl_parameter_get_range_max_double (p)));
- (void) strcat (tmp, ".\n");
-- cpl_msg_error (er_func, tmp);
-+ cpl_msg_error (er_func, "%s", tmp);
-
- cpl_free(tmp);
- return -1;
---- a/src/er_plugin.c
-+++ b/src/er_plugin.c
-@@ -367,7 +367,7 @@
- if (wer != 0)
- {
- (void) snprintf(estr,(size_t)238,"Expansion of %s failed...",xpath);
-- cpl_msg_error (er_func, estr);
-+ cpl_msg_error (er_func, "%s", estr);
- goto dealloc;
- }
- }