From: Peter Korsgaard Date: Mon, 22 Dec 2008 22:10:35 +0000 (-0000) Subject: rxvt: don't use getpt() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43efac37ab9fd12a584d1969329de9794209c9a8;p=buildroot.git 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. --- diff --git a/package/rxvt/rxvt-2.7.5-include.patch b/package/rxvt/rxvt-2.7.5-include.patch new file mode 100644 index 0000000000..4ad51bbed7 --- /dev/null +++ b/package/rxvt/rxvt-2.7.5-include.patch @@ -0,0 +1,17 @@ +uClibc doesn't have +--- + 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 /* for struct rlimit */ +-# include /* for I_PUSH */ + # define _NEW_TTY_CTRL /* to get proper defines in */ + #endif + diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk index 2cf1fad899..e28d7dfc7a 100644 --- a/package/rxvt/rxvt.mk +++ b/package/rxvt/rxvt.mk @@ -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) \