aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-01 04:28:26 +0800
committerflz <flz@FreeBSD.org>2005-06-01 04:28:26 +0800
commit907c75af60a9d65c67333d99a3a671de66825420 (patch)
tree24379ed10323d81f399439a08506d17ce4c9e40a /sysutils
parent6d41c0f3ae7274273c4a4784387ad6ac096c83a6 (diff)
downloadfreebsd-ports-graphics-907c75af60a9d65c67333d99a3a671de66825420.tar.gz
freebsd-ports-graphics-907c75af60a9d65c67333d99a3a671de66825420.tar.zst
freebsd-ports-graphics-907c75af60a9d65c67333d99a3a671de66825420.zip
- Update to 0.5.13.
PR: ports/81729 Submitted by: Ports Fury
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/slmon/Makefile7
-rw-r--r--sysutils/slmon/distinfo4
-rw-r--r--sysutils/slmon/files/patch-defines.h12
-rw-r--r--sysutils/slmon/files/patch-draw.c16
-rw-r--r--sysutils/slmon/files/patch-rc.c34
-rw-r--r--sysutils/slmon/files/patch-slmon.c18
6 files changed, 11 insertions, 80 deletions
diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile
index f1a9325d1be..d959a6e1b5e 100644
--- a/sysutils/slmon/Makefile
+++ b/sysutils/slmon/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= slmon
-PORTVERSION= 0.5.12
-PORTREVISION= 3
+PORTVERSION= 0.5.13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,6 +22,7 @@ USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= slmon.1
@@ -37,7 +37,4 @@ LDFLAGS= -L${LOCALBASE}/lib -lncurses -lm
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>
diff --git a/sysutils/slmon/distinfo b/sysutils/slmon/distinfo
index 207c1fbbfb0..38e9e9efb99 100644
--- a/sysutils/slmon/distinfo
+++ b/sysutils/slmon/distinfo
@@ -1,2 +1,2 @@
-MD5 (slmon-0.5.12.tar.gz) = 1b36e3d49038008cfec11b5820b77ac6
-SIZE (slmon-0.5.12.tar.gz) = 54257
+MD5 (slmon-0.5.13.tar.gz) = 9907c53e26b8dfb5d33af6da32ed89e3
+SIZE (slmon-0.5.13.tar.gz) = 103826
diff --git a/sysutils/slmon/files/patch-defines.h b/sysutils/slmon/files/patch-defines.h
index a7301c2b0f3..49cffa33a40 100644
--- a/sysutils/slmon/files/patch-defines.h
+++ b/sysutils/slmon/files/patch-defines.h
@@ -1,5 +1,5 @@
---- defines.h.orig Wed Sep 11 19:44:03 2002
-+++ defines.h Wed Jul 21 14:12:16 2004
+--- defines.h.orig Mon Jun 21 00:56:47 2004
++++ defines.h Sun May 29 21:44:41 2005
@@ -21,6 +21,7 @@
#ifndef SLMON_DEFINES_H
#define SLMON_DEFINES_H
@@ -8,11 +8,3 @@
#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
diff --git a/sysutils/slmon/files/patch-draw.c b/sysutils/slmon/files/patch-draw.c
index c9153678bec..d91c05eae2f 100644
--- a/sysutils/slmon/files/patch-draw.c
+++ b/sysutils/slmon/files/patch-draw.c
@@ -1,18 +1,12 @@
---- draw.c.orig Tue Oct 1 20:32:27 2002
-+++ draw.c Tue Aug 17 13:40:08 2004
-@@ -26,6 +26,7 @@
+--- draw.c.orig Mon Jun 21 00:56:48 2004
++++ draw.c Sun May 29 21:47:00 2005
+@@ -27,7 +27,9 @@
#include <glibtop/netload.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
++#include <arpa/inet.h>
/*
-@@ -314,6 +315,7 @@
- SLsmg_write_string("SPC,ENTER: leave help");
- break;
- default:
-+ break;
- }
- }
-
+ * Clear screen using color n. This should be used instead of SLsmg_cls() to
diff --git a/sysutils/slmon/files/patch-rc.c b/sysutils/slmon/files/patch-rc.c
deleted file mode 100644
index 5a2fabd6540..00000000000
--- a/sysutils/slmon/files/patch-rc.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- rc.c.orig Tue Aug 17 13:38:31 2004
-+++ rc.c Tue Aug 17 13:39:32 2004
-@@ -109,6 +109,7 @@
- mode = MODE_H;
- break;
- default:
-+ break;
- }
- break;
- case 'm':
-@@ -139,6 +140,7 @@
- conf.fs = 2;
- break;
- default:
-+ break;
- }
- break;
- case 'n':
-@@ -156,6 +158,7 @@
- conf.net = 3;
- break;
- default:
-+ break;
- }
- break;
- case 'v':
-@@ -166,6 +169,7 @@
- update_time = (unsigned long) (atof(tmp + pos) * 1000000.0);
- update_time -= (unsigned long) 10000;
- default:
-+ break;
- }
- free(key);
- }
diff --git a/sysutils/slmon/files/patch-slmon.c b/sysutils/slmon/files/patch-slmon.c
deleted file mode 100644
index 9491c974d82..00000000000
--- a/sysutils/slmon/files/patch-slmon.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- slmon.c.orig Tue Aug 17 13:40:46 2004
-+++ slmon.c Tue Aug 17 13:41:44 2004
-@@ -337,6 +337,7 @@
- conf.map = conf.map_x;
- break;
- default:
-+ break;
- }
- }
-
-@@ -514,6 +515,7 @@
- conf.sort_func = slmon_cmp_user_asc;
- break;
- default:
-+ break;
- }
- }
-