diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-09 17:11:41 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-09 17:11:41 +0200 |
commit | 858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4 (patch) | |
tree | 2adf944a70f6c3b702859805291ad2baf1af4dab /main/stfl/ncurses.patch | |
parent | b578818036742256eea942ad128543d7c22d1c94 (diff) | |
download | aports-858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4.tar.bz2 aports-858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4.tar.xz |
testing/stfl: move to main
Diffstat (limited to 'main/stfl/ncurses.patch')
-rw-r--r-- | main/stfl/ncurses.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/stfl/ncurses.patch b/main/stfl/ncurses.patch new file mode 100644 index 0000000000..215d35d024 --- /dev/null +++ b/main/stfl/ncurses.patch @@ -0,0 +1,26 @@ +We need -D_XOPEN_SOURCE_EXTENDED for widechar in ncurses + +diff --git a/stfl_internals.h b/stfl_internals.h +index 3f9f45b..1559626 100644 +--- a/stfl_internals.h ++++ b/stfl_internals.h +@@ -28,7 +28,7 @@ extern "C" { + #endif + + #include "stfl.h" +-#include <ncursesw/ncurses.h> ++#include <ncurses.h> + #include <pthread.h> + + struct stfl_widget_type; +--- ./Makefile.orig ++++ ./Makefile +@@ -21,7 +21,7 @@ + include Makefile.cfg + + export CC = gcc -pthread +-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC ++export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -fPIC + export LDLIBS += -lncursesw + + SONAME := libstfl.so.0 |