Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at 2012-09-11 09:05:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs (Old) and /work/SRC/openSUSE:Factory/.emacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "emacs", Maintainer is "werner@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2012-07-30 20:15:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.emacs.new/emacs.changes 2012-09-11 09:05:41.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 10 09:25:05 UTC 2012 - aj@suse.de + +- Add emacs-24.1-gets.patch to check whether gets is declared + before warning about it (needed by glibc 2.16). + +------------------------------------------------------------------- New: ---- emacs-24.1-gets.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ --- /var/tmp/diff_new_pack.VRVohc/_old 2012-09-11 09:05:53.000000000 +0200 +++ /var/tmp/diff_new_pack.VRVohc/_new 2012-09-11 09:05:53.000000000 +0200 @@ -95,6 +95,7 @@ Patch22: emacs-24.1-bnc628268.patch Patch23: emacs-24.1-xevent.patch Patch24: emacs-24.1-xgselect.patch +Patch25: emacs-24.1-gets.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global bug_345669 0 %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} @@ -203,6 +204,7 @@ %patch22 %patch23 %patch24 +%patch25 -p1 %if 0%{?suse_version} < 1130 %patch1 %endif ++++++ emacs-24.1-gets.patch ++++++ --- emacs-24.1/lib/stdio.in.h.old 2012-09-10 11:22:57.405938628 +0200 +++ emacs-24.1/lib/stdio.in.h 2012-09-10 11:24:01.071262324 +0200 @@ -715,8 +715,10 @@ /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ +#if HAVE_RAW_DECL_GETS _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif +#endif #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org