[PATCH 0/8] Portability fixes

John Keeping john at keeping.me.uk
Thu Aug 13 13:14:12 CEST 2015


This is a collection of vaguely-related changes that make us take fuller
advantage of git.git's support for a variety of platform so that we
build more reliably out of the box.

The header ordering issue is definitely painful on Solaris where the
system headers define _FILE_OFFSET_BITS=32 if it's not already defined
and git-compat-util.h defines it to 64 unconditionally.


John Keeping (8):
  tests: allow shell to be overridden
  Makefile: include Git's config.mak.uname
  Remove redundant includes
  configfile.c: don't include system headers directly
  cache.c: fix header order
  cgit.h: move stdbool.h from ui-shared.h
  ui-tree: use "sane" isgraph()
  filter: don't use dlsym unnecessarily

 Makefile       |  1 +
 cache.c        |  6 ++---
 cgit.h         |  5 ++++
 configfile.c   |  3 +--
 filter.c       | 84 +++++++++++++++++++++++++++++-----------------------------
 html.c         |  6 -----
 shared.c       |  1 -
 tests/Makefile |  6 ++++-
 ui-plain.c     |  1 -
 ui-repolist.c  |  1 -
 ui-shared.h    |  2 --
 ui-summary.c   |  1 -
 ui-tree.c      |  1 -
 13 files changed, 57 insertions(+), 61 deletions(-)

-- 
2.5.0.466.g9af26fa



More information about the CGit mailing list