summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-06-01 12:43:37 +0200
committerPacho Ramos <pacho@gentoo.org>2024-06-01 12:45:29 +0200
commit4a2bbee6e9c5f3c668fb82b034c06c758378b2f9 (patch)
tree3fa9a8b5c2fc7eb4564da009da8fd9d215f77b9c /net-ftp
parentnet-ftp/gftp: C99 porting, fix pointer type (diff)
downloadgentoo-4a2bbee6e9c5f3c668fb82b034c06c758378b2f9.tar.gz
gentoo-4a2bbee6e9c5f3c668fb82b034c06c758378b2f9.tar.bz2
gentoo-4a2bbee6e9c5f3c668fb82b034c06c758378b2f9.zip
net-ftp/gftp: Fix desktop file
Closes: https://bugs.gentoo.org/843473 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/gftp/gftp-2.9.1b-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-ftp/gftp/gftp-2.9.1b-r1.ebuild b/net-ftp/gftp/gftp-2.9.1b-r1.ebuild
index fd7704a41e9c..ef3270996d03 100644
--- a/net-ftp/gftp/gftp-2.9.1b-r1.ebuild
+++ b/net-ftp/gftp/gftp-2.9.1b-r1.ebuild
@@ -34,6 +34,12 @@ PATCHES=(
"${FILESDIR}"/"${P}"-fix-socklen-type.patch
)
+src_prepare() {
+ gnome2_src_prepare
+ # https://github.com/masneyb/gftp/issues/181
+ sed -i -e 's/Icon=gftp.png/Icon=gftp/' docs/gftp.desktop || die
+}
+
src_configure() {
gnome2_src_configure \
$(use_enable gtk gtkport) \