summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/tcsh/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-05 05:26:37 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-03-13 17:21:52 +0100
commita214c903e4037fad32abdee704b6f913f1f7d629 (patch)
treedfc7571589ca8735853cf983cc1398a5bf939f92 /meta-oe/recipes-extended/tcsh/files
parent0a7d88ea219ec5e8a966aaafe08662d288e6e760 (diff)
downloadmeta-openembedded-a214c903e4037fad32abdee704b6f913f1f7d629.tar.gz
tcsh: Upgrade tcsh_6.17.02.bb -> tcsh_6.18.01.bb
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/tcsh/files')
-rw-r--r--meta-oe/recipes-extended/tcsh/files/07_nls.patch14
-rw-r--r--meta-oe/recipes-extended/tcsh/files/cross-compile.patch12
-rw-r--r--meta-oe/recipes-extended/tcsh/files/fix-make-catalogs.patch27
-rw-r--r--meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch18
4 files changed, 10 insertions, 61 deletions
diff --git a/meta-oe/recipes-extended/tcsh/files/07_nls.patch b/meta-oe/recipes-extended/tcsh/files/07_nls.patch
deleted file mode 100644
index fe7845f43e..0000000000
--- a/meta-oe/recipes-extended/tcsh/files/07_nls.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Author: Franz Pletz <fpletz@franz-pletz.org>
2Description: Fixes NLS build bug
3
4--- a/nls/Makefile.in
5+++ b/nls/Makefile.in
6@@ -2,7 +2,7 @@
7
8 LOCALES= C et finnish french german greek italian ja pl russian \
9 spanish ukrainian
10-GENCAT= gencat
11+GENCAT= gencat --new
12 INSTALL= ginstall
13
14 datarootdir=@datarootdir@
diff --git a/meta-oe/recipes-extended/tcsh/files/cross-compile.patch b/meta-oe/recipes-extended/tcsh/files/cross-compile.patch
deleted file mode 100644
index 06dcfdae03..0000000000
--- a/meta-oe/recipes-extended/tcsh/files/cross-compile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -git a/Makefile.in b/Makefile.in
2--- a/Makefile.in
3+++ b/Makefile.in
4@@ -446,7 +446,7 @@
5
6 gethost: gethost.c sh.err.h tc.const.h sh.h
7 rm -f gethost
8- ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
9+ ${BUILD_CC} -o gethost ${BUILD_LDFLAGS} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
10
11 tc.defs.c: gethost host.defs
12 @rm -f $@.tmp
diff --git a/meta-oe/recipes-extended/tcsh/files/fix-make-catalogs.patch b/meta-oe/recipes-extended/tcsh/files/fix-make-catalogs.patch
deleted file mode 100644
index 43001f117d..0000000000
--- a/meta-oe/recipes-extended/tcsh/files/fix-make-catalogs.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Author: christos <christos>
2Date: Thu May 13 18:39:02 2010 +0000
3
4 add a rule to make catalogs and propagate ${MAKE} instead of hard-coding make.
5
6--- a/Makefile.in
7+++ b/Makefile.in
8@@ -687,7 +687,7 @@ shar:
9 rm -rf tcsh-${VERSION}
10
11 catalogs:
12- @(cd nls; make catalogs)
13+ @(cd nls; ${MAKE})
14
15 tcsh-${VERSION}.tar.Z:
16 rm -rf tcsh-${VERSION}
17--- a/nls/Makefile.in
18+++ b/nls/Makefile.in
19@@ -18,7 +18,7 @@ install: $(INSTALLED)
20 $(INSTALL) $< $@
21
22 %.cat:
23- $(GENCAT) $@ $(@:%.cat=%)/*set*
24+ cat $(@:%.cat=%)/charset $(@:%.cat=%)/set* | $(GENCAT) $@
25
26 clean:
27 $(RM) $(CATALOGS)
diff --git a/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch b/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch
index 7f3e926247..3dd420a0e3 100644
--- a/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch
+++ b/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch
@@ -1,16 +1,18 @@
1Author: Jean-Luc Leger <reiga@dspnet.fr.eu.org> 1Author: Jean-Luc Leger <reiga@dspnet.fr.eu.org>
2Description: fix broken globbing expansion 2Description: fix broken globbing expansion
3Debian-Bug: #603545 3Debian-Bug: #603545
4--- a/tc.str.c 4Index: tcsh-6.18.01/tc.str.c
5+++ b/tc.str.c 5===================================================================
6@@ -104,8 +104,9 @@ rt_mbtowc(Char *pwc, const char *s, size_t n) 6--- tcsh-6.18.01.orig/tc.str.c 2012-01-10 13:34:31.000000000 -0800
7 7+++ tcsh-6.18.01/tc.str.c 2013-02-26 13:12:13.429153489 -0800
8 memset (&mb, 0, sizeof mb); 8@@ -122,8 +122,9 @@
9 ret = mbrtowc(&tmp, s, n, &mb); 9 #else
10 ret = mbtowc(&tmp, s, n);
11 #endif
10- if (ret > 0) { 12- if (ret > 0) {
11+ if (ret >= 0) 13+ if (ret >= 0)
12 *pwc = tmp; 14 *pwc = tmp;
13+ if (ret > 0) { 15+ if (ret >= 0) {
14 #ifdef UTF16_STRINGS 16 #if defined(UTF16_STRINGS) && defined(HAVE_MBRTOWC)
15 if (tmp >= 0xd800 && tmp <= 0xdbff) { 17 if (tmp >= 0xd800 && tmp <= 0xdbff) {
16 /* UTF-16 surrogate pair. Fetch second half and compute 18 /* UTF-16 surrogate pair. Fetch second half and compute