diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libvformat | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libvformat')
-rw-r--r-- | dev-libs/libvformat/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/libvformat/files/libvformat-1.13-has_unistd.patch | 13 | ||||
-rw-r--r-- | dev-libs/libvformat/files/libvformat-1.13-str.patch | 22 | ||||
-rw-r--r-- | dev-libs/libvformat/files/libvformat-nodoc.patch | 8 | ||||
-rw-r--r-- | dev-libs/libvformat/libvformat-1.13-r2.ebuild | 38 | ||||
-rw-r--r-- | dev-libs/libvformat/metadata.xml | 8 |
6 files changed, 96 insertions, 0 deletions
diff --git a/dev-libs/libvformat/Manifest b/dev-libs/libvformat/Manifest new file mode 100644 index 000000000000..2e9bd0b4492e --- /dev/null +++ b/dev-libs/libvformat/Manifest @@ -0,0 +1,7 @@ +AUX libvformat-1.13-has_unistd.patch 216 BLAKE2B 088a3394b55a96f4d744f5c8f5b482dcbf6bbaedb6770ad6255b3dfa78bc16bb2bbb11774dc3799d77328b08e45d638b5676d3b174fa7c1d8c1974364a748200 SHA512 3a953942b2d19e6296bf55ed13175527a5def938209b55db646460b1c50be43e5fae1a0b7a68d7adb1946178bd21df5f260f07876160ce02887c168fba5fde88 +AUX libvformat-1.13-str.patch 561 BLAKE2B e914d003a99449eb3c1b85c7385cae24eb4aea73962d30d3ea05667f583a1f0c2d9214e75837647193adb8038c789d00e410dfe26fcd66bf1aae197d2382fd02 SHA512 f34c993ad54cfc87505147cb9023807cff08c8c6b70630f1110f6bb20c5054f749ebf0f473c56be62dc9a5034903df2659416742bb5a9e40b300e65e15df45c9 +AUX libvformat-nodoc.patch 225 BLAKE2B 52c6e0487043ed5be2bcef3bd15fb9d325a2e468e752fc90e7b09564420bd2ed6c7fb15557e28e9e6c960851073177141e24bfc46139e3e9db231c1e26c705bf SHA512 92d1478c8c452c2de5780dada50d716f612a944ead5cf5d803d277d549ef83d6ece7339a051b8764a97132dc1f34514027db095f1325be40ae97bc3ac7e1c0ca +DIST libvformat_1.13-10.debian.tar.gz 25884 BLAKE2B 73f2ef1126dcf51ef1d8128a74b131e6ed67b8a83c4a7db2d142942bd3f4748d0925f4bdd09633f4be47260d035066d0f730bd7680ebd4b9721bc0416e61d823 SHA512 fd3635a697cf52215a024118dd5e7776829ec2e537a6795121361046588be23f00225fafc50e14e25e94e94659bb16d7830193b159925c63ff2e0644394b3626 +DIST libvformat_1.13.orig.tar.gz 254463 BLAKE2B ee7d7bf9585e670ed3f6999d002669072535ce7c2c474b1f86d80026ea4bf6852a5c000a45a03b881e6d15695bd3162c132864ccb4f7cc574207209ea3a6c579 SHA512 80b47897dd4f5dfa05e78a40de821406a007e330fc82584a0d26e2d1580a5ce52b6af90ecd4c0f7f36eaf00d6a78d9ba3b84ec2b7c7d814ba890a629d7a2c7ba +EBUILD libvformat-1.13-r2.ebuild 823 BLAKE2B a86fe2f53b7c92ac6a45d3924fdb29d7f0b0193907e18fc25d0f356ca11c4b1933e38165d144ba27238b31fc119a84c4ecd95f87ed37f0ca8e3bd76ecb9cdfae SHA512 540cdfcefa6247f73e421b6daefb01816bc8c4a98c8bd6bc7deabcf93891cf504cc45bd8b5abcd9757f895eeb48f6cbbf7e2e3e240b5ba96f636924b98ade079 +MISC metadata.xml 244 BLAKE2B 86616d2746ad8e10c8fec5f671a9b222cf1beaa800872b7d844082b915997eddf7c3791a5de227e0d23e7af580149a86e3b5bb50dbfb4ee8cdb070778182f1e3 SHA512 3d993814c475475ebc27bf08f0695a156d5a3380d23f4b3c782304ae2cceb7d5c4d0695ee07451abffb516ce5237b889bb8daceb70912d94653572698f0332a4 diff --git a/dev-libs/libvformat/files/libvformat-1.13-has_unistd.patch b/dev-libs/libvformat/files/libvformat-1.13-has_unistd.patch new file mode 100644 index 000000000000..8788c966ffd0 --- /dev/null +++ b/dev-libs/libvformat/files/libvformat-1.13-has_unistd.patch @@ -0,0 +1,13 @@ +--- a/src/vf_reader.c ++++ b/src/vf_reader.c +@@ -87,8 +87,9 @@ + + #include <stdio.h> + #include <sys/stat.h> ++#include "config.h" + +-#if defined(HAS_UNISTD_H) ++#if defined(HAVE_UNISTD_H) + #include <unistd.h> + #endif + diff --git a/dev-libs/libvformat/files/libvformat-1.13-str.patch b/dev-libs/libvformat/files/libvformat-1.13-str.patch new file mode 100644 index 000000000000..8c47489842d8 --- /dev/null +++ b/dev-libs/libvformat/files/libvformat-1.13-str.patch @@ -0,0 +1,22 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -21,7 +21,7 @@ + # Checks for library functions. + AC_FUNC_MKTIME + AC_FUNC_STAT +-AC_CHECK_FUNCS([atexit memset strstr]) ++AC_CHECK_FUNCS([atexit memset strstr strlen strcpy strcmp strcat memcpy]) + + AC_OUTPUT([Makefile src/Makefile vformat/Makefile test/Makefile doc/Makefile]) + #AC_CONFIG_FILES([]) +--- a/src/vf_config.h ++++ b/src/vf_config.h +@@ -31,6 +31,8 @@ + * + *******************************************************************************/ + ++#include <config.h> ++ + #ifndef _VF_CONFIG_H_ + #define _VF_CONFIG_H_ + diff --git a/dev-libs/libvformat/files/libvformat-nodoc.patch b/dev-libs/libvformat/files/libvformat-nodoc.patch new file mode 100644 index 000000000000..e9dd55ce25ef --- /dev/null +++ b/dev-libs/libvformat/files/libvformat-nodoc.patch @@ -0,0 +1,8 @@ +--- Makefile.am.orig 2005-08-12 13:36:39.000000000 +0200 ++++ Makefile.am 2005-08-12 13:36:57.000000000 +0200 +@@ -1,4 +1,4 @@ +-SUBDIRS = src vformat test doc ++SUBDIRS = src vformat + + EXTRA_DIST = common/types.h vf_iface.h + diff --git a/dev-libs/libvformat/libvformat-1.13-r2.ebuild b/dev-libs/libvformat/libvformat-1.13-r2.ebuild new file mode 100644 index 000000000000..45b7ef932415 --- /dev/null +++ b/dev-libs/libvformat/libvformat-1.13-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="Library to read and write vcard files" +HOMEPAGE="https://sourceforge.net/projects/vformat/" +SRC_URI=" + mirror://debian/pool/main/libv/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/libv/${PN}/${PN}_${PV}-10.debian.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="static-libs" + +S="${WORKDIR}/${P}.orig" + +src_prepare() { + epatch \ + "${WORKDIR}"/debian/patches/*.patch \ + "${FILESDIR}"/${PN}-nodoc.patch \ + "${FILESDIR}"/${P}-has_unistd.patch \ + "${FILESDIR}"/${P}-str.patch + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || prune_libtool_files +} diff --git a/dev-libs/libvformat/metadata.xml b/dev-libs/libvformat/metadata.xml new file mode 100644 index 000000000000..5951eb73bdb6 --- /dev/null +++ b/dev-libs/libvformat/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">vformat</remote-id> + </upstream> +</pkgmetadata> |