diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-26 04:30:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-26 04:30:05 +0100 |
commit | 390bde0d9e0b055c7e87ede2f6b3546ec7da02c7 (patch) | |
tree | de2070c20b334e95468095ec8e48d7bfcc15c2eb /dev-libs/stfl/files | |
parent | 240b57012ace855bbfd9934b07642416ceeeb5b8 (diff) |
gentoo auto-resync : 26:07:2023 - 04:30:05
Diffstat (limited to 'dev-libs/stfl/files')
-rw-r--r-- | dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch b/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch new file mode 100644 index 000000000000..c1690ce67fe4 --- /dev/null +++ b/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch @@ -0,0 +1,26 @@ +ncurses widechar functions are only available if the correct macros are +defined. Use CFLAGS and LDFLAGS from pkgconfig to ensure that widechar +functions are available. + +From 9b71952bfb29e036b13c16d621febff76e84e3e4 Mon Sep 17 00:00:00 2001 +From: Violet Purcell <vimproved@inventati.org> +Date: Tue, 11 Jul 2023 15:45:05 -0400 +Subject: [PATCH] Use pkg-config for correct ncursesw CFLAGS and LDFLAGS + +--- a/Makefile ++++ b/Makefile +@@ -21,8 +21,9 @@ + include Makefile.cfg + + export CC = gcc -pthread +-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC +-export LDLIBS += -lncursesw ++export PKG_CONFIG ?= pkg-config ++export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC $(shell ${PKG_CONFIG} --cflags ncursesw) ++export LDLIBS += $(shell ${PKG_CONFIG} --libs ncursesw) + + SONAME := libstfl.so.0 + VERSION := 0.24 +-- +2.41.0 + |