)]}'
{
  "commit": "9ed99f040f0dd14d0aca82e159f67d27e64042ae",
  "tree": "d6b41a1731532d9258e3ad0638675b6191edaa82",
  "parents": [
    "64f8c7d80fd9685936613f6c564b9572dd28561d"
  ],
  "author": {
    "name": "Baruch Siach",
    "email": "baruch@tkos.co.il",
    "time": "Sun Aug 21 09:23:05 2016 +0300"
  },
  "committer": {
    "name": "Paul Jakma",
    "email": "paul@quagga.net",
    "time": "Mon Jan 23 18:51:51 2017 +0000"
  },
  "message": "lib/memory: fix indirect static link with zlib\n\nquagga SNMP support depends on netsnmp, that optionally depends on OpenSSL,\nwhich in turn requires zlib. zlib exports the \u0027zcalloc\u0027 symbol, which collides\nwith a function of the same name in memory.c. This is not a problem when\nlinking dynamically, since quagga does not use zlib directly. But static\nlinking fails with the error:\n\n  CCLD     ospfd\n.../output/host/usr/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(zutil.o): In function `zcalloc\u0027:\nzutil.c:(.text+0x48): multiple definition of `zcalloc\u0027\n.../output/build/quagga-1.0.20160315/lib/.libs/libzebra.a(memory.o):memory.c:(.text+0x1a0): first defined here\n\nRename \u0027zcalloc\u0027 to \u0027zzcalloc\u0027 to avoid symbol collision.\n\nSigned-off-by: Baruch Siach \u003cbaruch@tkos.co.il\u003e\nSigned-off-by: Baruch Siach \u003cbaruch@tkos.co.il\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "13e1fb7c0c43053a108120447ce836c98d41ec59",
      "old_mode": 33188,
      "old_path": "lib/memory.c",
      "new_id": "b8305dde4d008a9e51400ad06efe4c5326cd57e8",
      "new_mode": 33188,
      "new_path": "lib/memory.c"
    },
    {
      "type": "modify",
      "old_id": "23962235dbfe26b57cc7cd4de9d784099d1dd2bc",
      "old_mode": 33188,
      "old_path": "lib/memory.h",
      "new_id": "501352993d211b76aad1f4b0bceddf14e9b9d956",
      "new_mode": 33188,
      "new_path": "lib/memory.h"
    }
  ]
}
