pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake-fedora/patches add a missing patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1de98bef9de
branches:  trunk
changeset: 629851:c1de98bef9de
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Jan 29 08:34:47 2014 +0000

description:
add a missing patch.

diffstat:

 devel/cmake-fedora/patches/patch-Modules_DateTimeFormat.cmake |  15 +++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 4c5f800ea867 -r c1de98bef9de devel/cmake-fedora/patches/patch-Modules_DateTimeFormat.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cmake-fedora/patches/patch-Modules_DateTimeFormat.cmake     Wed Jan 29 08:34:47 2014 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Modules_DateTimeFormat.cmake,v 1.1 2014/01/29 08:34:47 obache Exp $
+
+* -u is much portable than --utc.
+
+--- Modules/DateTimeFormat.cmake.orig  2012-07-13 05:44:02.000000000 +0000
++++ Modules/DateTimeFormat.cmake
+@@ -28,7 +28,7 @@ IF(NOT DEFINED _DATE_TIME_FORMAT_CMAKE_)
+       IF(_locale)
+           SET(ENV{LC_ALL} ${_locale})
+       ENDIF(_locale)
+-      COMMAND_OUTPUT_TO_VARIABLE(${date_var} date --utc "${format}")
++      COMMAND_OUTPUT_TO_VARIABLE(${date_var} date -u "${format}")
+     ENDMACRO(TODAY date_var format)
+ 
+     TODAY(TODAY_CHANGELOG "+%a %b %d %Y" "C")



Home | Main Index | Thread Index | Old Index