freebsd-ports/devel/libgtop/Makefile
Dimitry Andric b27b06ae72 devel/libgtop: unbreak build with clang 15
main.c:226:35: error: incompatible pointer to integer conversion passing 'char[1024]' to parameter of type 'pid_t' (aka 'int') [-Wint-conversion]
                (server, &resp->u.data.proc_io, parameter);
                                                ^~~~~~~~~
../../include/glibtop/procio.h:78:74: note: passing argument to parameter 'pid' here
void glibtop_get_proc_io_l (glibtop *server, glibtop_proc_io *buf, pid_t pid);
                                                                         ^

PR:		268260
Reported by:	antoine (via bug 265425 exp-run)

(cherry picked from commit 2fef1dbd47)
2022-12-10 08:34:18 +00:00

32 lines
747 B
Makefile

PORTNAME= libgtop
PORTVERSION= 2.40.0
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= df6393ac0cd7.patch:-p1 # https://gitlab.gnome.org/GNOME/libgtop/-/merge_requests/35
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME top library
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_PERL5= build
USE_XORG= xau
USES= gettext gmake gnome libtool makeinfo pathfix perl5 \
pkgconfig tar:xz xorg
USE_GNOME= gnomeprefix glib20 intlhack introspection:build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-introspection
INFO= libgtop2
PKGMESSAGE= ${FILESDIR}/pkg-message
.include <bsd.port.mk>