diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 13:17:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 13:17:38 +0100 |
commit | 78754950ffa3aaba0f48b1ca1d505caa4a3dfbfa (patch) | |
tree | 285997f09f32d26633ba2beffd30c972a4ec87a2 /dev-libs/pslib | |
parent | bf99f8024d68382f76665735c70ae912331bc2ca (diff) |
gentoo auto-resync : 04:10:2022 - 13:17:38
Diffstat (limited to 'dev-libs/pslib')
-rw-r--r-- | dev-libs/pslib/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/pslib/files/pslib-0.4.6-Fix-implicit-function-declarations.patch | 29 | ||||
-rw-r--r-- | dev-libs/pslib/pslib-0.4.6.ebuild | 54 |
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-libs/pslib/Manifest b/dev-libs/pslib/Manifest index 85b835f2ca8f..31cb06b316ab 100644 --- a/dev-libs/pslib/Manifest +++ b/dev-libs/pslib/Manifest @@ -1,4 +1,7 @@ AUX pslib-0.4.5-fix-build-system.patch 530 BLAKE2B 69693c754bd4e348e8f4af2876ee0ae19b9278bc192194e9d61bd007701868bd1d676d1c19133aa390301aef7eeee9a5abb7cc8750a05f1ef1d93676dd1df917 SHA512 d9baf7bddff0ebe673d7396e4e4873ba71156d149b4544a537d31734771f4b91b8bfa809b92fcc44f3f9a9f28bd758bcf805ec26cef3e8731281581ccf933044 +AUX pslib-0.4.6-Fix-implicit-function-declarations.patch 694 BLAKE2B 5c69e4d0e72a383a51a96647edcf603348f372532f21b699a65d816f51fc704da2b3cf62f91cc9d348c9fb317a82ca6ffd0d98da221da01be904b19bf2b2f136 SHA512 9e0a195631b666e05547fb35dbb567bca5040dddc9eec87d82eb7b6e7da537e409e0ea6a810d40100ba6f3c902d45846534d5e986055b1a2d16ce3ce5c694a7f DIST pslib-0.4.5.tar.gz 493687 BLAKE2B cca0709bc3fa9f464166b02ca54d85056c510f677b478b4f187fba653b3a17af38c3c7ffbea23113d5ad3a146e881d183f138d836cd5f373a116e836ba8d4974 SHA512 410abfdca6c52f16c07b7d0157930fbb7a996f03bfb84aee2bc951b2d859bc2186d3ba742b724cd957b9b1c48201364fbeb11c15d7f4ead34f78b0d0746abc6f +DIST pslib-0.4.6.tar.gz 543950 BLAKE2B 18f85ce5c2d558b2abe8c3297a65201890813d57d3e14353333c1e1b221ee89e0d2c27e6f247be8c1066c9be1e3cf390205217f2ca2fe76fe76208d4be2e2ac6 SHA512 aa1fb217fa36b33e8e4b1a9cf5057803f9dd2d50c76f8d33c6494939a592fba0bddef53d4e5d2c14769508df6d409b3bd18cd6d716014cd99224be5e1d64282b EBUILD pslib-0.4.5-r1.ebuild 1016 BLAKE2B 9bc6ef561b229f0d4d9babe881fae80f705890d3744afa2f6478368c522082c48aa3678db4df96a18aaa4d86ba3a2648b4c592cfdff39cbfd364c38a92b59b0c SHA512 3ac50cebf5bd6c53ccc4ae1cb84036d98b779db7dcee066df4ea77ce3660c0d026a84e5cdb2744e97dd9b252b6a1310453102b23f9492d0cbaec3176f29c59db +EBUILD pslib-0.4.6.ebuild 1087 BLAKE2B 9a070803a58809c896eb395a5ffd27889566c01db90368b18ac092a76bc38351401ce56607ab00679c8f4108e5a1df017c3918224f56800ec3e2493381e7c73b SHA512 5f805eca725dcfdce9969e17be495d0bfd9ea9220e801890d01dcee6bad0de599aadc9b80ed68ccf70b8bfec9ccb4d1e565608d3249855b53fa7a203562029f6 MISC metadata.xml 445 BLAKE2B d79021aa9674d0593bd738a9ef628315f3ae161f4d71c5c81e560ddace1ec730d6a6355ef70577148d2cca9ce6e012e0ccc828bda43711f2dbd5821a7dca394e SHA512 4f7425589cd82e37c8a282e070a80ed69d33c262fa34e378f0d749a2cfbc1c1f82900bded74a71c30659d1a18c6806b253a0924347364a6798b3e361bef99ec1 diff --git a/dev-libs/pslib/files/pslib-0.4.6-Fix-implicit-function-declarations.patch b/dev-libs/pslib/files/pslib-0.4.6-Fix-implicit-function-declarations.patch new file mode 100644 index 000000000000..7548ced79b87 --- /dev/null +++ b/dev-libs/pslib/files/pslib-0.4.6-Fix-implicit-function-declarations.patch @@ -0,0 +1,29 @@ +From ffd2e04b8e32d916cc513e73e92afa98348d3a73 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 4 Oct 2022 06:37:32 +0100 +Subject: [PATCH] Fix implicit function declarations + +Bug: https://bugs.gentoo.org/871300 +--- a/src/bmp.c ++++ b/src/bmp.c +@@ -34,6 +34,9 @@ + #ifdef HAVE_CONFIG_H + #include "config.h" + #endif ++ ++#include <ps_error.h> ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +--- a/src/ps_error.h ++++ b/src/ps_error.h +@@ -1,5 +1,8 @@ + #ifndef __PS_ERROR_H__ + #define __PS_ERROR_H__ ++ ++#include "ps_intern.h" ++ + void _ps_errorhandler(PSDoc *p, int error, const char *str, void *data); + void ps_error(PSDoc *p, int type, const char *fmt, ...); + #endif diff --git a/dev-libs/pslib/pslib-0.4.6.ebuild b/dev-libs/pslib/pslib-0.4.6.ebuild new file mode 100644 index 000000000000..4391cb1b9132 --- /dev/null +++ b/dev-libs/pslib/pslib-0.4.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="pslib is a C-library to create PostScript files on the fly" +HOMEPAGE="http://pslib.sourceforge.net/" +SRC_URI="mirror://sourceforge/pslib/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug jpeg png tiff" + +RDEPEND=" + png? ( media-libs/libpng:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + tiff? ( media-libs/tiff:= )" +#gif? requires libungif, not in portage +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/perl + dev-libs/glib:2 + dev-util/intltool + dev-perl/XML-Parser + sys-devel/gettext" + +PATCHES=( + "${FILESDIR}"/${PN}-0.4.5-fix-build-system.patch + "${FILESDIR}"/${PN}-0.4.6-Fix-implicit-function-declarations.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --enable-bmp \ + $(use_with png) \ + $(use_with jpeg) \ + $(use_with tiff) \ + $(use_with debug) +} + +src_install() { + default + + # package installs .pc files + find "${ED}" -name '*.la' -delete || die +} |