SF.net SVN: gar:[24733] csw/mgar/pkg/libicu54/trunk

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Fri Mar 20 12:48:33 CET 2015


Revision: 24733
          http://sourceforge.net/p/gar/code/24733
Author:   rmottola
Date:     2015-03-20 11:48:33 +0000 (Fri, 20 Mar 2015)
Log Message:
-----------
libicu54/trunk: add solaris9 specific patch

Modified Paths:
--------------
    csw/mgar/pkg/libicu54/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/libicu54/trunk/files/LETypes_ptr_sol9.patch

Modified: csw/mgar/pkg/libicu54/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libicu54/trunk/Makefile	2015-03-17 14:27:14 UTC (rev 24732)
+++ csw/mgar/pkg/libicu54/trunk/Makefile	2015-03-20 11:48:33 UTC (rev 24733)
@@ -15,6 +15,11 @@
 
 LICENSE = license.html
 
+#solaris 9 specific patch for missing PTR_MAX
+PATCHFILES_5.9 += LETypes_ptr_sol9.patch
+
+PATCHFILES += $(PATCHFILES_$(GAROSREL))
+
 PACKAGES += CSWlibicudata54
 SPKG_DESC_CSWlibicudata54 = International Components for Unicode, libicudata.so.54
 PKGFILES_CSWlibicudata54 += $(call pkgfiles_lib,libicudata.so.54)

Added: csw/mgar/pkg/libicu54/trunk/files/LETypes_ptr_sol9.patch
===================================================================
--- csw/mgar/pkg/libicu54/trunk/files/LETypes_ptr_sol9.patch	                        (rev 0)
+++ csw/mgar/pkg/libicu54/trunk/files/LETypes_ptr_sol9.patch	2015-03-20 11:48:33 UTC (rev 24733)
@@ -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.



More information about the devel mailing list