diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-03-08 17:23:24 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-03-08 17:23:24 +0000 |
commit | 2fb6b7cce84ac9eab77fcbcd36c428417a740589 (patch) | |
tree | ba64540b2e23d2987ea6fe099e84651cb9358039 /dev-db | |
parent | Add ~x86-fbsd. (diff) | |
download | historical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.tar.gz historical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.tar.bz2 historical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.zip |
Fix implicit declaration of function ‘umask’.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux i686
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/tinycdb/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/tinycdb/Manifest | 14 | ||||
-rw-r--r-- | dev-db/tinycdb/files/tinycdb-0.77-umask.diff | 11 | ||||
-rw-r--r-- | dev-db/tinycdb/tinycdb-0.77-r2.ebuild | 42 |
4 files changed, 73 insertions, 2 deletions
diff --git a/dev-db/tinycdb/ChangeLog b/dev-db/tinycdb/ChangeLog index ca8c929d564e..456498e2d205 100644 --- a/dev-db/tinycdb/ChangeLog +++ b/dev-db/tinycdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/tinycdb # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/ChangeLog,v 1.30 2012/03/06 21:08:47 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/ChangeLog,v 1.31 2012/03/08 17:23:23 jer Exp $ + +*tinycdb-0.77-r2 (08 Mar 2012) + + 08 Mar 2012; Jeroen Roovers <jer@gentoo.org> +tinycdb-0.77-r2.ebuild, + +files/tinycdb-0.77-umask.diff: + Fix implicit declaration of function ‘umask’. 06 Mar 2012; Brent Baude <ranger@gentoo.org> tinycdb-0.77-r1.ebuild: Marking tinycdb-0.77-r1 ppc for bug 399963 diff --git a/dev-db/tinycdb/Manifest b/dev-db/tinycdb/Manifest index b60cc0bb62dc..efc775d0e531 100644 --- a/dev-db/tinycdb/Manifest +++ b/dev-db/tinycdb/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX tinycdb-0.77-gentoo.diff 738 RMD160 04a9f54b7aea716fbecfc4f8ffc404bf5a2c2361 SHA1 6e29d36998a7a4ee1fd766412a2f94290bafd793 SHA256 7b327ea78bdac31fd65fae5a4a850de0ed3284a812b30035dc26ba9c8b2db6d8 +AUX tinycdb-0.77-umask.diff 215 RMD160 39dfea227ff4147a185bf8a4523f477c1146af79 SHA1 e8f6a249d7f540f388894793aa1ea855fde13f89 SHA256 76077efd1de189a63681657121eb342c8b0b7ecbe24158af0dfc6c97dec048f2 DIST tinycdb_0.77.tar.gz 37728 RMD160 803581ebb84cc4db7abe16b3fb5b978c05652553 SHA1 2873a5f614e925e284cd71a7216a0d10340aec9c SHA256 82bc3ccf0afed0978472a070ce4506667b8035e65d0dc24388e33858d39b6bc6 EBUILD tinycdb-0.77-r1.ebuild 1061 RMD160 750bd5a6d871417931e6f16bbe2cf47b6c8d6d6c SHA1 187377df430f8f3bcd3ec30740a271a73a154b9a SHA256 6c9f73ade26529e3495bba531052c4bb01d52fec9ca21bb8959848f56f137ed4 +EBUILD tinycdb-0.77-r2.ebuild 1099 RMD160 420df325061d4b507c1f352b3ca37815ade6a848 SHA1 e89bac29ea919253e9c9556ab2d5232ac5cac77b SHA256 8ff88509dde2f437c6317056d2660f2996b9a9e6a9f014ea1999ba31db86851c EBUILD tinycdb-0.77.ebuild 916 RMD160 7408eb5096ea6c0e1f67de1db131ffd0bb9cab5a SHA1 df088b62d125b72e971733dff7ed63a7517fbc05 SHA256 b6c21607f3539e1db7344bb5872e190eb8ce8108c869bafdfc13c23988d8c979 -MISC ChangeLog 3282 RMD160 2e932a295ff3f96cec539fbbc6bd48dd756148a2 SHA1 59c2dc17147b6179003b1209e9a4053a337d9b16 SHA256 3e29f966e93e249be443ff95add33b07d7ee0bac7caedd65d7a9214fcaf8fa59 +MISC ChangeLog 3470 RMD160 fe852caf3e0a4afef0862313a040552aa2f69be8 SHA1 44685e3cdeabe8c33257fe0c71f9b50b2ac0a56c SHA256 a4345e686838d2654a515caf99eda3ab09b24e03594d86c6240b3bb1c3ffaf5e MISC metadata.xml 207 RMD160 86fcb06b43d2b6a913e37d4e35a341106c6ebfec SHA1 d07940c413e96f7966b84b6e94e8284ababf1a62 SHA256 131271f902267c3eb067a7b0316b1e2598d5cc32a4528edb37d50ea2f4b262e0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk9Y6xYACgkQVWmRsqeSphOq+gCdFC6EEovih7gO+aUPn1tpMAhY +WbkAn23lilR3kXgsEO705GkSHLq4Cni3 +=CwOm +-----END PGP SIGNATURE----- diff --git a/dev-db/tinycdb/files/tinycdb-0.77-umask.diff b/dev-db/tinycdb/files/tinycdb-0.77-umask.diff new file mode 100644 index 000000000000..2a53babb2510 --- /dev/null +++ b/dev-db/tinycdb/files/tinycdb-0.77-umask.diff @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 000000000000..a693d2e19dda --- /dev/null +++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77-r2.ebuild,v 1.1 2012/03/08 17:23:24 jer Exp $ + +EAPI="4" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="TinyCDB is 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 ~hppa ~ia64 ~ppc ~x86" +IUSE="static-libs" +RESTRICT="test" + +RDEPEND="!dev-db/cdb" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.diff \ + "${FILESDIR}"/${P}-umask.diff + # fix multilib support + sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile +} + +src_compile() { + local targets="shared" + use static-libs && targets="${targets} staticlib piclib" + + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ${targets} +} + +src_install() { + local targets="install-sharedlib" + use static-libs && targets="${targets} install-piclib" + + einstall ${targets} + dodoc ChangeLog NEWS +} |