summaryrefslogtreecommitdiff
path: root/net-mail/libdbx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-mail/libdbx
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-mail/libdbx')
-rw-r--r--net-mail/libdbx/Manifest4
-rw-r--r--net-mail/libdbx/files/bad_c.patch14
-rw-r--r--net-mail/libdbx/libdbx-1.0.3.ebuild15
3 files changed, 15 insertions, 18 deletions
diff --git a/net-mail/libdbx/Manifest b/net-mail/libdbx/Manifest
index d802a86c34fb..dad5fad5011c 100644
--- a/net-mail/libdbx/Manifest
+++ b/net-mail/libdbx/Manifest
@@ -1,4 +1,4 @@
-AUX bad_c.patch 1510 BLAKE2B 603dec1247bd664ace31c536acb4bcae8094b4f2ede517c17e1135b0ea52f7f2d531444b42edd5751f415334b0413f759f618d1bb3ed026f247d3c7667d187bb SHA512 f69a184369e94a4a3e11b17452380a20a2cfec69bc3e04561411707d06def37f989c105962ffc0992bcf24d7d31a2a173d34b601d586283a952c39c540847e07
+AUX bad_c.patch 1027 BLAKE2B 04f58037dda40bc05601fe0e749d0476bde69be14abb14a8e45dc654418f1c57754772c7f48a56a94569ce981bf797d8626f3b5862db392b7f357e77e9fdb929 SHA512 5ab1bac562edbc2fac7e12a7bf111da862c423171e3664065a55d186e340160ba78581a89ba597316f8d6014d962cac7c16fd5a8065853c153596c944ed4671a
DIST libdbx_1.0.3.tgz 24927 BLAKE2B 01acc0607429ecc8391540b0833b735e00c2a15efb0441d08d9e6352fd0d19dde4315afc0b22f130f943e96aeffa38781086703357952e446070b95b82aefa48 SHA512 619f7cb25d5742066be6f2addbd06e433502c45489f973c628ae5d26758fc9ce1185185ae48da0de30d927eae8cbc610f775e0af182b10e72ecf5619ae79ba80
-EBUILD libdbx-1.0.3.ebuild 677 BLAKE2B 23a29c146f45d149d784aa2552baee464341d7b0e0c9b63c77f9efba336223194a4e44a776a575daf01e3d991557c869c2b3a8a8b504c5ba575136965bf33480 SHA512 ef8d98fbf045f1d563ff25341efecc7dbfbafd7da9cca2f89f9416097fba01addb3d8d9a898c5076564b91d76206233a1fc4848527701614c8e9ec8c28499ea4
+EBUILD libdbx-1.0.3.ebuild 674 BLAKE2B 0d604bb914ee0a53a1c40a91c2861f2a4da132fcf6716fb306bdf093fd3489434bb8d07a1804cb79a8b30e6c964473efc5ae1c47978d6fbed823a12e73fe2a0f SHA512 90e0516dc4aff181fa0d58929e5c06f80cf686c4cb01173391f08f4ed087eb9c6791e99fdb6188768fe0be3ecef87f9bd95c800ec9fd0ce847fded002d64b4ec
MISC metadata.xml 249 BLAKE2B 0af29bd5a41c2fb070987a9abd26d497f0ed752901729eb3f4e752674aa9d7f7f7c895c282b9f51f36430c18590150229a8ec591ad7335d2470416d25df5bb29 SHA512 f518f234871c8565fc5a853ca72108ad7f3e7bd1f46ba91530a4a20898406dd52d6eed8fafc16551f5a040b20ec17d90860e9b3ffc28629b0f6a461166256be7
diff --git a/net-mail/libdbx/files/bad_c.patch b/net-mail/libdbx/files/bad_c.patch
index 1f7dc6d8ba03..af6a065064fc 100644
--- a/net-mail/libdbx/files/bad_c.patch
+++ b/net-mail/libdbx/files/bad_c.patch
@@ -1,6 +1,5 @@
-diff -ru libdbx_1.0.3/libdbx.c libdbx_1.0.3-new/libdbx.c
---- libdbx_1.0.3/libdbx.c 2002-10-05 15:07:36.000000000 +0200
-+++ libdbx_1.0.3-new/libdbx.c 2006-09-20 08:53:46.000000000 +0200
+--- a/libdbx.c
++++ b/libdbx.c
@@ -485,11 +485,11 @@
switch (blockp.type) {
case 0x01: //pointer to flag
@@ -24,11 +23,8 @@ diff -ru libdbx_1.0.3/libdbx.c libdbx_1.0.3-new/libdbx.c
readtype = W32FT_TYPE;
break;
case 0x13: //recipient's name
-Only in libdbx_1.0.3-new: libdbx.o
-Only in libdbx_1.0.3-new: readdbx
-diff -ru libdbx_1.0.3/readdbx.c libdbx_1.0.3-new/readdbx.c
---- libdbx_1.0.3/readdbx.c 2002-10-05 15:20:25.000000000 +0200
-+++ libdbx_1.0.3-new/readdbx.c 2006-09-20 08:54:10.000000000 +0200
+--- a/readdbx.c
++++ b/readdbx.c
@@ -19,6 +19,7 @@
#include <getopt.h>
#include <time.h>
@@ -37,5 +33,3 @@ diff -ru libdbx_1.0.3/readdbx.c libdbx_1.0.3-new/readdbx.c
#include "libdbx.h"
#include "common.h"
-Only in libdbx_1.0.3-new: readoe
-Files libdbx_1.0.3/timeconv.o and libdbx_1.0.3-new/timeconv.o differ
diff --git a/net-mail/libdbx/libdbx-1.0.3.ebuild b/net-mail/libdbx/libdbx-1.0.3.ebuild
index 4f8dd3227f74..199b0c314a25 100644
--- a/net-mail/libdbx/libdbx-1.0.3.ebuild
+++ b/net-mail/libdbx/libdbx-1.0.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
MY_PN="libdbx"
MYFILE="${MY_PN}_${PV}.tgz"
@@ -11,16 +11,19 @@ MYFILE="${MY_PN}_${PV}.tgz"
DESCRIPTION="Tools and library for reading Outlook Express mailboxes (.dbx format)"
HOMEPAGE="https://sourceforge.net/projects/ol2mbox"
SRC_URI="mirror://sourceforge/ol2mbox/${MYFILE}"
+S="${WORKDIR}/${MY_PN}_${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
-IUSE=""
-S="${WORKDIR}/${MY_PN}_${PV}"
+PATCHES=(
+ "${FILESDIR}"/bad_c.patch
+)
src_prepare() {
- epatch "${FILESDIR}/bad_c.patch"
+ default
+
sed -i -e 's/-g/$(CFLAGS) $(LDFLAGS)/;s|gcc|$(CC)|g' Makefile || die
tc-export CC
}