<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Makefile, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-20T20:11:49Z</updated>
<entry>
<title>Merge branch 'km/bsd-sysctl'</title>
<updated>2015-03-20T20:11:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-20T20:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=551fc7aec1a7efe868a59fbeea14582b41923f4d'/>
<id>urn:sha1:551fc7aec1a7efe868a59fbeea14582b41923f4d</id>
<content type='text'>
We now detect number of CPUs on older BSD-derived systems.

* km/bsd-sysctl:
  thread-utils.c: detect CPU count on older BSD-like systems
  configure: support HAVE_BSD_SYSCTL option
</content>
</entry>
<entry>
<title>configure: support HAVE_BSD_SYSCTL option</title>
<updated>2015-03-10T22:13:25Z</updated>
<author>
<name>Kyle J. McKay</name>
<email>mackyle@gmail.com</email>
</author>
<published>2015-03-08T07:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9529080de253b89474402f323e10470656764b3a'/>
<id>urn:sha1:9529080de253b89474402f323e10470656764b3a</id>
<content type='text'>
On BSD-compatible systems some information such as the number
of available CPUs may only be available via the sysctl function.

Add support for a HAVE_BSD_SYSCTL option complete with autoconf
support and include the sys/syctl.h header when the option is
enabled to make the sysctl function available.

Signed-off-by: Kyle J. McKay &lt;mackyle@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tc/curl-vernum-output-broken-in-7.11'</title>
<updated>2015-02-22T20:28:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-22T20:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c0997feda811663182d1ae9f596a769de9e801f7'/>
<id>urn:sha1:c0997feda811663182d1ae9f596a769de9e801f7</id>
<content type='text'>
Certain older vintages of cURL give irregular output from
"curl-config --vernum", which confused our build system.

* tc/curl-vernum-output-broken-in-7.11:
  Makefile: handle broken curl version number in version check
</content>
</entry>
<entry>
<title>Merge branch 'km/gettext-n'</title>
<updated>2015-02-11T21:42:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:42:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b19aab58f1bc44e9a6715f26ba32b8c9cda3b1fa'/>
<id>urn:sha1:b19aab58f1bc44e9a6715f26ba32b8c9cda3b1fa</id>
<content type='text'>
* km/gettext-n:
  gettext.h: add parentheses around N_ expansion if supported
</content>
</entry>
<entry>
<title>Makefile: handle broken curl version number in version check</title>
<updated>2015-02-04T02:30:24Z</updated>
<author>
<name>Tom G. Christensen</name>
<email>tgc@statsbiblioteket.dk</email>
</author>
<published>2015-01-30T09:52:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3af67924e03ddb29a2b698266a9f27ef30cd663b'/>
<id>urn:sha1:3af67924e03ddb29a2b698266a9f27ef30cd663b</id>
<content type='text'>
curl 7.11.0 through 7.12.2 when built from their official release
archives will present a 5 digit version number instead of the documented
6 digits which breaks the version check in the Makefile.
Correct these broken version numbers on the fly when extracting them to
ensure the comparison works correctly.

[jc: shortened the new sed scripts a bit]

Signed-off-by: Tom G. Christensen &lt;tgc@statsbiblioteket.dk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gettext.h: add parentheses around N_ expansion if supported</title>
<updated>2015-01-12T19:10:19Z</updated>
<author>
<name>Kyle J. McKay</name>
<email>mackyle@gmail.com</email>
</author>
<published>2015-01-11T20:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=290c8e7a3fe182ff64c3e6b76fbbbc6dcff4727c'/>
<id>urn:sha1:290c8e7a3fe182ff64c3e6b76fbbbc6dcff4727c</id>
<content type='text'>
The gettext N_ macro is used to mark strings for translation
without actually translating them.  At runtime the string is
expected to be passed to the gettext API for translation.

If two N_ macro invocations appear next to each other with only
whitespace (or nothing at all) between them, the two separate
strings will be marked for translation, but the preprocessor
will then silently combine the strings into one and at runtime
the string passed to gettext will not match the strings that
were translated so no translation will actually occur.

Avoid this by adding parentheses around the expansion of the
N_ macro so that instead of ending up with two adjacent strings
that are then combined by the preprocessor, two adjacent strings
surrounded by parentheses result instead which causes a compile
error so the mistake can be quickly found and corrected.

However, since these string literals are typically assigned to
static variables and not all compilers support parenthesized
string literal assignments, allow this to be controlled by the
Makefile with the default only enabled when the compiler is
known to support the syntax.

For now only __GNUC__ enables this by default which covers both
gcc and clang which should result in early detection of any
adjacent N_ macros.

Although the necessary tests make the affected files a bit less
elegant, the benefit of avoiding propagation of a translation-
marking error to all the translation teams thus creating extra
work for them when the error is eventually detected and fixed
would seem to outweigh the minor inelegance the additional
configuration tests introduce.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Kyle J. McKay &lt;mackyle@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>configure.ac: check for HMAC_CTX_cleanup</title>
<updated>2015-01-09T23:33:57Z</updated>
<author>
<name>Reuben Hawkins</name>
<email>reubenhwk@gmail.com</email>
</author>
<published>2015-01-08T20:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=88e011814b9498ee1170d82462a19f72a86f9d82'/>
<id>urn:sha1:88e011814b9498ee1170d82462a19f72a86f9d82</id>
<content type='text'>
OpenSSL version 0.9.6b and before defined the function HMAC_cleanup.
Newer versions define HMAC_CTX_cleanup.  Check for HMAC_CTX_cleanup and
fall back to HMAC_cleanup when the newer function is missing.

Signed-off-by: Reuben Hawkins &lt;reubenhwk@gmail.com&gt;
Reviewed-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>configure.ac: check for clock_gettime and CLOCK_MONOTONIC</title>
<updated>2015-01-09T23:33:39Z</updated>
<author>
<name>Reuben Hawkins</name>
<email>reubenhwk@gmail.com</email>
</author>
<published>2015-01-08T20:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a6c3c638acea34116c6be7cc4be41a9bc55a7fa1'/>
<id>urn:sha1:a6c3c638acea34116c6be7cc4be41a9bc55a7fa1</id>
<content type='text'>
Set or clear Makefile variables HAVE_CLOCK_GETTIME and
HAVE_CLOCK_MONOTONIC based upon results of the checks (overriding
default values from config.mak.uname).

CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
systems being used in production.

Signed-off-by: Reuben Hawkins &lt;reubenhwk@gmail.com&gt;
Reviewed-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'br/imap-send-via-libcurl'</title>
<updated>2015-01-07T20:58:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-07T20:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c5cb52fd7cfc4ecf43afda721d0a3700274a8361'/>
<id>urn:sha1:c5cb52fd7cfc4ecf43afda721d0a3700274a8361</id>
<content type='text'>
Newer libCurl knows how to talk IMAP; "git imap-send" has been
updated to use this instead of a hand-rolled OpenSSL calls.

* br/imap-send-via-libcurl:
  git-imap-send: use libcurl for implementation
</content>
</entry>
<entry>
<title>Merge branch 'dm/compat-s-ifmt-for-zos'</title>
<updated>2014-12-22T20:27:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-22T20:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2f17ecbd8d58c79e76767da82cf824840dfd367f'/>
<id>urn:sha1:2f17ecbd8d58c79e76767da82cf824840dfd367f</id>
<content type='text'>
Long overdue departure from the assumption that S_IFMT is shared by
everybody made in 2005.

* dm/compat-s-ifmt-for-zos:
  compat: convert modes to use portable file type values
</content>
</entry>
</feed>
