FreeBSD Bugzilla – Attachment 46118 Details for
Bug 70894
[PATCH] devel/ddd: update to 3.3.9, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ddd-3.3.9.patch
ddd-3.3.9.patch (text/plain), 10.46 KB, created by
Sergio Mangialardi
on 2004-08-24 08:30:24 UTC
(
hide
)
Description:
ddd-3.3.9.patch
Filename:
MIME Type:
Creator:
Sergio Mangialardi
Created:
2004-08-24 08:30:24 UTC
Size:
10.46 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/Makefile /usr/ports/devel/ddd/Makefile >--- /usr/ports/devel/ddd.old/Makefile Tue Aug 17 15:45:08 2004 >+++ /usr/ports/devel/ddd/Makefile Tue Aug 24 09:16:50 2004 >@@ -7,12 +7,12 @@ > # > > PORTNAME= ddd >-PORTVERSION= 3.3.8 >+PORTVERSION= 3.3.9 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_GNU} >-MASTER_SITE_SUBDIR= ddd >+MASTER_SITE_SUBDIR= ${PORTNAME} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= sergio@softshark.org > COMMENT= Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB > > LIB_DEPENDS= iberty.1:${PORTSDIR}/devel/freelibiberty >@@ -26,7 +26,7 @@ > CFLAGS+= -Wno-deprecated > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >-CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include/freelibiberty ${CPPFLAGS} -fpermissive' \ >+CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include/freelibiberty ${CPPFLAGS}' \ > LDFLAGS='${LDFLAGS}' > CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} > CONFIGURE_ARGS= --with-motif-libraries="${LIBXMDIR}" \ >@@ -39,6 +39,7 @@ > doc/html/ddd.html doc/ddd-paper.ps \ > doc/ddd-themes.ps doc/ddd.ps \ > doc/ddd-themes.pdf doc/ddd.pdf >+INFO= ddd ddd-themes > > .if defined(MOTIFLIB) > .if defined(MOTIF_STATIC) >@@ -51,18 +52,6 @@ > .endif > > .include <bsd.port.pre.mk> >- >-# DDD builds with either GCC 3.1, GCC 3.2 or GCC 3.3 >-# Use 3.1 or 3.2 if it is available with base system >-# Otherwise, default to 3.3 >-.if ${OSVERSION} >= 500035 && ${OSVERSION} <= 500038 >-USE_GCC=3.1 >-.elif ${OSVERSION} > 500038 && ${OSVERSION} < 501103 >-USE_GCC=3.2 >-.else >-USE_GCC=3.3 >-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure-gcc33 >-.endif > > pre-patch: > @${RM} -fv ${WRKSRC}/ddd/ddd.info* >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/distinfo /usr/ports/devel/ddd/distinfo >--- /usr/ports/devel/ddd.old/distinfo Sun Aug 22 06:02:22 2004 >+++ /usr/ports/devel/ddd/distinfo Tue Aug 24 08:36:33 2004 >@@ -1,2 +1,2 @@ >-MD5 (ddd-3.3.8.tar.gz) = 60c5bfbfe1564926edda629ffcf01e52 >-SIZE (ddd-3.3.8.tar.gz) = 8606382 >+MD5 (ddd-3.3.9.tar.gz) = acfca53c62507795f4ceb355cb34e2a2 >+SIZE (ddd-3.3.9.tar.gz) = 8238347 >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/extra-patch-configure-gcc33 /usr/ports/devel/ddd/files/extra-patch-configure-gcc33 >--- /usr/ports/devel/ddd.old/files/extra-patch-configure-gcc33 Fri Jun 25 06:09:16 2004 >+++ /usr/ports/devel/ddd/files/extra-patch-configure-gcc33 Thu Jan 1 01:00:00 1970 >@@ -1,10 +0,0 @@ >---- configure.orig Fri Apr 9 15:32:46 2004 >-+++ configure Fri Apr 9 15:33:05 2004 >-@@ -4871,6 +4871,7 @@ >- #line $LINENO "configure" >- #include "confdefs.h" >- #include <iostream> >-+#include <fstream> >- #ifdef F77_DUMMY_MAIN >- # ifdef __cplusplus >- extern "C" >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-configure /usr/ports/devel/ddd/files/patch-configure >--- /usr/ports/devel/ddd.old/files/patch-configure Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-configure Tue Aug 24 08:36:33 2004 >@@ -1,20 +1,20 @@ >---- configure.orig Wed Oct 22 15:29:40 2003 >-+++ configure Fri Feb 27 13:33:02 2004 >-@@ -3811,7 +3811,7 @@ >- RANLIB="$ac_cv_prog_RANLIB" >- fi >+--- configure.orig Thu Aug 19 19:58:54 2004 >++++ configure Thu Aug 19 20:08:09 2004 >+@@ -3009,7 +3009,7 @@ >+ >+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' > > -for ac_prog in 'bison -y' byacc > +for ac_prog in byacc > do > # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-@@ -23156,7 +23156,7 @@ >+@@ -35756,7 +35756,7 @@ > > _ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >-- egrep "${ice_re_word}ioctl *\(" >/dev/null 2>&1; then >-+ egrep "${ice_re_word}\(?ioctl\)? *\(" >/dev/null 2>&1; then >+- $EGREP "${ice_re_word}ioctl *$ice_re_params\(\(" >/dev/null 2>&1; then >++ $EGREP "${ice_re_word}\(?ioctl\?) *$ice_re_params\(\(" >/dev/null 2>&1; then > ice_cv_have_ioctl_decl=yes > fi > rm -f conftest* >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-ddd::Ddd.in /usr/ports/devel/ddd/files/patch-ddd::Ddd.in >--- /usr/ports/devel/ddd.old/files/patch-ddd::Ddd.in Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-ddd::Ddd.in Thu Jan 1 01:00:00 1970 >@@ -1,12 +0,0 @@ >---- ddd/Ddd.in.orig Wed Oct 22 15:25:51 2003 >-+++ ddd/Ddd.in Fri Feb 27 13:33:02 2004 >-@@ -284,7 +284,8 @@ >- >- >- ! Paper size, in format WIDTH x HEIGHT. (Default: A4). >--@Ddd@*paperSize: 210mm x 297mm >-+!@Ddd@*paperSize: 210mm x 297mm >-+@Ddd@*paperSize: 8.5" x 11" >- >- >- >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-ddd::LiterateA.C /usr/ports/devel/ddd/files/patch-ddd::LiterateA.C >--- /usr/ports/devel/ddd.old/files/patch-ddd::LiterateA.C Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-ddd::LiterateA.C Tue Aug 24 08:36:33 2004 >@@ -1,6 +1,6 @@ >---- ddd/LiterateA.C.orig Sat May 24 11:27:03 2003 >-+++ ddd/LiterateA.C Fri Feb 27 13:33:02 2004 >-@@ -220,8 +220,12 @@ >+--- ddd/LiterateA.C.orig Thu Aug 19 20:16:55 2004 >++++ ddd/LiterateA.C Thu Aug 19 20:23:49 2004 >+@@ -216,8 +216,12 @@ > int flags = fcntl(fileno(fp), F_GETFL, 0); > if (flags == -1) > _raiseIOWarning("cannot get file descriptor status flags"); >@@ -8,14 +8,14 @@ > - _raiseIOWarning("cannot set file to non-blocking mode"); > + if (fcntl(fileno(fp), F_SETFL, flags | O_NONBLOCK) == -1) { > +#if defined(__FreeBSD__) >-+ if(errno != EAGAIN) >++ if(errno != EAGAIN) > +#endif > + _raiseIOWarning("cannot set file to non-blocking mode"); > + } > #endif > > // Read stuff >-@@ -255,8 +259,12 @@ >+@@ -251,8 +255,12 @@ > > #if HAVE_FCNTL && defined(F_SETFL) > // Reset file state >@@ -23,7 +23,7 @@ > - _raiseIOWarning("cannot restore file mode"); > + if (fcntl(fileno(fp), F_SETFL, flags) == -1) { > +#if defined(__FreeBSD__) >-+ if(errno != EAGAIN) >++ if(errno != EAGAIN) > +#endif > + _raiseIOWarning("cannot restore file mode"); > + } >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-ddd::Makefile.in /usr/ports/devel/ddd/files/patch-ddd::Makefile.in >--- /usr/ports/devel/ddd.old/files/patch-ddd::Makefile.in Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-ddd::Makefile.in Tue Aug 24 08:36:33 2004 >@@ -1,11 +1,11 @@ >---- ddd/Makefile.in.orig Wed Oct 22 15:29:49 2003 >-+++ ddd/Makefile.in Fri Feb 27 13:33:02 2004 >-@@ -2170,7 +2170,7 @@ >- && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \ >- `echo $< | sed 's,.*/,,'` >- >+--- ddd/Makefile.in.orig Thu Aug 19 20:39:55 2004 >++++ ddd/Makefile.in Thu Aug 19 20:40:10 2004 >+@@ -469,7 +469,7 @@ >+ LPR = @LPR@ >+ LTLIBOBJS = @LTLIBOBJS@ >+ M4 = @M4@ > -MAKEINFO = @MAKEINFO@ > +MAKEINFO = @MAKEINFO@ --no-split >- TEXI2DVI = texi2dvi >- >- uninstall-info-am: >+ MINIMAL_TOC = @MINIMAL_TOC@ >+ NICKNAME = @NICKNAME@ >+ OBJEXT = @OBJEXT@ >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-ddd::TTYAgent.C /usr/ports/devel/ddd/files/patch-ddd::TTYAgent.C >--- /usr/ports/devel/ddd.old/files/patch-ddd::TTYAgent.C Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-ddd::TTYAgent.C Tue Aug 24 08:36:33 2004 >@@ -1,6 +1,6 @@ >---- ddd/TTYAgent.C.orig Sat May 24 11:27:05 2003 >-+++ ddd/TTYAgent.C Fri Feb 27 13:33:02 2004 >-@@ -719,8 +719,19 @@ >+--- ddd/TTYAgent.C.orig Thu Aug 19 20:41:45 2004 >++++ ddd/TTYAgent.C Thu Aug 19 20:45:56 2004 >+@@ -715,8 +715,19 @@ > } > else > { >@@ -8,14 +8,14 @@ > 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); >++ 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 -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-libiberty::strerror.c /usr/ports/devel/ddd/files/patch-libiberty::strerror.c >--- /usr/ports/devel/ddd.old/files/patch-libiberty::strerror.c Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-libiberty::strerror.c Tue Aug 24 08:36:33 2004 >@@ -1,5 +1,5 @@ >---- libiberty/strerror.c.orig Wed Oct 22 14:46:55 2003 >-+++ libiberty/strerror.c Fri Feb 27 13:53:29 2004 >+--- libiberty/strerror.c.orig Thu Aug 19 20:54:24 2004 >++++ libiberty/strerror.c Thu Aug 19 20:55:15 2004 > @@ -460,6 +460,7 @@ > same name, it differs from other implementations in that it is dynamically > initialized rather than statically initialized. */ >@@ -7,12 +7,12 @@ > +#ifndef __FreeBSD__ > #ifndef HAVE_SYS_ERRLIST > >- static int sys_nerr; >-@@ -470,6 +471,7 @@ >+ #define sys_nerr sys_nerr__ >+@@ -472,6 +473,7 @@ > extern int sys_nerr; > extern char *sys_errlist[]; > > +#endif > #endif > >- >+ /* >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/files/patch-libiberty::strsignal.c /usr/ports/devel/ddd/files/patch-libiberty::strsignal.c >--- /usr/ports/devel/ddd.old/files/patch-libiberty::strsignal.c Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/files/patch-libiberty::strsignal.c Tue Aug 24 08:36:33 2004 >@@ -1,5 +1,5 @@ >---- libiberty/strsignal.c.orig Wed Oct 22 14:46:55 2003 >-+++ libiberty/strsignal.c Fri Feb 27 13:33:02 2004 >+--- libiberty/strsignal.c.orig Thu Aug 19 20:58:24 2004 >++++ libiberty/strsignal.c Thu Aug 19 20:59:24 2004 > @@ -241,6 +241,7 @@ > same name, it differs from other implementations in that it is dynamically > initialized rather than statically initialized. */ >@@ -8,11 +8,12 @@ > #ifndef HAVE_SYS_SIGLIST > > static int sys_nsig; >-@@ -257,6 +258,7 @@ >- #endif >+@@ -258,7 +259,7 @@ > extern const char * const sys_siglist[]; > >-+#endif > #endif >+- >++#endif > >+ /* > >diff -ruN --exclude=CVS /usr/ports/devel/ddd.old/pkg-plist /usr/ports/devel/ddd/pkg-plist >--- /usr/ports/devel/ddd.old/pkg-plist Mon Mar 29 07:34:39 2004 >+++ /usr/ports/devel/ddd/pkg-plist Tue Aug 24 08:36:33 2004 >@@ -1,15 +1,10 @@ > bin/ddd >-info/ddd.info >-@exec install-info %D/info/ddd.info %D/info/dir >-@unexec install-info --delete %D/info/ddd.info %D/info/dir >-info/ddd-themes.info >-@exec install-info %D/info/ddd-themes.info %D/info/dir >-@unexec install-info --delete %D/info/ddd-themes.info %D/info/dir > share/ddd-%%VERSION%%/COPYING > share/ddd-%%VERSION%%/NEWS > share/ddd-%%VERSION%%/ddd/Ddd > share/ddd-%%VERSION%%/themes/green.vsl > share/ddd-%%VERSION%%/themes/red.vsl >+share/ddd-%%VERSION%%/themes/rednil.vsl > share/ddd-%%VERSION%%/themes/smalltitles.vsl > share/ddd-%%VERSION%%/themes/smallvalues.vsl > share/ddd-%%VERSION%%/themes/suppress.vsl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70894
: 46118