)]}'
{
  "commit": "3960e5b824a809099db8584fa2d2fa9b0dec2e95",
  "tree": "04e18667ef0799a0a15dc6e6496009b076642acb",
  "parents": [
    "f4dfd7625a2cc35cd86e687725c2a1d858764b02"
  ],
  "author": {
    "name": "Pietro Monteiro",
    "email": "pietro@sociotechnical.xyz",
    "time": "Fri Jul 04 21:13:13 2025 -0400"
  },
  "committer": {
    "name": "Pietro Monteiro",
    "email": "pietro@sociotechnical.xyz",
    "time": "Fri Jul 04 21:13:13 2025 -0400"
  },
  "message": "sim: configury: fix obsolete macros\n\nRunning `autoreconf -vf -Wall\u0027 in the sim directory shows errors about the use\nof obsolete macros.  This patch fix the issues with macros used or defined in\nthe sim directory.  However, it doesn\u0027t fix all warnings.  There\u0027s 1 autoconf\nwarning  from `config/pkg.m4\u0027, and many automake warnings about target\nshadowing.  It cuts a lot of the noise down and makes an upgrade to\nautoconf 2.71+ easier.\n\n- Replace AC_CANONICAL_SYSTEM by AC_CANONICAL_TARGET\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fCANONICAL_005fSYSTEM-1997\n\n- Replace AC_TRY_COMPILE by AC_COMPILE_IFELSE\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fTRY_005fCOMPILE-2203\n\n- Replace AC_ERROR by AC_MSG_ERROR\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fERROR-2034\n\n- Remove AC_TYPE_SIGNAL and replace `RETSIGTYPE\u0027 by `void\u0027 in the source\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fTYPE_005fSIGNAL-2213\n\n- Remove AC_STRUCT_ST_BLKSIZE, it\u0027s already covered by a AC_CHECK_MEMBERS call\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fSTRUCT_005fST_005fBLKSIZE-2176\n\n- Remove AC_STRUCT_ST_RDEV, it\u0027s already covered by a AC_CHECK_MEMBERS call\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nObsolete-Macros.html#index-AC_005fSTRUCT_005fST_005fRDEV-2180\n\n- Remove AC_STRUCT_ST_BLOCKS.  It is not obsolete, but it\u0027s already covered by a\nAC_CHECK_MEMBERS call.\n\n- Replace deprecated C macros HAVE_ST_${MEMBER} by HAVE_STRUCT_STAT_ST_${MEMBER}\n  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/\nParticular-Structures.html#index-AC_005fSTRUCT_005fST_005fBLOCKS-693\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c46bafe192a746028b35cf433cd72525f8cc4bc4",
      "old_mode": 33188,
      "old_path": "sim/common/dv-sockser.c",
      "new_id": "04111fb514bf785cbbf17b11fb66cf5086f4f15e",
      "new_mode": 33188,
      "new_path": "sim/common/dv-sockser.c"
    },
    {
      "type": "modify",
      "old_id": "22d420e5a793f2d61b5823764ff37f926920c9b0",
      "old_mode": 33188,
      "old_path": "sim/common/nrun.c",
      "new_id": "d52e53d7e503f305f19a7dceb617fd7d76a410d2",
      "new_mode": 33188,
      "new_path": "sim/common/nrun.c"
    },
    {
      "type": "modify",
      "old_id": "f5742a9b9f1d96f59d1f1fa55419c76860a0d001",
      "old_mode": 33188,
      "old_path": "sim/config.h.in",
      "new_id": "44ff51580c7cdc97a6e46c62457609f804d47f7d",
      "new_mode": 33188,
      "new_path": "sim/config.h.in"
    },
    {
      "type": "modify",
      "old_id": "365a12d5c3e9414ecc253f7c7911eca8300b86a7",
      "old_mode": 33261,
      "old_path": "sim/configure",
      "new_id": "db0eaa662bc7028f64328dbd4d37cfed2717399b",
      "new_mode": 33261,
      "new_path": "sim/configure"
    },
    {
      "type": "modify",
      "old_id": "8860222b9b7bde1bbe374f1e629ef92273f7457b",
      "old_mode": 33188,
      "old_path": "sim/m4/sim_ac_option_warnings.m4",
      "new_id": "f10583243e88705102345e0a46215b7062912ff8",
      "new_mode": 33188,
      "new_path": "sim/m4/sim_ac_option_warnings.m4"
    },
    {
      "type": "modify",
      "old_id": "3b22615a4fff7b87ff97cdcda222b89d966bcb3e",
      "old_mode": 33188,
      "old_path": "sim/m4/sim_ac_platform.m4",
      "new_id": "79de2a401f5137842c47adfed16049f67b6ada73",
      "new_mode": 33188,
      "new_path": "sim/m4/sim_ac_platform.m4"
    },
    {
      "type": "modify",
      "old_id": "8e6f6f1ffc3b9adf23027b2a0ed525d67e047866",
      "old_mode": 33188,
      "old_path": "sim/m4/sim_ac_toolchain.m4",
      "new_id": "6fd4ab53fb4bf8b11fe7f05a3c37bbca58d9a24a",
      "new_mode": 33188,
      "new_path": "sim/m4/sim_ac_toolchain.m4"
    },
    {
      "type": "modify",
      "old_id": "88f6e3abc0a2809b21026c7fd678f1370a590f0d",
      "old_mode": 33188,
      "old_path": "sim/ppc/emul_unix.c",
      "new_id": "e63a93061f3b716a551420740590eb483cfb0cc7",
      "new_mode": 33188,
      "new_path": "sim/ppc/emul_unix.c"
    },
    {
      "type": "modify",
      "old_id": "987e89ea32aec5fae64891bca8baca8051415eb0",
      "old_mode": 33188,
      "old_path": "sim/ppc/main.c",
      "new_id": "afce983b63033df7a1daf823a061892166529fdc",
      "new_mode": 33188,
      "new_path": "sim/ppc/main.c"
    }
  ]
}
