X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Flibs%2Flibiconv-full%2Fpatches%2F300-fortify-source-compat.patch;fp=package%2Flibs%2Flibiconv-full%2Fpatches%2F300-fortify-source-compat.patch;h=e7e92235e5f5e607aba1ef1a5d64b75c945b005f;hb=091ed01bc811b787f63250e08e6d0fa4b97e8968;hp=0000000000000000000000000000000000000000;hpb=eeeaca2c8bd5bdc8b966204241a835bb9a0d1955;p=openwrt-working-2016%2F.git diff --git a/package/libs/libiconv-full/patches/300-fortify-source-compat.patch b/package/libs/libiconv-full/patches/300-fortify-source-compat.patch new file mode 100644 index 0000000000..e7e92235e5 --- /dev/null +++ b/package/libs/libiconv-full/patches/300-fortify-source-compat.patch @@ -0,0 +1,23 @@ +--- a/m4/canonicalize.m4 ++++ b/m4/canonicalize.m4 +@@ -11,8 +11,6 @@ AC_DEFUN([gl_CANONICALIZE], + AC_CHECK_FUNCS(canonicalize_file_name) + if test $ac_cv_func_canonicalize_file_name = no; then + AC_LIBOBJ(canonicalize) +- AC_DEFINE([realpath], [rpl_realpath], +- [Define to a replacement function name for realpath().]) + gl_PREREQ_CANONICALIZE + fi + ]) +--- a/configure ++++ b/configure +@@ -35532,9 +35532,6 @@ done + if test $ac_cv_func_canonicalize_file_name = no; then + SRCLIBOBJS="$SRCLIBOBJS canonicalize.$ac_objext" + +-cat >>confdefs.h <<\_ACEOF +-#define realpath rpl_realpath +-_ACEOF + + +