summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/debug.scm18
-rw-r--r--gnu/packages/patches/ddd-build.patch24
3 files changed, 35 insertions, 8 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 49660d4b3ea..2adf196a877 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1133,6 +1133,7 @@ dist_patch_DATA = \
1133 %D%/packages/patches/dbus-c++-gcc-compat.patch \ 1133 %D%/packages/patches/dbus-c++-gcc-compat.patch \
1134 %D%/packages/patches/dbus-c++-threading-mutex.patch \ 1134 %D%/packages/patches/dbus-c++-threading-mutex.patch \
1135 %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \ 1135 %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \
1136 %D%/packages/patches/ddd-build.patch \
1136 %D%/packages/patches/debops-constants-for-external-program-names.patch \ 1137 %D%/packages/patches/debops-constants-for-external-program-names.patch \
1137 %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \ 1138 %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \
1138 %D%/packages/patches/dee-vapi.patch \ 1139 %D%/packages/patches/dee-vapi.patch \
diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index b8ddafaba6c..526d5d408a2 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -52,6 +52,7 @@
52 #:use-module (gnu packages code) 52 #:use-module (gnu packages code)
53 #:use-module (gnu packages compression) 53 #:use-module (gnu packages compression)
54 #:use-module (gnu packages flex) 54 #:use-module (gnu packages flex)
55 #:use-module (gnu packages fontutils)
55 #:use-module (gnu packages gcc) 56 #:use-module (gnu packages gcc)
56 #:use-module (gnu packages gdb) 57 #:use-module (gnu packages gdb)
57 #:use-module (gnu packages glib) 58 #:use-module (gnu packages glib)
@@ -1006,23 +1007,24 @@ engineering.")
1006(define-public ddd 1007(define-public ddd
1007 (package 1008 (package
1008 (name "ddd") 1009 (name "ddd")
1009 (version "3.4.0") 1010 (version "3.4.1")
1010 (source (origin 1011 (source (origin
1011 (method url-fetch) 1012 (method url-fetch)
1012 (uri (string-append "mirror://gnu/ddd/ddd-" version ".tar.gz")) 1013 (uri (string-append "mirror://gnu/ddd/ddd-" version ".tar.gz"))
1014 (patches (search-patches "ddd-build.patch"))
1013 (sha256 1015 (sha256
1014 (base32 1016 (base32
1015 "03sqsfiri5p130cmmzh2wikg0gisql496rvdhr1qaidh1f5bqk2x")))) 1017 "12gfyh139rim49m56lxm36ckdyiiz4n3la3y6ik1aqgrqfk1fxdq"))))
1016 (build-system gnu-build-system) 1018 (build-system gnu-build-system)
1017 (arguments 1019 (arguments
1018 (list #:tests? #f ;tests require manual intervention 1020 (list #:tests? #f ;tests require manual intervention
1019 ;; Avoid "friend declaration specifies default arguments and isn’t 1021 #:configure-flags
1020 ;; a definition" errors. 1022 #~(list (string-append "--with-freetype-includes="
1021 #:configure-flags #~(list "CXXFLAGS=-fpermissive"))) 1023 #$(this-package-input "freetype") "/include/freetype2"))))
1022 (native-inputs 1024 (native-inputs
1023 (list pkg-config)) 1025 (list pkg-config bison flex perl))
1024 (inputs 1026 (inputs
1025 (list motif ncurses gdb)) 1027 (list libxaw libxft freetype motif ncurses gdb))
1026 (synopsis "Graphical front-end for GDB and other debuggers") 1028 (synopsis "Graphical front-end for GDB and other debuggers")
1027 (description "GNU DDD, the Data Display Debugger, is a graphical front-end 1029 (description "GNU DDD, the Data Display Debugger, is a graphical front-end
1028for command-line debuggers. Many back-end debuggers are supported, notably 1030for command-line debuggers. Many back-end debuggers are supported, notably
diff --git a/gnu/packages/patches/ddd-build.patch b/gnu/packages/patches/ddd-build.patch
new file mode 100644
index 00000000000..5db28335043
--- /dev/null
+++ b/gnu/packages/patches/ddd-build.patch
@@ -0,0 +1,24 @@
1Add missing '-I' flag.
2
3--- old/ddd/Makefile.am (revision 7508)
4+++ new/ddd/Makefile.am (working copy)
5@@ -655,7 +655,7 @@
6 LIBXFT = @XFT_LIBS@ -lfontconfig
7
8 # Freetype2 headers
9-XFTINCLUDE = @XFT_INCLUDE@
10+XFTINCLUDE = -I@XFT_INCLUDE@
11
12 # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu)
13 LIBXMU = @XMU_LIBS@
14--- old/ddd/Makefile.in (revision 7508)
15+++ new/ddd/Makefile.in (working copy)
16@@ -1307,7 +1307,7 @@
17 LIBXFT = @XFT_LIBS@ -lfontconfig
18
19 # Freetype2 headers
20-XFTINCLUDE = @XFT_INCLUDE@
21+XFTINCLUDE = -I@XFT_INCLUDE@
22
23 # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu)
24 LIBXMU = @XMU_LIBS@