Skip to content

Commit

Permalink
Revert "dev-libs/icu: Remove old" - cleanup depends on bug 603792
Browse files Browse the repository at this point in the history
This reverts commit f7f37c1.
  • Loading branch information
akhuettel committed Jan 15, 2017
1 parent cde25f9 commit e9cb330
Show file tree
Hide file tree
Showing 5 changed files with 736 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-libs/icu/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
DIST icu4c-55_1-src.tgz 25600847 SHA256 e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b SHA512 21a3eb2c3678cd27b659eed073f8f1bd99c9751291d077820e9a370fd90b7d9b3bf414cc03dec4acb7fa61087e02d04f9f40e91a32c5180c718e2102fbd0cd35 WHIRLPOOL 8c5221c82ee2c8a02beafd0fdf91e0038e49912cc8b05fb7437dd4d0a0204b97ea62c45c2dd9dde0f658620b772d706e795821865c567d2e1eb91f8b83a12c4a
DIST icu4c-57_1-src.tgz 22360664 SHA256 ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581 SHA512 a3c701e9c81622db545bcf93f315c7b13159750f43f009d0aec59ceae3a8e1ccb751826d4b8a7387aca47f38bff2a85816b1a123b07d2bf731558c7b66e47b8a WHIRLPOOL f9107e3019a0d9b4c40b83e6e7ea5277ab7d4317e349d6c5d6731f0b2355811b37a4c12aa8408a3bc0195ffeebdc952b7df709d2fb191ae1044fffadbafc897c
DIST icu4c-58_1-src.tgz 23366443 SHA256 0eb46ba3746a9c2092c8ad347a29b1a1b4941144772d13a88667a7b11ea30309 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155 WHIRLPOOL faf2624a83f0d6f874166b328522dc9c89088db2690433ab05e96371722b635b81fd5210c7e87fe8e5df6681e881cf10204832925b448552affe8c2f6c851e37
DIST icu4c-58_2-src.tgz 23369902 SHA256 2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a WHIRLPOOL 25829f8ee870b703fd604ae5b9b584390a142f5011e2a5db18332453e2f1640d81270086f243318eeb93f187b04ea23dab14901ab81c8d924c8d47b1f77aee5a
230 changes: 230 additions & 0 deletions dev-libs/icu/files/icu-57.1-remove-bashisms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
Index: config/Makefile.inc.in
===================================================================
--- a/config/Makefile.inc.in (revision 36912)
+++ b/config/Makefile.inc.in (working copy)
@@ -125,12 +125,6 @@
# with usually. Many applications will want to add $(ICULIBS_I18N) as well.
ICULIBS = $(ICULIBS_BASE) $(ICULIBS_I18N) $(ICULIBS_COMMON) $(ICULIBS_DATA)

-# Proper echo newline handling is needed in icu-config
-ECHO_N=@ICU_ECHO_N@
-ECHO_C=@ICU_ECHO_C@
-# Not currently being used but good to have for proper tab handling
-ECHO_T=@ICU_ECHO_T@
-
##################################################################
##################################################################
#
Index: config/icu-config-bottom
===================================================================
--- a/config/icu-config-bottom (revision 36912)
+++ b/config/icu-config-bottom (working copy)
@@ -217,73 +217,73 @@
;;

--cflags)
- echo $ECHO_N "${CFLAGS} ${ECHO_C}"
+ printf "%s" "${CFLAGS} "
;;

--cc)
- echo $ECHO_N "${CC} ${ECHO_C}"
+ printf "%s" "${CC} "
;;

--cxx)
- echo $ECHO_N "${CXX} ${ECHO_C}"
+ printf "%s" "${CXX} "
;;

--cxxflags)
- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}"
+ printf "%s" "${CXXFLAGS} "
;;

--cppflags)
# Don't echo the -I. - it's unneeded.
- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //'
+ printf "%s" "${CPPFLAGS} " | sed -e 's/-I. //'
;;

--cppflags-searchpath)
- echo $ECHO_N "-I${prefix}/include ${ECHO_C}"
+ printf "%s" "-I${prefix}/include "
;;

--cppflags-dynamic)
- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}"
+ printf "%s" "${SHAREDLIBCPPFLAGS} "
;;

--cxxflags-dynamic)
- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}"
+ printf "%s" "${SHAREDLIBCXXFLAGS} "
;;

--cflags-dynamic)
- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}"
+ printf "%s" "${SHAREDLIBCFLAGS} "
;;

