[100330] trunk/dports/tex/texlive-bin

ryandesign at macports.org ryandesign at macports.org
Sat Dec 8 06:26:26 PST 2012


Revision: 100330
          https://trac.macports.org/changeset/100330
Author:   ryandesign at macports.org
Date:     2012-12-08 06:26:26 -0800 (Sat, 08 Dec 2012)
Log Message:
-----------
texlive-bin: add patch from icu port to fix build on Tiger (#35452)

Modified Paths:
--------------
    trunk/dports/tex/texlive-bin/Portfile

Added Paths:
-----------
    trunk/dports/tex/texlive-bin/files/patch-libs_icu_icu-49.1_common_putil.cpp.diff

Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile	2012-12-08 13:44:57 UTC (rev 100329)
+++ trunk/dports/tex/texlive-bin/Portfile	2012-12-08 14:26:26 UTC (rev 100330)
@@ -303,6 +303,10 @@
     default_variants    +x11
 }
 
+platform darwin 8 {
+    patchfiles-append patch-libs_icu_icu-49.1_common_putil.cpp.diff
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}acquire.html
 livecheck.regex     "TeX Live (\[0-9\]+) "

Copied: trunk/dports/tex/texlive-bin/files/patch-libs_icu_icu-49.1_common_putil.cpp.diff (from rev 100308, trunk/dports/devel/icu/files/patch-common-putil.cpp.diff)
===================================================================
--- trunk/dports/tex/texlive-bin/files/patch-libs_icu_icu-49.1_common_putil.cpp.diff	                        (rev 0)
+++ trunk/dports/tex/texlive-bin/files/patch-libs_icu_icu-49.1_common_putil.cpp.diff	2012-12-08 14:26:26 UTC (rev 100330)
@@ -0,0 +1,17 @@
+http://bugs.icu-project.org/trac/ticket/9367
+--- libs/icu/icu-49.1/common/putil.cpp.orig	2012-06-01 10:52:46.000000000 -0400
++++ libs/icu/icu-49.1/common/putil.cpp	2012-10-05 19:53:14.000000000 -0400
+@@ -123,6 +123,13 @@
+ #endif
+ 
+ /*
++ * Mac OS X 10.4 doesn't use its localtime_r() declaration in <time.h> if either _ANSI_SOURCE or _POSIX_C_SOURCE is #defined.
++ */
++#if defined(U_TZNAME) && U_PLATFORM_IS_DARWIN_BASED && (defined(_ANSI_SOURCE) || defined(_POSIX_C_SOURCE))
++U_CFUNC struct tm *localtime_r(const time_t *, struct tm *);
++#endif
++
++/*
+  * Only include langinfo.h if we have a way to get the codeset. If we later
+  * depend on more feature, we can test on U_HAVE_NL_LANGINFO.
+  *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121208/f0fa7c6b/attachment.html>


More information about the macports-changes mailing list