initial ddd (3.3.12) exheres
This commit is contained in:
parent
f98376549d
commit
35744ebce3
2 changed files with 65 additions and 0 deletions
43
packages/dev-util/ddd/ddd-3.3.12.exheres-0
Normal file
43
packages/dev-util/ddd/ddd-3.3.12.exheres-0
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Copyright 2010 Daniel Mierswa <impulze@impulze.org>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SUMMARY="Graphical front-end for command-line debuggers"
|
||||
HOMEPAGE="http://www.gnu.org/software/ddd"
|
||||
DOWNLOADS="mirror://gnu/ddd/${PNV}.tar.gz"
|
||||
|
||||
LICENCES="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS="valgrind
|
||||
valgrind [[ description = [ provide a leak check for ddd in maintenance menu ] ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
valgrind? ( dev-util/valgrind )
|
||||
build+run:
|
||||
sys-devel/gdb
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/openmotif
|
||||
suggestion:
|
||||
sci-apps/gnuplot [[ description = [ default used to plot ] ]]
|
||||
x11-apps/xfontsel [[ description = [ default used to select fonts on startup ] ]]
|
||||
x11-apps/xterm [[ description = [ default used to show I/O of debugged process ] ]]
|
||||
"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/ddd-3.3.12-missing_EOF.patch" )
|
||||
|
||||
src_configure() {
|
||||
local myeconf=()
|
||||
|
||||
option valgrind && myeconf+=( '--with-valgrind-includes=/usr/include' )
|
||||
|
||||
econf "${myeconf[@]}"
|
||||
}
|
||||
|
22
packages/dev-util/ddd/files/ddd-3.3.12-missing_EOF.patch
Normal file
22
packages/dev-util/ddd/files/ddd-3.3.12-missing_EOF.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
Upstream: Yes (several)
|
||||
Source: Daniel Mierswa <impulze@impulze.org>
|
||||
Reason: EOF definition is missing
|
||||
|
||||
http://savannah.gnu.org/bugs/?26726
|
||||
http://savannah.gnu.org/bugs/?29815
|
||||
http://savannah.gnu.org/bugs/?30862
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
|
||||
|
||||
Seems like development is stuck/dead. :)
|
||||
|
||||
diff -Naur ddd-3.3.12.orig/ddd/strclass.C ddd-3.3.12/ddd/strclass.C
|
||||
--- ddd-3.3.12.orig/ddd/strclass.C 2009-02-11 18:25:06.000000000 +0100
|
||||
+++ ddd-3.3.12/ddd/strclass.C 2010-12-21 11:22:35.000000000 +0100
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <limits.h>
|
||||
#include <new>
|
||||
#include <stdlib.h>
|
||||
+#include <cstdio>
|
||||
|
||||
void string::error(const char* msg) const
|
||||
{
|
Loading…
Reference in a new issue