Added in missing part of gs_sprintf backport (bug #979681).
Resolves: rhbz#979681
This commit is contained in:
parent
d4cc58dc0f
commit
999742fb01
@ -28429,3 +28429,19 @@ diff -up ghostscript-9.07/trio/triostr.h.gs_sprintf ghostscript-9.07/trio/triost
|
|||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
+#endif /* TRIO_TRIOSTR_H */
|
+#endif /* TRIO_TRIOSTR_H */
|
||||||
|
--- ghostscript-9.07/base/stdio_.h.gs_sprintf 2013-07-17 15:09:26.756919462 +0100
|
||||||
|
+++ ghostscript-9.07/base/stdio_.h 2013-07-17 15:10:10.428097610 +0100
|
||||||
|
@@ -77,4 +77,13 @@ int unlink(const char *);
|
||||||
|
int snprintf(char *buffer, size_t count, const char *format , ...);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+/* for our non-localizing (v)s(n)printf() functions */
|
||||||
|
+/* only *really* required for floating point conversions */
|
||||||
|
+#include "gssprintf.h"
|
||||||
|
+
|
||||||
|
+#ifndef sprintf
|
||||||
|
+#define sprintf DO_NOT_USE_SPRINTF
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+
|
||||||
|
#endif /* stdio__INCLUDED */
|
||||||
|
@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer
|
|||||||
Name: ghostscript
|
Name: ghostscript
|
||||||
Version: %{gs_ver}
|
Version: %{gs_ver}
|
||||||
|
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
|
|
||||||
# Included CMap data is Redistributable, no modification permitted,
|
# Included CMap data is Redistributable, no modification permitted,
|
||||||
# see http://bugzilla.redhat.com/487510
|
# see http://bugzilla.redhat.com/487510
|
||||||
@ -357,6 +357,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 17 2013 Tim Waugh <twaugh@redhat.com> 9.07-10
|
||||||
|
- Added in missing part of gs_sprintf backport: add in the header to
|
||||||
|
stdio_.h. Without this there are problems with va_args on some
|
||||||
|
platforms (bug #979681).
|
||||||
|
|
||||||
* Mon Jul 8 2013 Tim Waugh <twaugh@redhat.com> 9.07-9
|
* Mon Jul 8 2013 Tim Waugh <twaugh@redhat.com> 9.07-9
|
||||||
- Upstream patch from bug #693921 to avoid zfapi crash (bug #969785).
|
- Upstream patch from bug #693921 to avoid zfapi crash (bug #969785).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user