mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
net-mail/mboxgrep: drop 0.7.9-r3
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
6db3b8be7e
commit
cafb08c00c
@ -1,2 +1 @@
|
||||
DIST mboxgrep-0.7.13.tar.gz 154779 BLAKE2B b9d92a0953228647331aad64950fa5b88c135f242a075255cb700b7ecb4dd8f00ed9002ff0ebfd03be1a9b8f88a0f8e0a5422b3277ea7a843ed5c748273e446e SHA512 2211a5251905d3e5ac68f159fd58f667e09a7b142d2d34456ad777a46dd34f7ac71a9562f8639a64848e51de1db71afdd9f61481815050e7ec4b1ab1d71e32fa
|
||||
DIST mboxgrep-0.7.9.tar.gz 76067 BLAKE2B e808f71c730fcf7edcefadcc579ede559a90db1f1a335fcf08a2002903cdaeac36080235450b6bc802b7cb100afd37a831fe6c57b40711aa70334633891d4330 SHA512 d7e768a0ad11bc3df8619f2a888d2943c68ef72dd036c2fe58268686efb50cb1f62ba379571b6cd6efa8493c5ea0d7c09a29520eae6c68f66d9453710eeeba11
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- a/src/misc.c
|
||||
+++ b/src/misc.c
|
||||
@@ -19,7 +19,7 @@
|
||||
$Id: misc.c,v 1.13 2003/04/06 21:01:49 dspiljar Exp $ */
|
||||
|
||||
#define _XOPEN_SOURCE /* Pull in strptime(3) from time.h */
|
||||
-#define _BSD_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3)
|
||||
+#define _DEFAULT_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3)
|
||||
* from string.h. */
|
||||
|
||||
#include <config.h>
|
||||
@ -1,20 +0,0 @@
|
||||
--- a/src/mboxgrep.h
|
||||
+++ b/src/mboxgrep.h
|
||||
@@ -129,6 +129,6 @@
|
||||
}
|
||||
option_t;
|
||||
|
||||
-option_t config;
|
||||
+extern option_t config;
|
||||
|
||||
#endif /* MBOXGREP_H */
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -57,6 +57,7 @@
|
||||
int count = 0;
|
||||
void *tmpp;
|
||||
checksum_t *cs;
|
||||
+option_t config;
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
@ -1,52 +0,0 @@
|
||||
commit f51a9eafb80a5c5e506d7fe416c0b768ec1a6655
|
||||
Author: Eray Aslan <eras@gentoo.org>
|
||||
Date: Mon Jun 6 20:11:32 2011 +0300
|
||||
|
||||
Respect LDFLAGS and do not strip
|
||||
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index fc5ac74..2b89866 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -39,7 +39,7 @@ INCLUDES = -I. -I$(srcdir)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@@ -52,6 +52,6 @@ distclean:
|
||||
.PHONY: install
|
||||
install: mboxgrep
|
||||
$(INSTALL) -d $(prefix)/bin
|
||||
- $(INSTALL) -s $(TARGET) $(prefix)/bin
|
||||
+ $(INSTALL) $(TARGET) $(prefix)/bin
|
||||
|
||||
.NOEXPORT:
|
||||
commit 1a0a345ad4c38df41227e3f2600bcf05ed49bbd7
|
||||
Author: Eray Aslan <eras@gentoo.org>
|
||||
Date: Mon Jun 6 20:52:06 2011 +0300
|
||||
|
||||
everyone has standard C headers nowadays
|
||||
|
||||
diff --git a/src/md5.c b/src/md5.c
|
||||
index d6b8013..a797552 100644
|
||||
--- a/src/md5.c
|
||||
+++ b/src/md5.c
|
||||
@@ -26,14 +26,8 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
-#if STDC_HEADERS || defined _LIBC
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
-#else
|
||||
-# ifndef HAVE_MEMCPY
|
||||
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
|
||||
-# endif
|
||||
-#endif
|
||||
|
||||
#include "md5.h"
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
Bug: https://bugs.gentoo.org/897938
|
||||
--- a/src/getopt.c
|
||||
+++ b/src/getopt.c
|
||||
@@ -52,6 +52,7 @@ char *alloca ();
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Grep for mbox files"
|
||||
HOMEPAGE="https://datatipp.se/mboxgrep/"
|
||||
SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch
|
||||
"${FILESDIR}"/${P}-fno-common.patch
|
||||
"${FILESDIR}"/${P}-ldflags.patch
|
||||
"${FILESDIR}"/${PN}-0.7.9-musl-missing-strcmp.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--without-dmalloc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}"/usr \
|
||||
mandir="${D}"/usr/share/man \
|
||||
infodir="${D}"/usr/share/info \
|
||||
install
|
||||
dodoc ChangeLog NEWS TODO README
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user