From 94393d04ccce851b0084c650c99a2eca52f9d3bb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 5 Dec 2022 03:04:53 +0000 Subject: gentoo auto-resync : 05:12:2022 - 03:04:53 --- x11-plugins/gkrellshoot/Manifest | 2 ++ .../gkrellshoot-0.4.4-r5-fix-implicit-int.patch | 25 +++++++++++++++++ .../gkrellshoot/gkrellshoot-0.4.4-r5.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch create mode 100644 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild (limited to 'x11-plugins/gkrellshoot') diff --git a/x11-plugins/gkrellshoot/Manifest b/x11-plugins/gkrellshoot/Manifest index 87e392c407b6..e679a607c6e4 100644 --- a/x11-plugins/gkrellshoot/Manifest +++ b/x11-plugins/gkrellshoot/Manifest @@ -1,5 +1,7 @@ AUX gkrellshoot-0.4.4-r4-pkgconfig.patch 657 BLAKE2B 83d9168314c216241894fc7ef354c8e271d1a551d4809bb03aedc7265314778ec3ae08f9bcf5070742fe45e40b90769cf7691bc27223cca7facdc3fb429adfb1 SHA512 02afe801966bc62dbd90cf573a25c196e0b4f4b3c31c98a464214cdf52dd6b09d5e686e04226160c90dfc392005e0ba9d8e4b1beac83f54693d7af6c520a3f87 +AUX gkrellshoot-0.4.4-r5-fix-implicit-int.patch 582 BLAKE2B 6fe1af328d8680f335dec6a6964c2ef72750364bbb5eccebf7fca16c25802253531bbcd1061eedeb4574c56fc75df9ad32e03198b34f046a632b1eb0148556c3 SHA512 c7968dcbadab4f3f32d4aa7dea896b950146bac822a32f09823cef52a6b13513d339163b11984f693b23f9d98ae33022148cc9edea64e2caf586045c3143a739 AUX makefile-respect-flags.patch 663 BLAKE2B 1129e147524560fd8a5ff2979453ed9aa0a8abb03b940d989106f18f887b571cd09a72454da05325b94c369ee72c4bfca2981945910ddd6e7c3e9ab1fe35b0cc SHA512 a58b16f0b95533be587f2fe1a63ba7c19ade8dfd9b432d2423aee3ff7b99789d662cb7ed0e04854ed1b315c106586c4cd527427b5ce395b3bbeffedf2c5fff80 DIST gkrellshoot-0.4.4.tar.gz 16556 BLAKE2B 417217ffa500d8b0cc4ddd80849b2da83e3e55bc489db83fd7c8992f42af9ebb385c1ece17cae65cb7393bffadaaffd70e11a4dea16aa4d2b2f19e0b828a6833 SHA512 9363c045a99c23f8fedf95ac82c7bab4ce21acb675fdabdd831f174d9816a14a22ed6d7048d475b4c4199b9e6a88f3f663702ac2f9304f08860339beb323322a EBUILD gkrellshoot-0.4.4-r4.ebuild 667 BLAKE2B 11ed230548f847cc54c2e92ac257d8fbce8ca8bf6f043b7601c2629824ee7d12f93c84ca696ba233a09abe71f21b292d9d79166e5f35d2c48ca776cd3d1699e6 SHA512 65a5c296d64ccf7f43b2edc643bc3da84713b7d3357f43dbc87e8a40cf9f1e4c81c6daf3b999924b6cdf11af411c75373800e7c5c928239c8e8f870939ce51d7 +EBUILD gkrellshoot-0.4.4-r5.ebuild 716 BLAKE2B 4fecd312a65417754cd284e147c407502742472b95656a840ddd575a7fdabff3ce2de6be65f9aaed908484a08288f8188b77bf3ee48e1b28ef6c740d832231ed SHA512 a78ca153662875e1d0f9bb6453e2b7d7eb0e2693e7e3a3bdaa970c7382007480419fe6fd305530ef7cf5c579a76e34db6bf20144e7afed1fe2c916774ea61005 MISC metadata.xml 249 BLAKE2B 3035b160871880c8efce1239c00a3560c8c7b2b8eda5ebe8dab078c77496de9815444cdb9e7440687681828490e7684c2794406444eedf71fa380f5cd3c35b05 SHA512 01584093d9f32130ab091c0101ca41fba98d46fc3670c9598f052ef4393659bc8fc964d4b6232c7724eb7d0e03e32901b231799a595fa7f6626b3367dd116a68 diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch new file mode 100644 index 000000000000..fae0a519ba05 --- /dev/null +++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch @@ -0,0 +1,25 @@ +By default clang16 will not allow implicit integer declarations in function parameters. + +Bug: https://bugs.gentoo.org/874891 + +Signed-off-by: Pascal Jäger +--- + gkrellshoot.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gkrellshoot.c b/gkrellshoot.c +index 114a85e..0d74d1d 100755 +--- a/gkrellshoot.c ++++ b/gkrellshoot.c +@@ -436,7 +436,7 @@ double star_screenx[NUM_STARS]; + double star_screeny[NUM_STARS]; + + static void +-draw_starfield ( chart_index ) ++draw_starfield ( size_t chart_index ) + { + gint i; + guchar b; +-- +2.38.1 + diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild new file mode 100644 index 000000000000..d452d63895c9 --- /dev/null +++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen" +HOMEPAGE="http://gkrellshoot.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz" +S="${WORKDIR}/${P/s/S}" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="app-admin/gkrellm:2[X]" +RDEPEND=" + ${DEPEND} + virtual/imagemagick-tools" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/makefile-respect-flags.patch + "${FILESDIR}/${P}"-r4-pkgconfig.patch + "${FILESDIR}/${P}"-r5-fix-implicit-int.patch +) + +src_compile() { + tc-export PKG_CONFIG + default +} -- cgit v1.2.3