--ldflags-system)
- echo $ECHO_N "${LIBS} ${ECHO_C}"
+ printf "%s" "${LIBS} "
;;

--ldflags)
- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}"
+ printf "%s" "${LDFLAGS} ${ICULIBS} "
# $RPATH_LDFLAGS
;;

--ldflags-libsonly)
- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}"
+ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} "
;;

--ldflags-icuio)
- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}"
+ printf "%s" " ${ICULIBS_ICUIO} "
;;

--ldflags-obsolete)
- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}"
+ printf "%s" "${ICULIBS_OBSOLETE} "
;;

--ldflags-toolutil)
- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}"
+ printf "%s" " ${ICULIBS_TOOLUTIL} "
;;

--ldflags-layout)
- echo $ECHO_N "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX} ${ECHO_C}"
+ printf "%s" "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX} "
;;

--ldflags-searchpath)
- echo $ECHO_N "-L${libdir} ${ECHO_C}"
+ printf "%s" "-L${libdir} "
;;

--detect-prefix)
@@ -319,47 +319,47 @@
;;

--shared-datadir)
- echo $ECHO_N "${datadir} ${ECHO_C}"
+ printf "%s" "${datadir} "
;;

--incfile)
- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}"
+ printf "%s" "${pkglibdir}/Makefile.inc "
;;

--incpkgdatafile)
- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}"
+ printf "%s" "${pkglibdir}/pkgdata.inc "
;;

--icudata)
- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}"
+ printf "%s" "${ICUDATA_NAME} "
;;

--icudata-mode)
- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}"
+ printf "%s" "${PKGDATA_MODE} "
;;

--icudata-install-dir)
- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}"
+ printf "%s" "${ICUPKGDATA_DIR} "
;;

--icudatadir)
- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}"
+ printf "%s" "${ICUDATA_DIR} "
;;

--shlib-c)
- echo $ECHO_N "${SHLIB_c} ${ECHO_C}"
+ printf "%s" "${SHLIB_c} "
;;

--shlib-cc)
- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}"
+ printf "%s" "${SHLIB_cc} "
;;

--version)
- echo $ECHO_N $VERSION
+ printf "%s" "$VERSION"
;;

--unicode-version)
- echo $ECHO_N $UNICODE_VERSION
+ printf "%s" "$UNICODE_VERSION"
;;

--host)
Index: configure.ac
===================================================================
--- a/configure.ac (revision 36912)
+++ b/configure.ac (working copy)
@@ -19,24 +19,6 @@
PACKAGE="icu"
AC_SUBST(PACKAGE)

-# Use custom echo test for newline option
-# Current autoconf (2.65) gives incorrect echo newline option
-# for icu-config
-# This may be removed later - mow (June 17, 2010)
-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=
-case `/bin/sh -c "echo -n x"` in
--n*)
- case `/bin/sh -c "echo 'x\c'"` in
- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character.
- *) ICU_ECHO_C='\c';;
- esac;;
-*)
- ICU_ECHO_N='-n';;
-esac
-AC_SUBST(ICU_ECHO_N)
-AC_SUBST(ICU_ECHO_C)
-AC_SUBST(ICU_ECHO_T)
-
AC_MSG_CHECKING(for ICU version numbers)

# Get the ICU version from uversion.h or other headers
Index: icudefs.mk.in
===================================================================
--- a/icudefs.mk.in (revision 36912)
+++ b/icudefs.mk.in (working copy)
@@ -155,11 +155,6 @@
ENABLE_STATIC = @ENABLE_STATIC@
ENABLE_SHARED = @ENABLE_SHARED@

-# Echo w/o newline
-
-#ECHO_N = @ICU_ECHO_N@
-#ECHO_C = @ICU_ECHO_C@
-
# Commands to compile
COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c
COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c
Index: test/hdrtst/Makefile.in
===================================================================
--- a/test/hdrtst/Makefile.in (revision 36912)
+++ b/test/hdrtst/Makefile.in (working copy)
@@ -33,9 +33,6 @@
include $(shell icu-config --incfile)
DIRS=$(prefix)/include/unicode
LDIRS=$(prefix)/include/layout
-ECHO_T=@ECHO_T@
-ECHO_C=@ECHO_C@
-ECHO_N=@ECHO_N@

all:
@echo Please read this Makefile for more information.
Loading

0 comments on commit e9cb330

Please sign in to comment.