Author took all the FreeBSD-specific patches from the port and

incorporated them into the tarball. And then, just to be sneaky,
he re-rolled the tarball with the same version number. The patches
and REINPLACEs are now gone, and I've bumped PORTREVISION.
This commit is contained in:
Adam Weinberger 2003-11-12 22:54:08 +00:00
parent a66cf2b83d
commit 59471bbadf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93848
4 changed files with 2 additions and 38 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= mdh
PORTVERSION= 1.9.54
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gozer.org/my_stuff/gtk/gtk/mdh/
@ -16,15 +17,10 @@ COMMENT= GTK2-based toolbar, sortof a gnomepanel replacement sortof
USE_X_PREFIX= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gtk20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e "s|<wait.h>|<sys/wait.h>|" \
${WRKSRC}/src/mdh.c ${WRKSRC}/src/mdh_panel_temp.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
.ifndef(NOPORTDOCS)

View File

@ -1 +1 @@
MD5 (mdh-1.9.54.tar.bz2) = eaacc354521d01a9a41aec9c147e9fe8
MD5 (mdh-1.9.54.tar.bz2) = 8f751e214bb287797915aba5a2143d18

View File

@ -1,13 +0,0 @@
--- src/mdh_panel_temp.c.orig Wed Nov 12 05:36:52 2003
+++ src/mdh_panel_temp.c Wed Nov 12 05:37:28 2003
@@ -33,9 +33,9 @@
#include <string.h>
#include <stdarg.h>
#include <errno.h>
+#include <sys/types.h>
#include <regex.h>
#include <signal.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <wait.h>

View File

@ -1,19 +0,0 @@
--- src/mdh_panel_uptime.c.orig Wed Nov 12 05:38:41 2003
+++ src/mdh_panel_uptime.c Wed Nov 12 05:45:55 2003
@@ -40,6 +40,7 @@
#ifdef BSD4_4
#include <sys/sysctl.h>
+#include <sys/time.h>
#endif
#ifdef __sun__
@@ -227,7 +228,7 @@
#ifdef BSD4_4
if(sysctl(mib, 2, &btime, &size, NULL, 0) != -1 && btime.tv_sec != 0)
- sec = (time(NULL) - boottime.tv_sec) + 30;
+ sec = (time(NULL) - btime.tv_sec) + 30;
#endif
*seconds = sec;