guix/gnu/packages/patches/ddd-build.patch
Andy Tai c32dcfd09c
gnu: ddd: Update to 3.4.1.
* gnu/packages/debug.scm (ddd): Update to 3.4.1.
[source](origin): Add new patch to fix build.
[arguments]<#:configure-flags>: Add explicit flag fir freetype
include path.
[native-inputs]: Add bison, flex and perl.
[inputs]: Add freetype, libxaw, and libxft.
* gnu/packages/patches/ddd-build.patch: New file.
* gnu/local.mk: Register new file.

Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 17:28:51 +02:00

24 lines
640 B
Diff

Add missing '-I' flag.
--- old/ddd/Makefile.am (revision 7508)
+++ new/ddd/Makefile.am (working copy)
@@ -655,7 +655,7 @@
LIBXFT = @XFT_LIBS@ -lfontconfig
# Freetype2 headers
-XFTINCLUDE = @XFT_INCLUDE@
+XFTINCLUDE = -I@XFT_INCLUDE@
# X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu)
LIBXMU = @XMU_LIBS@
--- old/ddd/Makefile.in (revision 7508)
+++ new/ddd/Makefile.in (working copy)
@@ -1307,7 +1307,7 @@
LIBXFT = @XFT_LIBS@ -lfontconfig
# Freetype2 headers
-XFTINCLUDE = @XFT_INCLUDE@
+XFTINCLUDE = -I@XFT_INCLUDE@
# X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu)
LIBXMU = @XMU_LIBS@