aboutsummaryrefslogtreecommitdiff
path: root/libs/slang2/patches
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2019-04-30 20:29:43 +0800
committerJeffery To <jeffery.to@gmail.com>2019-05-14 13:55:21 +0800
commit46a658748d31dc9bb1e26f9d4abfa0775be2b959 (patch)
tree906e7c8418239aea6b1dd236d535d0cac75759f9 /libs/slang2/patches
parentfedc5cf5a45cd1cd6a4440724729c46d61ac3523 (diff)
slang: Add new package
From the S-Lang website: S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software. It provides facilities required by interactive applications such as display/screen management, keyboard input, keymaps, and so on. The most exciting feature of the library is the slang interpreter that may be easily embedded into a program to make it extensible. While the emphasis has always been on the embedded nature of the interpreter, it may also be used in a stand-alone fashion through the use of slsh, which is part of the S-Lang distribution. Adapted from the old packages feed: https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=tree;f=libs/slang2 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'libs/slang2/patches')
-rw-r--r--libs/slang2/patches/001-skip-terminfo-dir-test.patch11
-rw-r--r--libs/slang2/patches/002-use-target-ar.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/libs/slang2/patches/001-skip-terminfo-dir-test.patch b/libs/slang2/patches/001-skip-terminfo-dir-test.patch
new file mode 100644
index 000000000..e56fa7707
--- /dev/null
+++ b/libs/slang2/patches/001-skip-terminfo-dir-test.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -7029,7 +7029,7 @@ TERMCAP=-ltermcap
+
+ for terminfo_dir in $JD_Terminfo_Dirs
+ do
+- if test -d $terminfo_dir
++ if true
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
diff --git a/libs/slang2/patches/002-use-target-ar.patch b/libs/slang2/patches/002-use-target-ar.patch
new file mode 100644
index 000000000..d2ef8bbc4
--- /dev/null
+++ b/libs/slang2/patches/002-use-target-ar.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -73,7 +73,7 @@ INSTALL_DATA = @INSTALL_DATA@
+ MKINSDIR = @CONFIG_DIR@/autoconf/mkinsdir.sh
+ RM = rm -f
+ RM_R = rm -rf
+-AR_CR = ar cr
++AR_CR = $(AR) cr
+ RMDIR = rmdir
+ LN = /bin/ln -sf
+ CP = cp