diff options
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) $@ |