FreeBSD Bugzilla – Attachment 215164 Details for
Bug 246936
doc.docbook.mk: Fix LATESTREVISION determination, causes build failure on non-English locales
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing LATESTREVISION determination
latestrevision_fix.patch (text/plain), 1.57 KB, created by
Olivier Certner
on 2020-06-02 13:10:03 UTC
(
hide
)
Description:
Patch fixing LATESTREVISION determination
Filename:
MIME Type:
Creator:
Olivier Certner
Created:
2020-06-02 13:10:03 UTC
Size:
1.57 KB
patch
obsolete
>Index: share/mk/doc.docbook.mk >=================================================================== >--- share/mk/doc.docbook.mk (révision 54180) >+++ share/mk/doc.docbook.mk (copie de travail) >@@ -95,7 +95,7 @@ > # If using git, use git log. The revision won't work with the generated links, > # because it is a hash, and git log doesn't know about git svn find-rev. > .if exists(${DOC_PREFIX}/.git) && exists(${GIT}) >-LATESTREVISION!=cd ${.CURDIR} && ${GIT} log -1 --pretty=format:'\ >+LATESTREVISION!=cd ${.CURDIR} && LC_ALL=C ${GIT} log -1 --pretty=format:'\ > --stringparam latestrevision.timestamp "%ci" \ > --stringparam latestrevision.committer "%cn" \ > --stringparam latestrevision.number "%h"' ${SRCS} >@@ -103,7 +103,7 @@ > # if using Subversion, get information from metadata > # rather than embedded version strings > .if exists(${DOC_PREFIX}/.svn) && exists(${SVN}) >-LATESTREVISION!=cd ${.CURDIR} && ${SVN} info ${SRCS} 2>/dev/null | \ >+LATESTREVISION!=cd ${.CURDIR} && LC_ALL=C ${SVN} info ${SRCS} 2>/dev/null | \ > ${AWK} 'BEGIN { genfmt="--stringparam latestrevision."; \ > timefmt=genfmt"timestamp \"%s %s\""; \ > comtfmt=genfmt"committer \"%s\""; \ >@@ -121,7 +121,7 @@ > # the revision date from the timestamp of the most recent file and > # set the revision number to "filedate" > .if empty(LATESTREVISION) >-LATESTREVISION!=${STAT} 2>/dev/null -t '%F %T %Z' -f '\ >+LATESTREVISION!=cd ${.CURDIR} && ${STAT} 2>/dev/null -t '%F %T %Z' -f '\ > --stringparam latestrevision.timestamp "%Sc" \ > --stringparam latestrevision.committer "%Su" \ > --stringparam latestrevision.number "filedate"' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246936
:
215164
|
221737
|
221741
|
221742