mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
rxvt: don't use getpt()
uClibc can be (and per default is) configured to not implement the glibc function getpt(3), so use the non-getpt rxvt configuration.
This commit is contained in:
17
package/rxvt/rxvt-2.7.5-include.patch
Normal file
17
package/rxvt/rxvt-2.7.5-include.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
uClibc doesn't have <sys/stropts.h>
|
||||
---
|
||||
src/init.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
Index: rxvt-2.7.5/src/init.h
|
||||
===================================================================
|
||||
--- rxvt-2.7.5.orig/src/init.h
|
||||
+++ rxvt-2.7.5/src/init.h
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
|
||||
# include <sys/resource.h> /* for struct rlimit */
|
||||
-# include <sys/stropts.h> /* for I_PUSH */
|
||||
# define _NEW_TTY_CTRL /* to get proper defines in <termios.h> */
|
||||
#endif
|
||||
|
||||
@@ -42,7 +42,7 @@ $(RXVT_DIR)/.configured: $(RXVT_DIR)/.unpacked
|
||||
(cd $(RXVT_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
rxvt_cv_ptys=GLIBC \
|
||||
rxvt_cv_ptys=USG \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
|
||||
Reference in New Issue
Block a user