From nobody@FreeBSD.org  Wed Mar 29 05:54:25 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8ABC916A400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Mar 2006 05:54:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4524743D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Mar 2006 05:54:25 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2T5sOQa039632
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Mar 2006 05:54:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2T5sOWl039631;
	Wed, 29 Mar 2006 05:54:24 GMT
	(envelope-from nobody)
Message-Id: <200603290554.k2T5sOWl039631@www.freebsd.org>
Date: Wed, 29 Mar 2006 05:54:24 GMT
From: Sergio Mangialardi <sergio@softshark.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MANTAINER UPDATE] Update ddd to 3.3.11
X-Send-Pr-Version: www-2.3

>Number:         95065
>Category:       ports
>Synopsis:       [MANTAINER UPDATE] Update ddd to 3.3.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 29 06:00:30 GMT 2006
>Closed-Date:    Mon Apr 10 20:53:55 GMT 2006
>Last-Modified:  Mon Apr 10 20:53:55 GMT 2006
>Originator:     Sergio Mangialardi
>Release:        FreeBSD 6.1-PRERELEASE
>Organization:
>Environment:
FreeBSD loki.softshark.home 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #53: Sun Mar 26 03:37:49 CEST 2006
>Description:
- Update to 3.3.11 version
- Remove unneeded dependency to devel/freelibiberty
- Change patch file names in files, according to handbook
>How-To-Repeat:

>Fix:
--- ddd.orig/Makefile   Sat Mar 18 20:21:48 2006
+++ ddd/Makefile        Wed Mar 29 07:16:19 2006
@@ -7,7 +7,7 @@
 #

 PORTNAME=      ddd
-PORTVERSION=   3.3.10
+PORTVERSION=   3.3.11
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=    ${PORTNAME}
@@ -15,10 +15,7 @@
 MAINTAINER=    sergio@softshark.org
 COMMENT=       Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB

-LIB_DEPENDS=   iberty.1:${PORTSDIR}/devel/freelibiberty
-
 USE_GMAKE=     yes
-USE_REINPLACE= yes
 USE_XPM=       yes
 USE_MOTIF=     yes
 GNU_CONFIGURE= yes
