 d36c5152ef
			
		
	
	d36c5152ef
	
	
	
		
			
			When PKG_CONFIG_LIBDIR was unset in the environment, the configure script was deducing the PKG_CONFIG_LIBDIR from the location of the pkg-config binary, which doesn't make a lot of sense, and isn't done by other autotools based packages. Patch imported from the Buildroot project: https://github.com/buildroot/buildroot/blob/master/package/ncurses/0001-fixup-pkg-config-handling.patch Also refresh patches while we're at. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
		
			
				
	
	
		
			15 lines
		
	
	
		
			266 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			266 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/ncurses/curses.priv.h
 | |
| +++ b/ncurses/curses.priv.h
 | |
| @@ -55,6 +55,11 @@ extern "C" {
 | |
|  
 | |
|  #include <ncurses_cfg.h>
 | |
|  
 | |
| +#if NEED_WCHAR_H
 | |
| +#include <stdarg.h>
 | |
| +#include <wchar.h>
 | |
| +#endif
 | |
| +
 | |
|  #if USE_RCS_IDS
 | |
|  #define MODULE_ID(id) static const char Ident[] = id;
 | |
|  #else
 |