diff options
Diffstat (limited to 'source/xap/ddd')
-rwxr-xr-x | source/xap/ddd/ddd.SlackBuild | 9 | ||||
-rw-r--r-- | source/xap/ddd/machine_code_window_fix.diff | 13 |
2 files changed, 19 insertions, 3 deletions
diff --git a/source/xap/ddd/ddd.SlackBuild b/source/xap/ddd/ddd.SlackBuild index fda06cc5..5bd70209 100755 --- a/source/xap/ddd/ddd.SlackBuild +++ b/source/xap/ddd/ddd.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2013, 2014 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,12 +27,12 @@ PKGNAM=ddd VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; @@ -84,6 +84,9 @@ 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" \ ./configure \ diff --git a/source/xap/ddd/machine_code_window_fix.diff b/source/xap/ddd/machine_code_window_fix.diff new file mode 100644 index 00000000..f63b43c6 --- /dev/null +++ b/source/xap/ddd/machine_code_window_fix.diff @@ -0,0 +1,13 @@ +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; |