summaryrefslogtreecommitdiffstats
path: root/source/xap
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/ddd/ddd.SlackBuild16
-rw-r--r--source/xap/ddd/machine_code_window_fix.diff13
-rw-r--r--source/xap/ddd/strclass.C.diff12
3 files changed, 5 insertions, 36 deletions
diff --git a/source/xap/ddd/ddd.SlackBuild b/source/xap/ddd/ddd.SlackBuild
index 8131ef959..48df65226 100755
--- a/source/xap/ddd/ddd.SlackBuild
+++ b/source/xap/ddd/ddd.SlackBuild
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2013, 2014, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2013, 2014, 2018, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ddd
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-8}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -79,17 +79,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.*z || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# http://savannah.gnu.org/bugs/?26726
-zcat $CWD/strclass.C.diff.gz | patch -p0 --verbose || exit 1
-
-# Fix machine code window with gdb > 7.1:
-zcat $CWD/machine_code_window_fix.diff.gz | patch -p1 --verbose || exit 1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
@@ -116,7 +110,7 @@ gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
- AUTHORS COPYING* CREDITS NEWS PROBLEMS README TIPS TODO \
+ AUTHORS* COPYING* CREDITS* NEWS* README* TIPS* TODO* \
doc/html/ddd.html \
$PKG/usr/doc/$PKGNAM-$VERSION
diff --git a/source/xap/ddd/machine_code_window_fix.diff b/source/xap/ddd/machine_code_window_fix.diff
deleted file mode 100644
index f63b43c62..000000000
--- a/source/xap/ddd/machine_code_window_fix.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/ddd/GDBAgent.C b/ddd/GDBAgent.C
-index 7fc1379..87652d2 100644
---- a/ddd/GDBAgent.C
-+++ b/ddd/GDBAgent.C
-@@ -3200,7 +3200,7 @@ string GDBAgent::disassemble_command(string start, const char *end) const
- {
- string end_( end );
- normalize_address(end_);
-- cmd += ' ';
-+ cmd += ',';
- cmd += end_;
- }
- return cmd;
diff --git a/source/xap/ddd/strclass.C.diff b/source/xap/ddd/strclass.C.diff
deleted file mode 100644
index 6f5bbee7a..000000000
--- a/source/xap/ddd/strclass.C.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: ddd/strclass.C
-===================================================================
---- ddd/strclass.C (revision 7209)
-+++ ddd/strclass.C (working copy)
-@@ -38,6 +38,7 @@
- #include <ctype.h>
- #include <limits.h>
- #include <new>
-+#include <cstdio>
- #include <stdlib.h>
-
- void string::error(const char* msg) const