Revision: 26385 http://sourceforge.net/p/gar/code/26385 Author: rmottola Date: 2018-03-13 14:16:24 +0000 (Tue, 13 Mar 2018) Log Message: ----------- libicu51/trunk: solaris 9 additions and patches
Modified Paths: -------------- csw/mgar/pkg/libicu51/trunk/Makefile Added Paths: ----------- csw/mgar/pkg/libicu51/trunk/files/LETypes_ptr_sol9.patch Modified: csw/mgar/pkg/libicu51/trunk/Makefile =================================================================== --- csw/mgar/pkg/libicu51/trunk/Makefile 2018-03-12 16:26:09 UTC (rev 26384) +++ csw/mgar/pkg/libicu51/trunk/Makefile 2018-03-13 14:16:24 UTC (rev 26385) @@ -15,6 +15,17 @@ LICENSE = license.html +#where can we build? +PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386 +PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386 + +#solaris 9 specific patch for missing PTR_MAX +PATCHFILES_5.9 += LETypes_ptr_sol9.patch + +PATCHFILES += $(PATCHFILES_$(GAROSREL)) + + + PACKAGES += CSWlibicudata51 SPKG_DESC_CSWlibicudata51 = International Components for Unicode, libicudata.so.51 PKGFILES_CSWlibicudata51 += $(call pkgfiles_lib,libicudata.so.51) @@ -105,7 +116,19 @@ # packages using the libs will bail out as they assume the libs are self-contained. LINKER_FLAGS = -lCrun -lCstd -norunpath -BUILD64_LIBS_ONLY = 1 +#BUILD64_LIBS_ONLY = 1 +# Enable 64 bits, but not for Solaris 9 x86 +BUILD64_5.9_sparc = 1 +BUILD64_5.10_sparc = 1 +BUILD64_5.9_i386 = +BUILD64_5.10_i386 = 1 +BUILD64 = $(BUILD64_$(GAROSREL)_$(GARCH)) + +# Wrong return code of test TestEnumSet on Solaris 9, skip testsuite for now +SKIPTEST-5.9 = 1 +SKIPTEST ?= $(SKIPTEST-$(GAROSREL)) + + NOISALIST = 1 include gar/category.mk Added: csw/mgar/pkg/libicu51/trunk/files/LETypes_ptr_sol9.patch =================================================================== --- csw/mgar/pkg/libicu51/trunk/files/LETypes_ptr_sol9.patch (rev 0) +++ csw/mgar/pkg/libicu51/trunk/files/LETypes_ptr_sol9.patch 2018-03-13 14:16:24 UTC (rev 26385) @@ -0,0 +1,20 @@ +--- a/source/layout/LETypes.h.orig Fri Mar 20 09:23:20 2015 ++++ b/source/layout/LETypes.h Fri Mar 20 09:43:47 2015 +@@ -296,17 +296,9 @@ + * Max value representable by a uintptr + */ + +-#ifndef UINT32_MAX + #define LE_UINT32_MAX 0xFFFFFFFFU +-#else +-#define LE_UINT32_MAX UINT32_MAX +-#endif + +-#ifndef UINTPTR_MAX + #define LE_UINTPTR_MAX LE_UINT32_MAX +-#else +-#define LE_UINTPTR_MAX UINTPTR_MAX +-#endif + + /** + * Range check for overflow This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.