aports/main/gsl/dont-disable-deprecated.patch
2017-02-09 06:26:57 +00:00

25 lines
895 B
Diff

diff -urp gsl-2.2.1/configure.ac patched/configure.ac
--- gsl-2.2.1/configure.ac 2016-08-31 15:54:07.000000000 +0100
+++ patched/configure.ac 2017-01-31 14:52:10.000000000 +0000
@@ -575,10 +575,6 @@ AH_BOTTOM([#if defined(GSL_RANGE_CHECK_O
AH_BOTTOM([#define RETURN_IF_NULL(x) if (!x) { return ; }
])
-AH_VERBATIM([GSL_DISABLE_DEPRECATED],
-[/* Disable deprecated functions and enums while building */
-#define GSL_DISABLE_DEPRECATED 1])
-
dnl
AC_CONFIG_FILES([ \
Makefile \
--- gsl-2.2.1/config.h.in 2016-08-31 15:54:51.000000000 +0100
+++ patched/config.h.in 2017-01-31 16:01:17.000000000 +0000
@@ -1,8 +1,5 @@
/* config.h.in. Generated from configure.ac by autoheader. */
-/* Disable deprecated functions and enums while building */
-#define GSL_DISABLE_DEPRECATED 1
-
/* Define if you have inline with C99 behavior */
#undef HAVE_C99_INLINE