gentoo-ebuilds/net-mail/mboxgrep/files/mboxgrep-0.7.13-rm_getopt.patch
Nicolas PARLANT 8570e39f90
net-mail/mboxgrep: add 0.7.13
update HOMEPAGE with the new website
move SRC_URI repo to github

make libpcre(2 with this release) optional

remove custom install phase, prefix/mandir/infodir are set by default

add a test

patches :
fix c23
don't use bundled getopt instead of trying workarounds (bug 945513)

bug 919199 fixed in 0.7.10

Closes: https://bugs.gentoo.org/919199
Closes: https://bugs.gentoo.org/945513
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43240
Closes: https://github.com/gentoo/gentoo/pull/43240
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-31 15:34:44 +01:00

11 lines
448 B
Diff

remove bundled getopt and use libs from glibc/musl instead
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = mboxgrep
mboxgrep_SOURCES = info.c info.h maildir.c maildir.h main.c mbox.c mbox.h \
mboxgrep.h md5.c md5.h message.h misc.c misc.h mh.c mh.h \
- getopt.c getopt1.c getopt.h re.c re.h scan.c scan.h wrap.c wrap.h
+ re.c re.h scan.c scan.h wrap.c wrap.h
mboxgrep_LDADD = $(LIBOBJS)