SHA256
8
0
forked from pool/newt

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:
2025-04-07 07:26:16 +00:00
committed by Git OBS Bridge
commit dbe9d66916
12 changed files with 907 additions and 0 deletions

View 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>