ports/71583: [patch] update devel/php-dbg to 2.11.26
Edwin Groothuis
edwin at mavetju.org
Sat Sep 11 09:30:17 UTC 2004
>Number: 71583
>Category: ports
>Synopsis: [patch] update devel/php-dbg to 2.11.26
>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: Sat Sep 11 09:30:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Fri Feb 27 13:54:29 EST 2004 edwin at k7.mavetju:/usr/src/sys/i386/compile/k7 i386
>Description:
Update devel/php-dbg to version 2.11.26
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/php-dbg/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 9 Feb 2004 11:43:38 -0000 1.7
+++ Makefile 11 Sep 2004 08:53:35 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= dbg
-PORTVERSION= 2.11.23
+PORTVERSION= 2.11.26
CATEGORIES= devel
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
PKGNAMEPREFIX= php-
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/php-dbg/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 31 Mar 2004 03:07:23 -0000 1.4
+++ distinfo 11 Sep 2004 08:53:35 -0000
@@ -1,2 +1,2 @@
-MD5 (dbg-2.11.23-src.tar.gz) = ddb1d141c496c8d23fe98c8de19c892e
-SIZE (dbg-2.11.23-src.tar.gz) = 38506
+MD5 (dbg-2.11.26-src.tar.gz) = 9242d389df962a5cd5d976507b1a744c
+SIZE (dbg-2.11.26-src.tar.gz) = 37158
New file: files/patch-dbg_cmd.c
--- dbg_cmd.c.orig Sat Sep 11 18:46:24 2004
+++ dbg_cmd.c Sat Sep 11 18:48:11 2004
@@ -20,6 +20,12 @@
#include "dbg_bp.h"
#include "SAPI.h"
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+
#include "php_network.h"
@@ -789,7 +795,7 @@
/* waiting and looking for debugger host responce */
inline void dbg_ack_loop(TSRMLS_D2(DBG, E)) {
- int ret_val = 0, wcnt = 0;
+ int ret_val = 0;
dbg_header_struct hdr;
dbg_packet pack;
@@ -1102,7 +1108,7 @@
DBG(req_client_port) = atol(numbuf);
if (DBG(req_client_port) <= 0 || DBG(req_client_port) > 32767) DBG(req_client_port) = DEFAULT_PORT;
}
- snprintf(reqbuf, sizeof(reqbuf), DBGSESSVAR "=%s@%s:%d", DBG(session_id), DBG(req_client_ip_address), DBG(req_client_port));
+ snprintf(reqbuf, sizeof(reqbuf), DBGSESSVAR "=%s@%s:%ld", DBG(session_id), DBG(req_client_ip_address), DBG(req_client_port));
DBG(req_sess_var) = estrdup(reqbuf);
DBG_TRACE(("parsed req IP=%s, PORT=%ld (%s), SID=%s\n", SON(DBG(req_client_ip_address)), DBG(req_client_port), numbuf, SON(DBG(session_id))));
} else {
What is a good debugger? Couldn't get dbg-cli nor ddd working...
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list