mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
@@ -1,9 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit epatch
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="GTK+ network popup message client. Compatible with the jpop protocol"
|
||||
HOMEPAGE="http://www.draxil.uklinux.net/hip/index.pl?page=cpop"
|
||||
@@ -12,15 +10,14 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-implicit-exit_memset_strlen.patch
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-implicit-exit_memset_strlen.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
@@ -5,8 +5,8 @@ pop_gui_client.c:58:4: warning: incompatible implicit declaration of built-in fu
|
||||
pop_gui_client.c:72:27: warning: incompatible implicit declaration of built-in function ‘strlen’
|
||||
pop_gui_client.c:128:3: warning: incompatible implicit declaration of built-in function ‘exit’
|
||||
|
||||
--- pop_client.c
|
||||
+++ pop_client.c
|
||||
--- a/pop_client.c
|
||||
+++ b/pop_client.c
|
||||
@@ -1,11 +1,11 @@
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
@@ -20,16 +20,16 @@ pop_gui_client.c:128:3: warning: incompatible implicit declaration of built-in f
|
||||
#include <netdb.h>
|
||||
#include "pop_common.h"
|
||||
#include "pop_client.h"
|
||||
--- pop_common.c
|
||||
+++ pop_common.c
|
||||
--- a/pop_common.c
|
||||
+++ b/pop_common.c
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
void errquit(char *message)
|
||||
{
|
||||
perror(message);
|
||||
--- pop_gui_client.c
|
||||
+++ pop_gui_client.c
|
||||
--- a/pop_gui_client.c
|
||||
+++ b/pop_gui_client.c
|
||||
@@ -1,3 +1,5 @@
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user