|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../uclibc/pkg_patch/gcc/302-c99-snprintf.patch
|
|
|
|
# Copyright (C) 2009 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
--- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500
|
|
|
|
+++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500
|
|
|
|
@@ -142,7 +142,7 @@
|
|
|
|
using ::vsprintf;
|
|
|
|
}
|
|
|
|
|
|
|
|
-#if _GLIBCXX_USE_C99
|
|
|
|
+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
|
|
|
|
|
|
|
|
#undef snprintf
|
|
|
|
#undef vfscanf
|