update to ddd 3.3.

This commit is contained in:
fgsch 2002-03-21 05:28:20 +00:00
parent b07c73087f
commit 1c81ede1cc
10 changed files with 86 additions and 69 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.31 2002/02/20 21:00:36 pvalchev Exp $ # $OpenBSD: Makefile,v 1.32 2002/03/21 05:28:20 fgsch Exp $
COMMENT= "Data Display Debugger, graphical front-end for GDB, etc" COMMENT= "Data Display Debugger, graphical front-end for GDB, etc"
DISTNAME= ddd-3.2.1 DISTNAME= ddd-3.3
CATEGORIES= devel CATEGORIES= devel
NEED_VERSION= 1.402 NEED_VERSION= 1.402
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
@ -17,22 +17,24 @@ PERMIT_DISTFILES_FTP= Yes
USE_MOTIF= any USE_MOTIF= any
USE_GMAKE= Yes USE_GMAKE= Yes
CONFIGURE_STYLE=gnu dest CONFIGURE_STYLE=gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/libiberty ${WRKSRC}/readline/support MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/libiberty \
${WRKSRC}/readline/support
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}" INSTALL_DATA="${INSTALL_DATA}"
CONFIGURE_ARGS= --with-readline-libraries=/usr/lib CONFIGURE_ARGS= --with-readline-libraries=/usr/lib
MAKE_FLAGS= MAINTAINER='${MAINTAINER:Q}' MAKE_FLAGS= MAINTAINER="'${MAINTAINER}'"
VMEM_WARNING= Yes VMEM_WARNING= Yes
DOCS= README ddd-paper.ps ddd.ps sample.c sample.dddinit DOCS= README ddd-paper.ps ddd.ps sample.dddinit
post-install: post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd ${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${DOCS} ${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-paper.ps
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps @${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps

3
devel/ddd/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ddd-3.3.tar.gz) = 0454f8b986223168c7148a84afeb416c
RMD160 (ddd-3.3.tar.gz) = e3782a85af33100c9520d2b576c1db579349d9c3
SHA1 (ddd-3.3.tar.gz) = 889c435bed8f16cb618dc56a85be6f6384d5df24

View File

@ -1,3 +0,0 @@
MD5 (ddd-3.2.1.tar.gz) = a71c5fa4b0a8ba5a38dc6ae269716cd3
RMD160 (ddd-3.2.1.tar.gz) = 4ffeaadaf5078a093b56a33671d74fa6fad92f52
SHA1 (ddd-3.2.1.tar.gz) = 4c0c0c3c9b1fac1b0b32304521f4f93957315465

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-ddd_Makefile_in,v 1.1 2000/10/30 13:55:45 espie Exp $ $OpenBSD: patch-ddd_Makefile_in,v 1.2 2002/03/21 05:28:21 fgsch Exp $
--- ddd/Makefile.in.orig Mon Oct 30 14:17:59 2000 --- ddd/Makefile.in.orig Fri Feb 2 12:47:11 2001
+++ ddd/Makefile.in Mon Oct 30 14:19:20 2000 +++ ddd/Makefile.in Wed Mar 13 04:36:12 2002
@@ -2505,18 +2505,8 @@ configinfo.C: USERINFO $(srcdir)/config- @@ -2608,17 +2608,8 @@ configinfo.C: USERINFO $(srcdir)/config-
configinfo.$(OBJEXT): configinfo.C configinfo.h $(MV) $@~ $@
# If `~/.ddd_userinfo' exists, use this file as personal identification. # If `~/.ddd_userinfo' exists, use this file as personal identification.
-USERINFO: userinfo$(EXEEXT) -USERINFO: userinfo$(EXEEXT)
@ -16,9 +16,8 @@ $OpenBSD: patch-ddd_Makefile_in,v 1.1 2000/10/30 13:55:45 espie Exp $
- @$(ECHO) "This information will be compiled into $(DDD)." - @$(ECHO) "This information will be compiled into $(DDD)."
- @$(ECHO) "If it is not correct, please edit $@ and re-compile." - @$(ECHO) "If it is not correct, please edit $@ and re-compile."
- @$(ECHO) "" - @$(ECHO) ""
- +USERINFO:
+USERINFO:
+ echo ${MAINTAINER} >$@ + echo ${MAINTAINER} >$@
## Update the shared source tree. For development only. # EPS code stuff.
$(srcdir)/header.str: $(srcdir)/header.ps

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ddd_comm-manag_C,v 1.1 2000/10/30 13:54:50 espie Exp $ $OpenBSD: patch-ddd_comm-manag_C,v 1.2 2002/03/21 05:28:21 fgsch Exp $
--- ddd/comm-manag.C.orig Mon Oct 30 13:32:30 2000 --- ddd/comm-manag.C.orig Tue Jan 16 09:51:37 2001
+++ ddd/comm-manag.C Mon Oct 30 13:34:26 2000 +++ ddd/comm-manag.C Wed Mar 13 04:38:32 2002
@@ -83,6 +83,7 @@ char comm_manager_rcsid[] = @@ -85,6 +85,7 @@ char comm_manager_rcsid[] =
#include <ctype.h> #include <ctype.h>
#include <fstream.h> #include <fstream.h>
@ -9,21 +9,21 @@ $OpenBSD: patch-ddd_comm-manag_C,v 1.1 2000/10/30 13:54:50 espie Exp $
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -705,13 +706,15 @@ void init_session(const string& restart, @@ -800,13 +801,15 @@ void init_session(const string& restart,
info = new InitSessionInfo; info = new InitSessionInfo;
info->restart = restart; info->restart = restart;
info->settings = settings; info->settings = settings;
- info->tempfile = tmpnam(0); - info->tempfile = tmpnam(0);
+ char temp_name[] = "/tmp/ddd.XXXXXXXXXX"; + char temp_name[] = "/tmp/ddd.XXXXXXXXXX";
+ int temp_fd = mkstemp(temp_name); + int temp_fd = mkstemp(temp_name);
+ info->tempfile = temp_name; + info->tempfile = temp_name;
string file_commands = ""; string file_commands = "set confirm off\n";
bool recording_defines = false; bool recording_defines = false;
{ {
- ofstream os(info->tempfile); - ofstream os(info->tempfile);
+ ofstream os(temp_fd); + ofstream os(temp_fd);
while (init_commands != "") while (init_commands != "")
{ {
string cmd = init_commands.before('\n'); string cmd = init_commands.before('\n');

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-ddd_ddd_C,v 1.1 2000/10/30 13:54:50 espie Exp $
--- ddd/ddd.C.orig Fri Feb 11 18:21:24 2000
+++ ddd/ddd.C Mon Oct 30 13:47:24 2000
@@ -273,6 +273,7 @@ char ddd_rcsid[] =
#include <fstream.h>
#include <time.h>
#include <signal.h>
+#include <unistd.h>
#if HAVE_LOCALE_H
#include <locale.h>
@@ -2990,8 +2991,10 @@ XrmDatabase GetFileDatabase(char *filena
{
string version_found = "";
- string tempfile = tmpnam(0);
- ofstream os(tempfile);
+ char temp_name[] = "/tmp/ddd.XXXXXXXXXX";
+ int temp_fd = mkstemp(temp_name);
+ string tempfile = temp_name;
+ ofstream os(temp_fd);
ifstream is(filename);
#if 0

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ddd_exit_C,v 1.1 2000/10/30 13:54:50 espie Exp $ $OpenBSD: patch-ddd_exit_C,v 1.2 2002/03/21 05:28:21 fgsch Exp $
--- ddd/exit.C.orig Wed Feb 9 08:59:07 2000 --- ddd/exit.C.orig Tue Dec 19 12:45:49 2000
+++ ddd/exit.C Mon Oct 30 13:55:44 2000 +++ ddd/exit.C Wed Mar 13 04:32:03 2002
@@ -1088,8 +1088,10 @@ void report_core(ostream& log) @@ -1149,8 +1149,10 @@ void report_core(ostream& log)
if (!is_core_file("core")) if (!is_core_file("core"))
return; return;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ddd_plotter_C,v 1.1 2000/10/30 13:54:51 espie Exp $ $OpenBSD: patch-ddd_plotter_C,v 1.2 2002/03/21 05:28:21 fgsch Exp $
--- ddd/plotter.C.orig Mon Oct 30 14:10:42 2000 --- ddd/plotter.C.orig Tue Jan 9 15:15:22 2001
+++ ddd/plotter.C Mon Oct 30 14:27:57 2000 +++ ddd/plotter.C Wed Mar 13 04:32:03 2002
@@ -412,7 +412,14 @@ static void configure_plot(PlotWindowInf @@ -429,7 +429,14 @@ static void configure_plot(PlotWindowInf
new StatusDelay("Retrieving Plot Settings"); new StatusDelay("Retrieving Plot Settings");
// Save settings... // Save settings...

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ddd_show_C,v 1.1 2000/10/30 13:54:51 espie Exp $ $OpenBSD: patch-ddd_show_C,v 1.2 2002/03/21 05:28:21 fgsch Exp $
--- ddd/show.C.orig Mon Oct 30 13:39:23 2000 --- ddd/show.C.orig Tue Jan 9 15:00:51 2001
+++ ddd/show.C Mon Oct 30 13:40:48 2000 +++ ddd/show.C Wed Mar 13 04:32:04 2002
@@ -57,6 +57,7 @@ char show_rcsid[] = @@ -58,6 +58,7 @@ char show_rcsid[] =
#include <fstream.h> #include <fstream.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
@ -9,7 +9,7 @@ $OpenBSD: patch-ddd_show_C,v 1.1 2000/10/30 13:54:51 espie Exp $
#include "Xpm.h" #include "Xpm.h"
#include "HelpCB.h" #include "HelpCB.h"
@@ -372,11 +373,14 @@ void show_configuration(ostream& os) @@ -403,11 +404,14 @@ void show_configuration(ostream& os)
static int uncompress(ostream& os, const char *text, int size) static int uncompress(ostream& os, const char *text, int size)
{ {

View File

@ -1,9 +1,15 @@
@comment $OpenBSD: PLIST,v 1.5 2000/08/17 05:47:34 kevlo Exp $ @comment $OpenBSD: PLIST,v 1.6 2002/03/21 05:28:21 fgsch 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 bin/ddd
@unexec install-info --delete %D/info/ddd.info %D/info/dir info/ddd-themes.info
info/ddd-themes.info-1
info/ddd-themes.info-2
info/ddd-themes.info-3
info/ddd.info info/ddd.info
info/ddd.info-1 info/ddd.info-1
info/ddd.info-10 info/ddd.info-10
info/ddd.info-11
info/ddd.info-2 info/ddd.info-2
info/ddd.info-3 info/ddd.info-3
info/ddd.info-4 info/ddd.info-4
@ -12,8 +18,36 @@ info/ddd.info-6
info/ddd.info-7 info/ddd.info-7
info/ddd.info-8 info/ddd.info-8
info/ddd.info-9 info/ddd.info-9
@exec install-info %D/info/ddd.info %D/info/dir
man/man1/ddd.1 man/man1/ddd.1
share/ddd-3.3/COPYING
share/ddd-3.3/NEWS
share/ddd-3.3/ddd/Ddd
share/ddd-3.3/themes/green.vsl
share/ddd-3.3/themes/red.vsl
share/ddd-3.3/themes/smalltitles.vsl
share/ddd-3.3/themes/smallvalues.vsl
share/ddd-3.3/themes/suppress.vsl
share/ddd-3.3/themes/tinyvalues.vsl
share/ddd-3.3/vsllib/arcs.vsl
share/ddd-3.3/vsllib/builtin.vsl
share/ddd-3.3/vsllib/colors.vsl
share/ddd-3.3/vsllib/ctree.vsl
share/ddd-3.3/vsllib/ddd.vsl
share/ddd-3.3/vsllib/flow.vsl
share/ddd-3.3/vsllib/flowplus.vsl
share/ddd-3.3/vsllib/fonts.vsl
share/ddd-3.3/vsllib/linebreak.vsl
share/ddd-3.3/vsllib/list.vsl
share/ddd-3.3/vsllib/slopes.vsl
share/ddd-3.3/vsllib/std.vsl
share/ddd-3.3/vsllib/struct.vsl
share/ddd-3.3/vsllib/symbols.vsl
share/ddd-3.3/vsllib/tab.vsl
share/ddd-3.3/vsllib/tree.vsl
share/ddd-3.3/vsllib/verbose.vsl
share/ddd-3.3/vsllib/vsl.vsl
share/ddd-3.3/vsllib/vsldef.vsl
share/ddd-3.3/vsllib/vsllib.vsl
share/doc/ddd/PROBLEMS share/doc/ddd/PROBLEMS
share/doc/ddd/README share/doc/ddd/README
share/doc/ddd/ddd-paper.ps.gz share/doc/ddd/ddd-paper.ps.gz
@ -21,3 +55,9 @@ share/doc/ddd/ddd.ps.gz
share/doc/ddd/sample.c share/doc/ddd/sample.c
share/doc/ddd/sample.dddinit share/doc/ddd/sample.dddinit
@dirrm share/doc/ddd @dirrm share/doc/ddd
@dirrm share/ddd-3.3/vsllib
@dirrm share/ddd-3.3/themes
@dirrm share/ddd-3.3/ddd
@dirrm share/ddd-3.3
@exec install-info --info-dir=%D/info %D/info/ddd-themes.info
@exec install-info --info-dir=%D/info %D/info/ddd.info