)]}'
{
  "commit": "f07afc65d018b3dc3f33e28223ba53ddf4682bbc",
  "tree": "0da8a08a250c77b28d6719236ad35325e7d8bbbe",
  "parents": [
    "b737d3047cc56b5e2fbb5c8390c4ed031eaf5ec0"
  ],
  "author": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Wed Jul 07 13:51:55 2021 +0200"
  },
  "committer": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Wed Jul 07 13:51:55 2021 +0200"
  },
  "message": "Fix Solaris gprof build with --disable-nls\n\ngprof fails to compile on Solaris 10 and 11.3 with --disable-nls:\n\nIn file included from /vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/gprof.h:33,\n                 from /vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/basic_blocks.c:24:\n/usr/include/libintl.h:45:14: error: expected identifier or \u0027(\u0027 before \u0027const\u0027\n   45 | extern char *dcgettext(const char *, const char *, const int);\n      |              ^~~~~~~~~\n/usr/include/libintl.h:46:14: error: expected identifier or \u0027(\u0027 before \u0027const\u0027\n   46 | extern char *dgettext(const char *, const char *);\n      |              ^~~~~~~~\n/usr/include/libintl.h:47:14: error: expected identifier or \u0027(\u0027 before \u0027const\u0027\n   47 | extern char *gettext(const char *);\n      |              ^~~~~~~\n/vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/../bfd/sysdep.h:165:33:\nerror: expected identifier or \u0027(\u0027 before \u0027do\u0027\n  165 | # define textdomain(Domainname) do {} while (0)\n      |                                 ^~\n/vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/../bfd/sysdep.h:165:39:\nerror: expected identifier or \u0027(\u0027 before \u0027while\u0027\n  165 | # define textdomain(Domainname) do {} while (0)\n      |                                       ^~~~~\n/vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/../bfd/sysdep.h:166:46:\nerror: expected identifier or \u0027(\u0027 before \u0027do\u0027\n  166 | # define bindtextdomain(Domainname, Dirname) do {} while (0)\n      |                                              ^~\n/vol/src/gnu/binutils/hg/binutils-2.37-branch/git/gprof/../bfd/sysdep.h:166:52:\nerror: expected identifier or \u0027(\u0027 before \u0027while\u0027\n  166 | # define bindtextdomain(Domainname, Dirname) do {} while (0)\n      |                                                    ^~~~~\n/usr/include/libintl.h:55:14: error: expected identifier or \u0027(\u0027 before \u0027unsigned\u0027\n   55 | extern char *dcngettext(const char *, const char *,\n      |              ^~~~~~~~~~\n/usr/include/libintl.h:57:14: error: expected identifier or \u0027(\u0027 before \u0027unsigned\u0027\n   57 | extern char *dngettext(const char *, const char *,\n      |              ^~~~~~~~~\n/usr/include/libintl.h:59:14: error: expected identifier or \u0027(\u0027 before \u0027unsigned\u0027\n   59 | extern char *ngettext(const char *, const char *, unsigned long int);\n      |              ^~~~~~~~\n\nThis is a known issue already partially fixed in binutils/sysdep.h.  For\ngprof, the same fix needs to be applied in bfd/sysdep.h, as the\nfollowing patch does.  Tested on i386-pc-solaris2.10 and\ni386-pc-solaris2.11.\n\n2021-07-06  Rainer Orth  \u003cro@CeBiTec.Uni-Bielefeld.DE\u003e\n\n\tbfd:\n\t* sysdep.h [!ENABLE_NLS]: Prevent inclusion of \u003clibintl.h\u003e on\n\tSolaris.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d96cc78870422b65cdecc8bbbd65154458632f44",
      "old_mode": 33188,
      "old_path": "bfd/ChangeLog",
      "new_id": "e0cb2bfd291e91672cb256b886d3c08f105f489b",
      "new_mode": 33188,
      "new_path": "bfd/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "aa6b095fd05e3e8793ec1b3145c9e71370032b46",
      "old_mode": 33188,
      "old_path": "bfd/sysdep.h",
      "new_id": "8919e7689fd112985babceda2aba52327a0d3e25",
      "new_mode": 33188,
      "new_path": "bfd/sysdep.h"
    }
  ]
}
