Update to 0.52.25:
* improve Makefile (Ryan Carsten Schmidt) * fix "yes" in Spanish translation OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/newt?expand=0&rev=61
This commit is contained in:
40
newt-0.52.20-implicit-pointer-decl.patch
Normal file
40
newt-0.52.20-implicit-pointer-decl.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
Index: newt-0.52.20/dialogboxes.c
|
||||
===================================================================
|
||||
--- newt-0.52.20.orig/dialogboxes.c
|
||||
+++ newt-0.52.20/dialogboxes.c
|
||||
@@ -1,4 +1,5 @@
|
||||
/* simple dialog boxes, used by both whiptail and tcl dialog bindings */
|
||||
+#define _XOPEN_SOURCE 700
|
||||
|
||||
#include "config.h"
|
||||
#include <fcntl.h>
|
||||
@@ -8,6 +9,11 @@
|
||||
#include <unistd.h>
|
||||
#include <wchar.h>
|
||||
#include <slang.h>
|
||||
+#include <strings.h>
|
||||
+
|
||||
+#ifdef HAVE_ALLOCA_H
|
||||
+#include <alloca.h>
|
||||
+#endif
|
||||
|
||||
#include "nls.h"
|
||||
#include "dialogboxes.h"
|
||||
Index: newt-0.52.20/newt.c
|
||||
===================================================================
|
||||
--- newt-0.52.20.orig/newt.c
|
||||
+++ newt-0.52.20/newt.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define _XOPEN_SOURCE 700
|
||||
#include "config.h"
|
||||
|
||||
#include <slang.h>
|
||||
Index: newt-0.52.20/textbox.c
|
||||
===================================================================
|
||||
--- newt-0.52.20.orig/textbox.c
|
||||
+++ newt-0.52.20/textbox.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define _XOPEN_SOURCE 700
|
||||
|
||||
#include <ctype.h>
|
||||
#include <slang.h>
|
||||
Reference in New Issue
Block a user