c870667e66
OBS-URL: https://build.opensuse.org/request/show/53640 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=27
20 lines
642 B
Diff
20 lines
642 B
Diff
diff -rup vim73.orig/src/eval.c vim73/src/eval.c
|
|
--- vim73.orig/src/eval.c 2010-08-09 22:12:14.000000000 +0200
|
|
+++ vim73/src/eval.c 2010-11-22 08:52:10.660213250 +0100
|
|
@@ -10,6 +10,15 @@
|
|
/*
|
|
* eval.c: Expression evaluation.
|
|
*/
|
|
+
|
|
+// This workaround disable the GCC compiler warning only in this code file
|
|
+// because the code is safe.
|
|
+// http://lists.opensuse.org/opensuse-packaging/2010-11/msg00182.html
|
|
+#ifdef _FORTIFY_SOURCE
|
|
+#undef _FORTIFY_SOURCE
|
|
+#define _FORTIFY_SOURCE 1
|
|
+#endif
|
|
+
|
|
#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
|
|
# include "vimio.h" /* for mch_open(), must be before vim.h */
|
|
#endif
|