@@ -26,7 +23,7 @@
 CFLAGS+=       -Wno-deprecated
 CPPFLAGS+=     -I${LOCALBASE}/include
 LDFLAGS+=      -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include/freelibiberty ${CPPFLAGS}' \
+CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' \
                LDFLAGS='${LDFLAGS}'
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=        --with-motif-libraries="${LIBXMDIR}" \
diff -u -N -r ddd.orig/distinfo ddd/distinfo
--- ddd.orig/distinfo   Sun Jan 29 09:54:25 2006
+++ ddd/distinfo        Wed Mar 29 07:16:19 2006
@@ -1,3 +1,3 @@
-MD5 (ddd-3.3.10.tar.gz) = a10a3b55455cce8073cf2f8db01ba1a1
-SHA256 (ddd-3.3.10.tar.gz) = 3e1b986d4719c393eab6bc1366ee274608cc7432c0776c4b0c0e162f8175af7b
-SIZE (ddd-3.3.10.tar.gz) = 7620458
+MD5 (ddd-3.3.11.tar.gz) = f19437ebfdb5f2667d6de30f700dd319
+SHA256 (ddd-3.3.11.tar.gz) = a555d76e1d4d5fa092b190ffb99cdde8880131c063e4b53435df3a022ed4d3da
+SIZE (ddd-3.3.11.tar.gz) = 7564005
diff -u -N -r ddd.orig/files/patch-ddd-LiterateA.C ddd/files/patch-ddd-LiterateA.C
--- ddd.orig/files/patch-ddd-LiterateA.C        Thu Jan  1 01:00:00 1970
+++ ddd/files/patch-ddd-LiterateA.C     Wed Mar 29 07:16:19 2006
@@ -0,0 +1,32 @@
+--- ddd/LiterateA.C.orig       Sat Nov  6 19:00:37 2004
++++ ddd/LiterateA.C    Sat Nov  6 19:04:44 2004
+@@ -216,8 +216,12 @@
+     int flags = fcntl(fileno(fp), F_GETFL, 0);
+     if (flags == -1)
+       _raiseIOWarning("cannot get file descriptor status flags");
+-    if (fcntl(fileno(fp), F_SETFL, flags | O_NONBLOCK) == -1)
+-      _raiseIOWarning("cannot set file to non-blocking mode");
++    if (fcntl(fileno(fp), F_SETFL, flags | O_NONBLOCK) == -1) {
++#if defined(__FreeBSD__)
++        if(errno != EAGAIN)
++#endif
++        _raiseIOWarning("cannot set file to non-blocking mode");
++    }
+ #endif
+
+     // Read stuff
+@@ -251,8 +255,12 @@
+
+ #if HAVE_FCNTL && defined(F_SETFL)
+     // Reset file state
+-    if (fcntl(fileno(fp), F_SETFL, flags) == -1)
+-      _raiseIOWarning("cannot restore file mode");
++    if (fcntl(fileno(fp), F_SETFL, flags) == -1) {
++#if defined(__FreeBSD__)
++        if(errno != EAGAIN)
++#endif
++        _raiseIOWarning("cannot restore file mode");
++    }
+ #endif
+
+     return nitems;
diff -u -N -r ddd.orig/files/patch-ddd-Makefile.in ddd/files/patch-ddd-Makefile.in
--- ddd.orig/files/patch-ddd-Makefile.in        Thu Jan  1 01:00:00 1970
+++ ddd/files/patch-ddd-Makefile.in     Wed Mar 29 07:16:19 2006
@@ -0,0 +1,11 @@
+--- ddd/Makefile.in.orig       Sat Nov  6 18:53:54 2004
++++ ddd/Makefile.in    Sat Nov  6 18:54:32 2004
+@@ -369,7 +369,7 @@
+ LPR = @LPR@
+ LTLIBOBJS = @LTLIBOBJS@
+ M4 = @M4@
+-MAKEINFO = @MAKEINFO@
++MAKEINFO = @MAKEINFO@ --no-split
+ MINIMAL_TOC = @MINIMAL_TOC@
+ NICKNAME = @NICKNAME@
+ OBJEXT = @OBJEXT@
diff -u -N -r ddd.orig/files/patch-ddd-TTYAgent.C ddd/files/patch-ddd-TTYAgent.C
--- ddd.orig/files/patch-ddd-TTYAgent.C Thu Jan  1 01:00:00 1970
+++ ddd/files/patch-ddd-TTYAgent.C      Wed Mar 29 07:16:19 2006
@@ -0,0 +1,22 @@
+--- ddd/TTYAgent.C.orig        Sat Nov  6 19:05:52 2004
++++ ddd/TTYAgent.C     Sat Nov  6 19:08:23 2004
+@@ -715,8 +715,19 @@
+     }
+     else
+     {
++#if !defined(__FreeBSD__)
+       if (fcntl(master, F_SETFL, flags | O_NONBLOCK) == -1)
+           _raiseIOWarning("cannot set file to non-blocking mode");
++#else
++    do {
++        if(fcntl(master, F_SETFL, flags | O_NONBLOCK) != -1)
++            break;
++        else if(errno == EAGAIN)
++            sleep(1);
++        else
++            _raiseIOWarning("cannot set file to non-blocking mode");
++    } while(errno == EAGAIN);
++#endif
+     }
+ #endif
+
diff -u -N -r ddd.orig/files/patch-ddd::LiterateA.C ddd/files/patch-ddd::LiterateA.C
--- ddd.orig/files/patch-ddd::LiterateA.C       Sat Dec  4 20:34:14 2004
+++ ddd/files/patch-ddd::LiterateA.C    Thu Jan  1 01:00:00 1970
@@ -1,32 +0,0 @@
---- ddd/LiterateA.C.orig       Sat Nov  6 19:00:37 2004
-+++ ddd/LiterateA.C    Sat Nov  6 19:04:44 2004
-@@ -216,8 +216,12 @@
-     int flags = fcntl(fileno(fp), F_GETFL, 0);
-     if (flags == -1)
-       _raiseIOWarning("cannot get file descriptor status flags");
--    if (fcntl(fileno(fp), F_SETFL, flags | O_NONBLOCK) == -1)
--      _raiseIOWarning("cannot set file to non-blocking mode");
-+    if (fcntl(fileno(fp), F_SETFL, flags | O_NONBLOCK) == -1) {
-+#if defined(__FreeBSD__)
-+        if(errno != EAGAIN)
-+#endif
-+        _raiseIOWarning("cannot set file to non-blocking mode");
-+    }
- #endif
-
-     // Read stuff
-@@ -251,8 +255,12 @@
-
- #if HAVE_FCNTL && defined(F_SETFL)
-     // Reset file state
--    if (fcntl(fileno(fp), F_SETFL, flags) == -1)
--      _raiseIOWarning("cannot restore file mode");
-+    if (fcntl(fileno(fp), F_SETFL, flags) == -1) {
-+#if defined(__FreeBSD__)
-+        if(errno != EAGAIN)
-+#endif
-+        _raiseIOWarning("cannot restore file mode");
-+    }
- #endif
-
-     return nitems;
diff -u -N -r ddd.orig/files/patch-ddd::Makefile.in ddd/files/patch-ddd::Makefile.in
--- ddd.orig/files/patch-ddd::Makefile.in       Sat Dec  4 20:34:14 2004
+++ ddd/files/patch-ddd::Makefile.in    Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- ddd/Makefile.in.orig       Sat Nov  6 18:53:54 2004
-+++ ddd/Makefile.in    Sat Nov  6 18:54:32 2004
-@@ -369,7 +369,7 @@
- LPR = @LPR@
- LTLIBOBJS = @LTLIBOBJS@
- M4 = @M4@
--MAKEINFO = @MAKEINFO@
-+MAKEINFO = @MAKEINFO@ --no-split
- MINIMAL_TOC = @MINIMAL_TOC@
- NICKNAME = @NICKNAME@
- OBJEXT = @OBJEXT@
diff -u -N -r ddd.orig/files/patch-ddd::TTYAgent.C ddd/files/patch-ddd::TTYAgent.C
--- ddd.orig/files/patch-ddd::TTYAgent.C        Sat Dec  4 20:34:14 2004
+++ ddd/files/patch-ddd::TTYAgent.C     Thu Jan  1 01:00:00 1970
@@ -1,22 +0,0 @@
---- ddd/TTYAgent.C.orig        Sat Nov  6 19:05:52 2004
-+++ ddd/TTYAgent.C     Sat Nov  6 19:08:23 2004
-@@ -715,8 +715,19 @@
-     }
-     else
-     {
-+#if !defined(__FreeBSD__)
-       if (fcntl(master, F_SETFL, flags | O_NONBLOCK) == -1)
-           _raiseIOWarning("cannot set file to non-blocking mode");
-+#else
-+    do {
-+        if(fcntl(master, F_SETFL, flags | O_NONBLOCK) != -1)
-+            break;
-+        else if(errno == EAGAIN)
-+            sleep(1);
-+        else
-+            _raiseIOWarning("cannot set file to non-blocking mode");
-+    } while(errno == EAGAIN);
-+#endif
-     }
- #endif
-

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Wed Mar 29 07:40:08 UTC 2006 
State-Changed-Why:  
Your patch does not apply - looks like whitespace got damaged. 
Can you resubmit? Preferably post the patch on the webspace, or gzip it 
and mail it to me. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Wed Mar 29 07:40:08 UTC 2006 
Responsible-Changed-Why:  
Look after 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95065 

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org, sergio@softshark.org
Cc:  
Subject: Re: ports/95065: [MANTAINER UPDATE] Update ddd to 3.3.11
Date: Mon, 10 Apr 2006 20:27:08 +0200

 Hey hey hey, any progress on ports/95065? I asked for resubmission with
 correct whitespace two weeks ago...
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Pain clots and unformed lice pat this train.
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Apr 10 20:53:47 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95065 
>Unformatted:
