607e68012b
Copy from devel:libraries:c_c++/wv based on submit request 23331 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/23331 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wv?expand=0&rev=6
59 lines
1.3 KiB
Diff
59 lines
1.3 KiB
Diff
Index: wv-1.2.2/decompresswmf.c
|
|
===================================================================
|
|
--- wv-1.2.2.orig/decompresswmf.c
|
|
+++ wv-1.2.2/decompresswmf.c
|
|
@@ -17,6 +17,7 @@
|
|
* 02111-1307, USA.
|
|
*/
|
|
|
|
+#define _POSIX_SOURCE
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
Index: wv-1.2.2/wvRTF.c
|
|
===================================================================
|
|
--- wv-1.2.2.orig/wvRTF.c
|
|
+++ wv-1.2.2/wvRTF.c
|
|
@@ -17,6 +17,8 @@
|
|
* 02111-1307, USA.
|
|
*/
|
|
|
|
+#define _BSD_SOURCE
|
|
+#define _POSIX_SOURCE
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
@@ -192,7 +194,7 @@ output_rtfUserData (rtfUserData * ud)
|
|
rtf_output_char ('{');
|
|
|
|
/* font color */
|
|
- rtf_output (rtfColors[ud->cCol]);
|
|
+ rtf_output ("%s",rtfColors[ud->cCol]);
|
|
|
|
/* font face */
|
|
rtf_output ("\\f%d", ud->cFont);
|
|
Index: wv-1.2.2/field.c
|
|
===================================================================
|
|
--- wv-1.2.2.orig/field.c
|
|
+++ wv-1.2.2/field.c
|
|
@@ -17,6 +17,7 @@
|
|
* 02111-1307, USA.
|
|
*/
|
|
|
|
+#define _BSD_SOURCE
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
Index: wv-1.2.2/wvConfig.c
|
|
===================================================================
|
|
--- wv-1.2.2.orig/wvConfig.c
|
|
+++ wv-1.2.2/wvConfig.c
|
|
@@ -17,6 +17,7 @@
|
|
* 02111-1307, USA.
|
|
*/
|
|
|
|
+#define _BSD_SOURCE
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|