Commit graph

3 commits

Author SHA1 Message Date
Jeffery To
cf1579a75c newt: Remove python_init_once.patch
It was pointed out in #11504 that the code in python_init_once.patch is
incorrect; the patch does not prevent newtInit() from being called more
than once (in fact it is called twice the first time initScreen() is
called).

Testing without the patch, using the example code from the corresponding
Debian bug report[1], did not result in any segfaults.

This removes the patch from the package build.

Supersedes #11504.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557960#5

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-24 15:51:55 +08:00
Jeffery To
e094a67337 newt: Update to 0.52.21
This also removes $(FPIC) from TARGET_CFLAGS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 04:59:36 +08:00
Jeffery To
80c95fc082 newt: Add new package
From the README:
Newt is a programming library for color text mode, widget based user
interfaces.  Newt can be used to add stacked windows, entry widgets,
checkboxes, radio buttons, labels, plain text fields, scrollbars,
etc., to text mode user interfaces.  Newt is based on the slang library.

Adapted from the old packages feed:
https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=tree;f=libs/newt

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-14 13:55:25 +08:00