From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 11 13:20:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE43737B409 for ; Sun, 11 May 2003 13:20:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8AA43FE5 for ; Sun, 11 May 2003 13:20:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4BKK9Up089428 for ; Sun, 11 May 2003 13:20:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4BKK9oC089427; Sun, 11 May 2003 13:20:09 -0700 (PDT) Resent-Date: Sun, 11 May 2003 13:20:09 -0700 (PDT) Resent-Message-Id: <200305112020.h4BKK9oC089427@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steffen Vogelreuter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18E0037B401; Sun, 11 May 2003 13:17:55 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id C751043FBD; Sun, 11 May 2003 13:17:51 -0700 (PDT) (envelope-from steffen@vogelreuter.de) Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19ExGY-0007VP-00; Sun, 11 May 2003 22:17:50 +0200 Received: from [80.134.198.124] (helo=vogelreuter.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19ExGY-00056J-00; Sun, 11 May 2003 22:17:50 +0200 Received: from localhost (localhost.lan.fli4l [127.0.0.1]) by vogelreuter.de (Postfix) with ESMTP id 9558324B; Sun, 11 May 2003 21:55:00 +0200 (CEST) Received: by vogelreuter.de (Postfix, from userid 1001) id 871D6C2; Sun, 11 May 2003 21:54:55 +0200 (CEST) Message-Id: <20030511195455.871D6C2@vogelreuter.de> Date: Sun, 11 May 2003 21:54:55 +0200 (CEST) From: Steffen Vogelreuter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Oliver Braun Subject: ports/52077: update port:sysutils/gtk-imonc to 0.4.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steffen Vogelreuter List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 20:20:21 -0000 >Number: 52077 >Category: ports >Synopsis: update port:sysutils/gtk-imonc to 0.4.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 11 13:20:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Steffen Vogelreuter >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: >Description: update to version 0.4.4 >How-To-Repeat: >Fix: --- diff begins here --- diff -ruN /usr/ports/sysutils/gtk-imonc/Makefile gtk-imonc/Makefile --- /usr/ports/sysutils/gtk-imonc/Makefile Sun May 11 17:17:18 2003 +++ gtk-imonc/Makefile Sun May 11 21:52:31 2003 @@ -6,7 +6,7 @@ # PORTNAME= gtk-imonc -PORTVERSION= 0.3a +PORTVERSION= 0.4.4 CATEGORIES= sysutils MASTER_SITES= http://userpage.fu-berlin.de/~zeank/gtk-imonc/download/ @@ -18,12 +18,11 @@ HAS_CONFIGURE= yes USE_GMAKE= yes USE_GNOME= gtk12 gnomehier +USE_GNOMENG= yes USE_REINPLACE= yes USE_X_PREFIX= yes -post-patch: - @${REINPLACE_CMD} -e 's|gtk-config|gtk12-config|g ; \ - s|/usr/local|${X11BASE}|g' \ - ${WRKSRC}/configure +pre-configure: + @${REINPLACE_CMD} -e 's|ac_default_prefix=/usr/local|ac_default_prefix=${PREFIX}|g' ${WRKSRC}/configure .include diff -ruN /usr/ports/sysutils/gtk-imonc/distinfo gtk-imonc/distinfo --- /usr/ports/sysutils/gtk-imonc/distinfo Sat Oct 26 22:07:44 2002 +++ gtk-imonc/distinfo Sun May 11 21:09:13 2003 @@ -1 +1 @@ -MD5 (gtk-imonc-0.3a.tar.gz) = b4718cea4076e7af1581092ade9b61f1 +MD5 (gtk-imonc-0.4.4.tar.gz) = 4e6a6a5f5bdbba928940571d8b2d3774 diff -ruN /usr/ports/sysutils/gtk-imonc/files/patch-timer.c gtk-imonc/files/patch-timer.c --- /usr/ports/sysutils/gtk-imonc/files/patch-timer.c Sat Oct 26 22:07:44 2002 +++ gtk-imonc/files/patch-timer.c Thu Jan 1 01:00:00 1970 @@ -1,48 +0,0 @@ ---- gtk-imonc/timer.c.orig Fri Aug 16 21:52:15 2002 -+++ gtk-imonc/timer.c Sat Oct 26 15:43:20 2002 -@@ -183,12 +183,12 @@ - row[i] = chargebuf; - break; - case 8: /* IBytes */ -- tmpbytes = atoll (strtok (NULL, " ")); -+ tmpbytes = atoi (strtok (NULL, " ")); - ibytes += tmpbytes; - row[i] = get_bytes (tmpbytes, ibytebuf); - break; - case 9: /* OBytes */ -- tmpbytes = atoll (strtok (NULL, " ")); -+ tmpbytes = atoi (strtok (NULL, " ")); - obytes += tmpbytes; - row[i] = get_bytes (tmpbytes, obytebuf); - break; -@@ -773,8 +773,8 @@ - gtk_clist_set_text (GTK_CLIST (clist), j, 2, get_answer (fd)); - - send_command (fd, "quantity pppoe"); -- gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes (atoll (strtok (get_answer (fd), " ")), buf)); -- gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes (atoll (strtok (NULL, " ")), buf)); -+ gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes (atoi (strtok (get_answer (fd), " ")), buf)); -+ gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes (atoi (strtok (NULL, " ")), buf)); - - send_command (fd, "online-time pppoe"); - gtk_clist_set_text (GTK_CLIST (clist), j, 5, get_answer (fd)); -@@ -814,8 +814,8 @@ - - sprintf (buf, "quantity %i", i); - send_command (fd, buf); -- gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 3, get_bytes (atoll (strtok (get_answer (fd), " ")), buf)); -- gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 4, get_bytes (atoll (strtok (NULL, " ")), buf)); -+ gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 3, get_bytes (atoi (strtok (get_answer (fd), " ")), buf)); -+ gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 4, get_bytes (atoi (strtok (NULL, " ")), buf)); - - sprintf (buf, "online-time %i", i); - send_command (fd, buf); -@@ -892,7 +892,7 @@ - return buf; - } - -- sprintf (buf, "%lu", (ulong) bytes); -+ sprintf (buf, "%lu", (long) bytes); - return buf; - - } /* get_bytes (bytes, *buf) */ --- diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: