[Midnightbsd-cvs] mports [23166] trunk/devel/icu/files: add patchset

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Apr 7 21:21:47 EDT 2018


Revision: 23166
          http://svnweb.midnightbsd.org/mports/?rev=23166
Author:   laffer1
Date:     2018-04-07 21:21:46 -0400 (Sat, 07 Apr 2018)
Log Message:
-----------
add patchset

Added Paths:
-----------
    trunk/devel/icu/files/patch-common_Makefile.in
    trunk/devel/icu/files/patch-common_umutex.cpp
    trunk/devel/icu/files/patch-common_unicode_platform.h
    trunk/devel/icu/files/patch-common_unicode_uconfig.h
    trunk/devel/icu/files/patch-config_mh-bsd-gcc
    trunk/devel/icu/files/patch-i18n_Makefile.in
    trunk/devel/icu/files/patch-io_Makefile.in
    trunk/devel/icu/files/patch-layout_Makefile.in
    trunk/devel/icu/files/patch-layoutex_Makefile.in
    trunk/devel/icu/files/patch-stubdata_Makefile.in
    trunk/devel/icu/files/patch-tools_ctestfw_Makefile.in
    trunk/devel/icu/files/patch-tools_toolutil_Makefile.in

Added: trunk/devel/icu/files/patch-common_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-common_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-common_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- common/Makefile.in.orig	2016-03-23 20:50:12 UTC
++++ common/Makefile.in
+@@ -146,7 +146,7 @@ install-local: install-headers install-l
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-common_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-common_umutex.cpp
===================================================================
--- trunk/devel/icu/files/patch-common_umutex.cpp	                        (rev 0)
+++ trunk/devel/icu/files/patch-common_umutex.cpp	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,25 @@
+--- common/umutex.cpp.orig	2016-03-23 20:50:10 UTC
++++ common/umutex.cpp
+@@ -264,19 +264,19 @@ static pthread_cond_t initCondition = PT
+ U_COMMON_API UBool U_EXPORT2
+ umtx_initImplPreInit(UInitOnce &uio) {
+     pthread_mutex_lock(&initMutex);
+-    int32_t state = uio.fState;
++    int32_t state = umtx_loadAcquire(uio.fState);
+     if (state == 0) {
+         umtx_storeRelease(uio.fState, 1);
+         pthread_mutex_unlock(&initMutex);
+         return TRUE;   // Caller will next call the init function.
+     } else {
+-        while (uio.fState == 1) {
++        while (umtx_loadAcquire(uio.fState) == 1) {
+             // Another thread is currently running the initialization.
+             // Wait until it completes.
+             pthread_cond_wait(&initCondition, &initMutex);
+         }
+         pthread_mutex_unlock(&initMutex);
+-        U_ASSERT(uio.fState == 2);
++        U_ASSERT(umtx_loadAcquire(uio.fState) == 2);
+         return FALSE;
+     }
+ }


Property changes on: trunk/devel/icu/files/patch-common_umutex.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-common_unicode_platform.h
===================================================================
--- trunk/devel/icu/files/patch-common_unicode_platform.h	                        (rev 0)
+++ trunk/devel/icu/files/patch-common_unicode_platform.h	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,13 @@
+--- common/unicode/platform.h.orig	2016-03-23 20:49:58 UTC
++++ common/unicode/platform.h
+@@ -379,8 +379,8 @@
+  */
+ #ifdef U_IS_BIG_ENDIAN
+     /* Use the predefined value. */
+-#elif defined(BYTE_ORDER) && defined(BIG_ENDIAN)
+-#   define U_IS_BIG_ENDIAN (BYTE_ORDER == BIG_ENDIAN)
++#elif defined(_BYTE_ORDER) && defined(_BIG_ENDIAN)
++#   define U_IS_BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+ #elif defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__)
+     /* gcc */
+ #   define U_IS_BIG_ENDIAN (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)


Property changes on: trunk/devel/icu/files/patch-common_unicode_platform.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-common_unicode_uconfig.h
===================================================================
--- trunk/devel/icu/files/patch-common_unicode_uconfig.h	                        (rev 0)
+++ trunk/devel/icu/files/patch-common_unicode_uconfig.h	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- common/unicode/uconfig.h.orig	2016-03-23 20:49:54 UTC
++++ common/unicode/uconfig.h
+@@ -87,7 +87,7 @@
+  * @internal
+  */
+ #ifndef U_DISABLE_RENAMING
+-#define U_DISABLE_RENAMING 0
++#define U_DISABLE_RENAMING 1
+ #endif
+ 
+ /**


Property changes on: trunk/devel/icu/files/patch-common_unicode_uconfig.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-config_mh-bsd-gcc
===================================================================
--- trunk/devel/icu/files/patch-config_mh-bsd-gcc	                        (rev 0)
+++ trunk/devel/icu/files/patch-config_mh-bsd-gcc	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,82 @@
+--- config/mh-bsd-gcc.orig	2016-03-23 20:50:50 UTC
++++ config/mh-bsd-gcc
+@@ -4,8 +4,8 @@
+ ## others. All Rights Reserved.
+ 
+ ## Commands to generate dependency files
+-GEN_DEPS.c=	$(CC) -E -MM $(DEFS) $(CPPFLAGS)
+-GEN_DEPS.cc=	$(CXX) -E -MM $(DEFS) $(CPPFLAGS)
++GEN_DEPS.c=  $(CC) -E -MM $(DEFS) $(CPPFLAGS)
++GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS) $(CXXFLAGS)
+ 
+ ## Flags for position independent code
+ SHAREDLIBCFLAGS = -fPIC
+@@ -18,10 +18,16 @@ LIBCPPFLAGS =
+ 
+ ## Compiler switch to embed a runtime search path
+ LD_RPATH=	
+-LD_RPATH_PRE=	-Wl,-rpath,
++LD_RPATH_PRE = -Wl,-rpath,
++
++## These are the library specific LDFLAGS
++LDFLAGSICUDT=-nodefaultlibs -nostdlib
+ 
+ ## Compiler switch to embed a library name
+-LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
++# The initial tab in the next line is to prevent icu-config from reading it.
++	LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
++#SH# # We can't depend on MIDDLE_SO_TARGET being set.
++#SH# LD_SONAME=
+ 
+ ## Shared library options
+ LD_SOOPTIONS= -Wl,-Bsymbolic
+@@ -33,27 +39,27 @@ STATIC_O = ao
+ 
+ ## Compilation rules
+ %.$(STATIC_O): $(srcdir)/%.c
+-	$(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
++	$(call SILENT_COMPILE,$(strip $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS)) -o $@ $<)
+ %.o: $(srcdir)/%.c
+-	$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
++	$(call SILENT_COMPILE,$(strip $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS)) -o $@ $<)
+ 
+ %.$(STATIC_O): $(srcdir)/%.cpp
+-	$(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $<
++	$(call SILENT_COMPILE,$(strip $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS)) -o $@ $<)
+ %.o: $(srcdir)/%.cpp
+-	$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
++	$(call SILENT_COMPILE,$(strip $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS)) -o $@ $<)
+ 
+ 
+ ## Dependency rules
+ %.d: $(srcdir)/%.c
+-	@echo "generating dependency information for $<"
++	$(call ICU_MSG,(deps)) $<
+ 	@$(SHELL) -ec '$(GEN_DEPS.c) $< \
+-		| sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \
++		| sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
+ 		[ -s $@ ] || rm -f $@'
+ 
+ %.d: $(srcdir)/%.cpp
+-	@echo "generating dependency information for $<"
++	$(call ICU_MSG,(deps)) $<
+ 	@$(SHELL) -ec '$(GEN_DEPS.cc) $< \
+-		| sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \
++		| sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
+ 		[ -s $@ ] || rm -f $@'
+ 
+ ## Versioned libraries rules
+@@ -64,7 +70,7 @@ STATIC_O = ao
+ 	$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
+ 
+ ##  Bind internal references
+- 
++
+ # LDflags that pkgdata will use
+ BIR_LDFLAGS= -Wl,-Bsymbolic
+ 
+@@ -77,4 +83,3 @@ STATIC_PREFIX = 
+ 
+ ## End BSD-specific setup
+ 
+-


Property changes on: trunk/devel/icu/files/patch-config_mh-bsd-gcc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-i18n_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-i18n_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-i18n_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- i18n/Makefile.in.orig	2016-03-23 20:49:38 UTC
++++ i18n/Makefile.in
+@@ -135,7 +135,7 @@ install-local: install-headers install-l
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-i18n_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-io_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-io_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-io_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- io/Makefile.in.orig	2016-03-23 20:50:52 UTC
++++ io/Makefile.in
+@@ -96,7 +96,7 @@ install-local: install-headers install-l
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-io_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-layout_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-layout_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-layout_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- layout/Makefile.in.orig	2016-03-23 20:56:48 UTC
++++ layout/Makefile.in
+@@ -180,7 +180,7 @@ install-local: install-headers install-l
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-layout_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-layoutex_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-layoutex_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-layoutex_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- layoutex/Makefile.in.orig	2016-03-23 20:56:38 UTC
++++ layoutex/Makefile.in
+@@ -109,7 +109,7 @@ endif
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-layoutex_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-stubdata_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-stubdata_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-stubdata_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- stubdata/Makefile.in.orig	2016-03-23 20:50:52 UTC
++++ stubdata/Makefile.in
+@@ -82,7 +82,7 @@ install-local: install-library
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-stubdata_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-tools_ctestfw_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-tools_ctestfw_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-tools_ctestfw_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- tools/ctestfw/Makefile.in.orig	2016-03-23 20:50:16 UTC
++++ tools/ctestfw/Makefile.in
+@@ -78,7 +78,7 @@ install-local: install-library
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-tools_ctestfw_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/icu/files/patch-tools_toolutil_Makefile.in
===================================================================
--- trunk/devel/icu/files/patch-tools_toolutil_Makefile.in	                        (rev 0)
+++ trunk/devel/icu/files/patch-tools_toolutil_Makefile.in	2018-04-08 01:21:46 UTC (rev 23166)
@@ -0,0 +1,11 @@
+--- tools/toolutil/Makefile.in.orig	2016-03-23 20:50:26 UTC
++++ tools/toolutil/Makefile.in
+@@ -89,7 +89,7 @@ install-local: install-library
+ install-library: all-local
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ ifneq ($(ENABLE_STATIC),)
+-	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++	$(INSTALL_DATA) $(TARGET) $(DESTDIR)$(libdir)
+ endif
+ ifneq ($(ENABLE_SHARED),)
+ 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)


Property changes on: trunk/devel/icu/files/patch-tools_toolutil_Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list