public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-db/tinycdb/files/, dev-db/tinycdb/
@ 2017-07-01 12:50 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2017-07-01 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     b0e746e4c8e107b98ace97a48f6268cc380214d6
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 12:48:30 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 12:48:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e746e4

dev-db/tinycdb: update patches

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../files/{tinycdb-0.77-gentoo.diff => tinycdb-gentoo.patch}        | 4 ++--
 .../files/{tinycdb-0.77-uclibc.diff => tinycdb-uclibc.patch}        | 4 ++--
 .../tinycdb/files/{tinycdb-0.77-umask.diff => tinycdb-umask.patch}  | 0
 dev-db/tinycdb/tinycdb-0.77-r2.ebuild                               | 6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-db/tinycdb/files/tinycdb-0.77-gentoo.diff b/dev-db/tinycdb/files/tinycdb-gentoo.patch
similarity index 92%
rename from dev-db/tinycdb/files/tinycdb-0.77-gentoo.diff
rename to dev-db/tinycdb/files/tinycdb-gentoo.patch
index 87ab43ff5c8..e8406b647d4 100644
--- a/dev-db/tinycdb/files/tinycdb-0.77-gentoo.diff
+++ b/dev-db/tinycdb/files/tinycdb-gentoo.patch
@@ -1,5 +1,5 @@
---- tinycdb-0.77.orig/Makefile
-+++ tinycdb-0.77/Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -34,7 +34,7 @@
  CDB_USELIB = $(LIB)
  NSS_USELIB = $(PICLIB)

diff --git a/dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff b/dev-db/tinycdb/files/tinycdb-uclibc.patch
similarity index 85%
rename from dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff
rename to dev-db/tinycdb/files/tinycdb-uclibc.patch
index 52240931e09..14e56bd7b6f 100644
--- a/dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff
+++ b/dev-db/tinycdb/files/tinycdb-uclibc.patch
@@ -1,5 +1,5 @@
---- tinycdb-0.77.orig/cdb.c
-+++ tinycdb-0.77/cdb.c
+--- a/cdb.c
++++ b/cdb.c
 @@ -31,6 +31,12 @@
  # define HAVE_PROGRAM_INVOCATION_SHORT_NAME
  #endif

diff --git a/dev-db/tinycdb/files/tinycdb-0.77-umask.diff b/dev-db/tinycdb/files/tinycdb-umask.patch
similarity index 100%
rename from dev-db/tinycdb/files/tinycdb-0.77-umask.diff
rename to dev-db/tinycdb/files/tinycdb-umask.patch

diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
index b615360a339..937f5d7f3fe 100644
--- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
+++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
@@ -18,9 +18,9 @@ RESTRICT="test"
 RDEPEND="!dev-db/cdb"
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-gentoo.diff
-	epatch "${FILESDIR}"/${P}-umask.diff
-	epatch "${FILESDIR}"/${P}-uclibc.diff
+	epatch "${FILESDIR}"/${PN}-gentoo.patch
+	epatch "${FILESDIR}"/${PN}-umask.patch
+	epatch "${FILESDIR}"/${PN}-uclibc.patch
 	# fix multilib support
 	sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-db/tinycdb/files/, dev-db/tinycdb/
@ 2021-11-06  9:23 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2021-11-06  9:23 UTC (permalink / raw
  To: gentoo-commits

commit:     f73bc3cb2270f2676da2df1c6c83ae447d0b8db2
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  6 09:23:43 2021 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 09:23:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73bc3cb

dev-db/tinycdb: drop old

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-db/tinycdb/Manifest                  |  1 -
 dev-db/tinycdb/files/tinycdb-umask.patch | 11 -------
 dev-db/tinycdb/tinycdb-0.77-r2.ebuild    | 52 --------------------------------
 3 files changed, 64 deletions(-)

diff --git a/dev-db/tinycdb/Manifest b/dev-db/tinycdb/Manifest
index 8aefe62747d..ec77e1b8d07 100644
--- a/dev-db/tinycdb/Manifest
+++ b/dev-db/tinycdb/Manifest
@@ -1,2 +1 @@
 DIST tinycdb-0.78.tar.gz 36754 BLAKE2B 41f4256840645acd28296c5473087c7cf4c026f068310375b3c305430c030b1c946f53fd3e09967d77b592ba84e7e56518fdb18e54d1e0f5e7dd552a1664a0ec SHA512 8930086b8e7fddcd4dbd3354c5f5ee05171df68fde1cc222b6c402430042b6e761efbad7e5fa8de18e1d36390f1526cc3e605c5086fe1c363ba1df6c03201553
-DIST tinycdb_0.77.tar.gz 37728 BLAKE2B bebcc6128b253fa9e64438ed2671488153d70cf452bd0686a90ebd5360b725ab784b4537b25fe2ea9de0281cb1bb2fa29beb5f3515aed90fd7e2965f7e5e38bd SHA512 cfc830578a9be49781a1dbade97b64ec13293853093719aeb9a403c128245f157fd1d2d7e6941966bdea00b472127f10f11672583ba06ccc6e49151b22bf4c9a

diff --git a/dev-db/tinycdb/files/tinycdb-umask.patch b/dev-db/tinycdb/files/tinycdb-umask.patch
deleted file mode 100644
index 2a53babb251..00000000000
--- a/dev-db/tinycdb/files/tinycdb-umask.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/cdb.c
-+++ b/cdb.c
-@@ -21,6 +21,8 @@
- #include <stdarg.h>
- #include <fcntl.h>
- #include <errno.h>
-+#include <sys/types.h> /* umask() */
-+#include <sys/stat.h>  /* umask() */
- #include "cdb.h"
- 
- #ifndef EPROTO

diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
deleted file mode 100644
index ed33dee4fb1..00000000000
--- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit toolchain-funcs
-
-DESCRIPTION="A very fast and simple package for creating and reading constant data bases"
-HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
-SRC_URI="http://www.corpit.ru/mjt/${PN}/${P/-/_}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~hppa ~ia64 ~mips ppc x86"
-IUSE="static-libs"
-RESTRICT="test"
-
-RDEPEND="!dev-db/cdb"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-gentoo.patch
-	"${FILESDIR}"/${PN}-umask.patch
-	"${FILESDIR}"/${PN}-uclibc.patch
-)
-
-src_prepare() {
-	default
-
-	sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
-}
-
-src_compile() {
-	local targets="shared"
-	use static-libs && targets+=" staticlib piclib"
-
-	emake \
-		CC="$(tc-getCC)" \
-		CFLAGS="${CFLAGS} ${LDFLAGS}" \
-		${targets}
-}
-
-src_install() {
-	local targets="install install-sharedlib"
-	use static-libs && targets+=" install-piclib"
-
-	emake \
-		prefix="${EPREFIX}"/usr \
-		mandir="${EPREFIX}"/usr/share/man \
-		DESTDIR="${D}" \
-		${targets}
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-06  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-01 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-db/tinycdb/files/, dev-db/tinycdb/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2021-11-06  9:23 Akinori Hattori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox