1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Patch for libgtop2, unDEPRECATE.

This commit is contained in:
Volker Stolz 2004-07-21 12:21:16 +00:00
parent b792ecdd80
commit 76fb6bb2b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114338
2 changed files with 16 additions and 8 deletions

View File

@ -19,6 +19,7 @@ COMMENT= S-Lang System Monitor
LIB_DEPENDS= gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \
slang.1:${PORTSDIR}/devel/libslang
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@ -28,11 +29,7 @@ MAN1= slmon.1
PLIST_FILES= bin/slmon
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib -lncurses
IGNORE= Needs update for libgtop2
EXPIRATION_DATE=2004-08-20
DEPRECATED= ${IGNORE}
LDFLAGS= -L${LOCALBASE}/lib -lncurses -lm
.include <bsd.port.pre.mk>
@ -40,4 +37,7 @@ DEPRECATED= ${IGNORE}
LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
.endif
post-patch:
@${REINPLACE_CMD} -e 's/glibtop_free/g_free/g' ${WRKSRC}/draw.c ${WRKSRC}/stat.c
.include <bsd.port.post.mk>

View File

@ -1,6 +1,6 @@
--- defines.h.orig Tue Nov 6 14:33:50 2001
+++ defines.h Tue Nov 6 14:34:20 2001
@@ -17,6 +17,7 @@
--- defines.h.orig Wed Sep 11 19:44:03 2002
+++ defines.h Wed Jul 21 14:12:16 2004
@@ -21,6 +21,7 @@
#ifndef SLMON_DEFINES_H
#define SLMON_DEFINES_H
@ -8,3 +8,11 @@
#include <stdlib.h>
#include <time.h>
#include <string.h>
@@ -47,7 +48,6 @@
#include <glibtop/procmap.h>
#include <glibtop/mountlist.h>
#include <glibtop/fsusage.h>
-#include <glibtop/xmalloc.h>
#ifndef PROFILE_COUNT
#define PROFILE_COUNT 1000