summaryrefslogtreecommitdiff
path: root/source/xap/ddd/ddd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/ddd/ddd.SlackBuild')
-rwxr-xr-xsource/xap/ddd/ddd.SlackBuild9
1 files changed, 6 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 \