[Midnightbsd-cvs] [MidnightBSD/mports] ec6b60: devel/chrpath: rename ELF union types to avoid BSD...

Lucas Holt noreply at github.com
Fri Jun 5 09:22:24 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: ec6b602d95cb0eba22ae8eabe2dcb39e7b41e2c0
      https://github.com/MidnightBSD/mports/commit/ec6b602d95cb0eba22ae8eabe2dcb39e7b41e2c0
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    A devel/chrpath/files/patch-chrpath.c
    A devel/chrpath/files/patch-elf.c
    A devel/chrpath/files/patch-killrpath.c
    A devel/chrpath/files/patch-protos.h

  Log Message:
  -----------
  devel/chrpath: rename ELF union types to avoid BSD system typedef conflicts

chrpath 0.18 defines Elf_Ehdr, Elf_Shdr, Elf_Phdr as unions in protos.h,
but sys/elf_generic.h already typedef's these names to the 64-bit struct
variants on MidnightBSD. Rename to ChrpathElf_Ehdr/Shdr/Phdr throughout.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list