update to ddd 3.3.7

from Andrew Dalgleish <openbsd@ajd.net.au>
This commit is contained in:
sturm 2003-10-26 17:30:39 +00:00
parent 5b293eeb3d
commit 9bc1630b3d
13 changed files with 66 additions and 98 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.35 2003/04/10 16:51:21 sturm Exp $
# $OpenBSD: Makefile,v 1.36 2003/10/26 17:30:39 sturm Exp $
COMMENT= "Data Display Debugger, graphical front-end for GDB, etc"
DISTNAME= ddd-3.3.1
DISTNAME= ddd-3.3.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
@ -14,9 +14,15 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
REGRESS_IS_INTERACTIVE=Yes
# Note - we need ~/.XAuthority, which doesn't exist in
# /${PKGNAME}_writes_to_home
REGRESS_FLAGS+= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
USE_MOTIF= any
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
SEPARATE_BUILD= simple
SUBST_VARS+= DISTNAME
@ -28,14 +34,17 @@ MAKE_FLAGS= MAINTAINER="'${MAINTAINER}'"
VMEM_WARNING= Yes
DOCS= README ddd-paper.ps ddd.ps sample.dddinit
DOCS= ddd-paper.ps ddd-themes.pdf ddd-themes.ps ddd.pdf ddd.ps html/ddd.html
pre-build:
find ${WRKSRC} -type f \( -name '*.C' -o -name '*.h' \) -print0 | xargs -0 \
perl -pi -e 'next if /#include/; s/\bstring\b/gnu_string/g;'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/ddd/sample.c ${PREFIX}/share/doc/ddd
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ddd
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-themes.ps
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (ddd-3.3.1.tar.gz) = 38589618d7cd02a03d062bb116bbf1d2
RMD160 (ddd-3.3.1.tar.gz) = 5753988c15da13b154bd5138a21f7381906f6bce
SHA1 (ddd-3.3.1.tar.gz) = 60327a4097718acc1c095844d043dea0c14343ce
MD5 (ddd-3.3.7.tar.gz) = 0b1be54fe5198bb20a5f5250975bd665
RMD160 (ddd-3.3.7.tar.gz) = 0d1fba8553aa1dd0f7a444805681b90332dfe0a9
SHA1 (ddd-3.3.7.tar.gz) = d2a4fcf2bace28ef7d7dfef6903251822345cc21

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1 2003/04/17 10:45:23 wilfried Exp $
--- Makefile.in.orig Mon Apr 30 18:39:08 2001
+++ Makefile.in Mon Apr 7 23:59:29 2003
@@ -95,7 +95,7 @@ target_alias = @target_alias@
target_triplet = @target@
LIBTERMCAP = @LIBTERMCAP@
$OpenBSD: patch-Makefile_in,v 1.2 2003/10/26 17:30:40 sturm Exp $
--- Makefile.in.orig 2003-06-03 21:35:10.000000000 +1000
+++ Makefile.in 2003-10-10 12:46:52.000000000 +1000
@@ -220,7 +220,7 @@ TEXINFO_DISTFILES = \
# Shared data installation
-dddrootdir = $(pkgdatadir)-$(VERSION)
+dddrootdir = $(pkgdatadir)
# -----------------------------------------------------------------------------
# Data.

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ddd_Makefile_in,v 1.3 2003/04/17 10:45:23 wilfried Exp $
--- ddd/Makefile.in.orig Fri Feb 2 12:47:11 2001
+++ ddd/Makefile.in Tue Apr 8 07:55:23 2003
@@ -186,8 +186,8 @@ SUFFIXES = .C .c .Y .L .txt .xbm .xbmxx
$OpenBSD: patch-ddd_Makefile_in,v 1.4 2003/10/26 17:30:40 sturm Exp $
--- ddd/Makefile.in.orig 2003-06-03 21:37:26.000000000 +1000
+++ ddd/Makefile.in 2003-10-10 12:31:23.000000000 +1000
@@ -256,8 +256,8 @@ SUFFIXES = .C .c .Y .L .txt .xbm .xbmxx
# Shared data installation
@ -12,7 +12,7 @@ $OpenBSD: patch-ddd_Makefile_in,v 1.3 2003/04/17 10:45:23 wilfried Exp $
# -----------------------------------------------------------------------------
# DDD Sources.
@@ -2616,17 +2616,8 @@ configinfo.C: USERINFO $(srcdir)/config-
@@ -2610,17 +2610,8 @@ configinfo.C: USERINFO $(srcdir)/config-
$(MV) $@~ $@
# If `~/.ddd_userinfo' exists, use this file as personal identification.

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-ddd_aclocal_m4,v 1.1 2002/10/13 21:45:46 naddy Exp $
--- ddd/aclocal.m4.orig Sun Oct 13 21:35:46 2002
+++ ddd/aclocal.m4 Sun Oct 13 21:43:58 2002
@@ -941,7 +941,10 @@ AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <iostream.h>],
[streampos scan_start;],
ice_cv_have_streampos=yes,
-ice_cv_have_streampos=no)
+AC_TRY_COMPILE([#include <fstream.h>],
+[streampos scan_start;],
+ice_cv_have_streampos=yes,
+ice_cv_have_streampos=no))
AC_LANG_RESTORE
])
AC_MSG_RESULT($ice_cv_have_streampos)

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-ddd_comm-manag_C,v 1.4 2003/04/10 16:51:21 sturm Exp $
--- ddd/comm-manag.C.orig Tue Mar 27 02:40:05 2001
+++ ddd/comm-manag.C Fri Mar 28 10:35:57 2003
$OpenBSD: patch-ddd_comm-manag_C,v 1.5 2003/10/26 17:30:40 sturm Exp $
--- ddd/comm-manag.C.orig 2003-05-25 01:27:06.000000000 +1000
+++ ddd/comm-manag.C 2003-10-10 12:55:05.000000000 +1000
@@ -86,6 +86,7 @@ char comm_manager_rcsid[] =
#include <ctype.h>
#include <fstream.h>
#include <fstream>
+#include <unistd.h>

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-ddd_configure,v 1.1 2002/10/13 21:45:46 naddy Exp $
--- ddd/configure.orig Sun Oct 13 21:34:55 2002
+++ ddd/configure Sun Oct 13 21:45:43 2002
@@ -6121,7 +6121,23 @@ else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
+ cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <fstream.h>
+int main() {
+streampos scan_start;
+; return 0; }
+EOF
+if { (eval echo configure:6133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ ice_cv_have_streampos=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
ice_cv_have_streampos=no
+fi
+rm -f conftest*
fi
rm -f conftest*
ac_ext=C

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-ddd_show_C,v 1.3 2003/04/10 16:51:21 sturm Exp $
--- ddd/show.C.orig Fri Apr 27 00:17:19 2001
+++ ddd/show.C Fri Mar 28 10:35:58 2003
@@ -59,6 +59,7 @@ char show_rcsid[] =
#include <fstream.h>
$OpenBSD: patch-ddd_show_C,v 1.4 2003/10/26 17:30:40 sturm Exp $
--- ddd/show.C.orig 2003-05-25 01:27:12.000000000 +1000
+++ ddd/show.C 2003-10-10 12:31:23.000000000 +1000
@@ -60,6 +60,7 @@ char show_rcsid[] =
#include <fstream>
#include <string.h>
#include <errno.h>
+#include <unistd.h>
#include "Xpm.h"
#include "HelpCB.h"
#if HAVE_ATHENA

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-themes_Makefile_in,v 1.1 2003/04/17 10:45:23 wilfried Exp $
--- themes/Makefile.in.orig Mon Apr 30 18:39:13 2001
+++ themes/Makefile.in Tue Apr 8 08:01:12 2003
@@ -88,7 +88,7 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
$OpenBSD: patch-themes_Makefile_in,v 1.2 2003/10/26 17:30:40 sturm Exp $
--- themes/Makefile.in.orig 2003-06-03 21:37:09.000000000 +1000
+++ themes/Makefile.in 2003-10-10 12:47:33.000000000 +1000
@@ -199,7 +199,7 @@ ddd = @ddd@
install_sh = @install_sh@
# Shared data installation
-dddrootdir = $(pkgdatadir)-@VERSION@
+dddrootdir = $(pkgdatadir)
# -----------------------------------------------------------------------------
# DDD themes.

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-vsllib_Makefile_in,v 1.1 2003/04/17 10:45:23 wilfried Exp $
--- vsllib/Makefile.in.orig Mon Apr 30 18:39:12 2001
+++ vsllib/Makefile.in Tue Apr 8 07:56:59 2003
@@ -88,7 +88,7 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
$OpenBSD: patch-vsllib_Makefile_in,v 1.2 2003/10/26 17:30:40 sturm Exp $
--- vsllib/Makefile.in.orig 2003-06-03 21:37:15.000000000 +1000
+++ vsllib/Makefile.in 2003-10-10 12:47:55.000000000 +1000
@@ -199,7 +199,7 @@ ddd = @ddd@
install_sh = @install_sh@
# Shared data installation
-dddrootdir = $(pkgdatadir)-@VERSION@
+dddrootdir = $(pkgdatadir)
# -----------------------------------------------------------------------------
# VSL files.

View File

@ -20,10 +20,3 @@ What is DDD, anyway?
interface; GDB/DBX/XDB command-line interface with full editing,
history, and completion capabilities. DDD has been designed to
compete with well-known commercial debuggers.
DDD is free software, protected by the GNU general public license.
It is actively maintained by its authors, Dorothea Luetkehaus and
Andreas Zeller at the Technische Universitaet Braunschweig,
Germany.
WWW: ${HOMEPAGE}

8
devel/ddd/pkg/MESSAGE Normal file
View File

@ -0,0 +1,8 @@
+---------------
| To use the 'plot' command, install the 'math/gnuplot' port.
|
| If you select the 'plot' command without gnuplot installed you may
| get an X error. (Clicking 'ignore' seems ok.)
+---------------

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2003/04/17 10:45:23 wilfried Exp $
@comment $OpenBSD: PLIST,v 1.9 2003/10/26 17:30:40 sturm Exp $
@unexec install-info --delete --info-dir=%D/info %D/info/ddd-themes.info
@unexec install-info --delete --info-dir=%D/info %D/info/ddd.info
bin/ddd
@ -48,12 +48,12 @@ share/ddd/vsllib/verbose.vsl
share/ddd/vsllib/vsl.vsl
share/ddd/vsllib/vsldef.vsl
share/ddd/vsllib/vsllib.vsl
share/doc/ddd/PROBLEMS
share/doc/ddd/README
share/doc/ddd/ddd-paper.ps.gz
share/doc/ddd/ddd-themes.pdf
share/doc/ddd/ddd-themes.ps.gz
share/doc/ddd/ddd.html
share/doc/ddd/ddd.pdf
share/doc/ddd/ddd.ps.gz
share/doc/ddd/sample.c
share/doc/ddd/sample.dddinit
@dirrm share/doc/ddd
@dirrm share/ddd/vsllib
@dirrm share/ddd/themes