diff options
author | Sam James <sam@gentoo.org> | 2022-10-16 19:01:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-16 19:01:52 +0100 |
commit | 9da22a2f622eaa9bddd09ae1eeefc879e3de58c1 (patch) | |
tree | 62c831250ffd259c40c296cf223fdf4b8e5c6fc6 /sys-fs/hfsutils/files | |
parent | games-roguelike/nethack: fix build w/ clang16, pass -std=gnu89 (diff) | |
download | gentoo-9da22a2f622eaa9bddd09ae1eeefc879e3de58c1.tar.gz gentoo-9da22a2f622eaa9bddd09ae1eeefc879e3de58c1.tar.bz2 gentoo-9da22a2f622eaa9bddd09ae1eeefc879e3de58c1.zip |
sys-fs/hfsutils: add 3.2.6_p15, fix build w/ Clang 16
Closes: https://bugs.gentoo.org/871165
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/hfsutils/files')
-rw-r--r-- | sys-fs/hfsutils/files/hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch | 17 | ||||
-rw-r--r-- | sys-fs/hfsutils/files/hfsutils-3.2.6_p15-drop-manual-autoconf.patch | 78 |
2 files changed, 95 insertions, 0 deletions
diff --git a/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch b/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch new file mode 100644 index 000000000000..4b9db273ec40 --- /dev/null +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/871165 + +From 065e349d0a0e1db9fda99f90ff825b7934f191da Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 16 Oct 2022 18:18:58 +0100 +Subject: [PATCH] Include <string.h> for strcmp + +--- a/hpwd.c ++++ b/hpwd.c +@@ -24,6 +24,7 @@ + # endif + + # include <stdio.h> ++# include <string.h> + + # include "hfs.h" + # include "hcwd.h" diff --git a/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-drop-manual-autoconf.patch b/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-drop-manual-autoconf.patch new file mode 100644 index 000000000000..00f5bfb8a438 --- /dev/null +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-drop-manual-autoconf.patch @@ -0,0 +1,78 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -197,23 +197,6 @@ dist :: + + ############################################################################### + +-Makefile: config.status +- ./config.status && touch .stamp/config.h +- +-.stamp/config.h: config.status +- ./config.status && touch .stamp/config.h +- +-config.status: .stamp/configure .stamp/config.h.in Makefile.in +- ./config.status --recheck +- +-.stamp/configure: configure.in +- autoconf && touch .stamp/configure +- +-.stamp/config.h.in: configure.in acconfig.h +- autoheader && touch .stamp/config.h.in +- +-############################################################################### +- + $(LIBHFS) :: + cd libhfs && $(MAKE) + +--- a/libhfs/Makefile.in ++++ b/libhfs/Makefile.in +@@ -96,23 +96,6 @@ maintainer-clean :: distclean + + ############################################################################### + +-Makefile: config.status +- ./config.status && touch .stamp/config.h +- +-.stamp/config.h: config.status +- ./config.status && touch .stamp/config.h +- +-config.status: .stamp/configure .stamp/config.h.in Makefile.in +- ./config.status --recheck +- +-.stamp/configure: configure.in +- autoconf && touch .stamp/configure +- +-.stamp/config.h.in: configure.in acconfig.h +- autoheader && touch .stamp/config.h.in +- +-############################################################################### +- + $(HFSTARGET): $(HFSOBJS) + $(AR) $@ $(HFSOBJS) + $(RANLIB) $@ +--- a/librsrc/Makefile.in ++++ b/librsrc/Makefile.in +@@ -92,23 +92,6 @@ maintainer-clean :: distclean + + ############################################################################### + +-Makefile: config.status +- ./config.status && touch .stamp/config.h +- +-.stamp/config.h: config.status +- ./config.status && touch .stamp/config.h +- +-config.status: .stamp/configure .stamp/config.h.in Makefile.in +- ./config.status --recheck +- +-.stamp/configure: configure.in +- autoconf && touch .stamp/configure +- +-.stamp/config.h.in: configure.in acconfig.h +- autoheader && touch .stamp/config.h.in +- +-############################################################################### +- + $(RSRCTARGET): $(RSRCOBJS) + $(AR) $@ $(RSRCOBJS) + $(RANLIB) $@ |