diff --git a/srcpkgs/cgdb/patches/fix-memory-leak.patch b/srcpkgs/cgdb/patches/fix-memory-leak.patch deleted file mode 100644 index 77a3be0892..0000000000 --- a/srcpkgs/cgdb/patches/fix-memory-leak.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- lib/tgdb/tgdb.cpp.orig 2018-12-30 13:23:23.260656690 -0600 -+++ lib/tgdb/tgdb.cpp 2018-12-30 13:24:33.484655276 -0600 -@@ -1039,11 +1039,14 @@ - request->choice.debugger_command.c); - break; - case TGDB_REQUEST_MODIFY_BREAKPOINT: -- command = tgdb_client_modify_breakpoint_call(tgdb, -+ str = tgdb_client_modify_breakpoint_call(tgdb, - request->choice.modify_breakpoint.file, - request->choice.modify_breakpoint.line, - request->choice.modify_breakpoint.addr, - request->choice.modify_breakpoint.b); -+ command = str; -+ free(str); -+ str = NULL; - break; - case TGDB_REQUEST_COMPLETE: - str = sys_aprintf("server interpreter-exec mi" diff --git a/srcpkgs/cgdb/template b/srcpkgs/cgdb/template index 8843f6d8f7..dcdd7a97a3 100644 --- a/srcpkgs/cgdb/template +++ b/srcpkgs/cgdb/template @@ -1,7 +1,7 @@ # Template file for 'cgdb' pkgname=cgdb -version=0.7.0 -revision=3 +version=0.7.1 +revision=1 build_style=gnu-configure configure_args="ac_cv_rl_version=6.3 ac_cv_file__proc_self_status=yes" @@ -10,9 +10,7 @@ makedepends="ncurses-devel readline-devel" depends="gdb" short_desc="Curses-based interface to the GNU Debugger" maintainer="Orphaned " -license="GPL-2" +license="GPL-2.0-only" homepage="http://cgdb.sourceforge.net" distfiles="http://cgdb.me/files/cgdb-${version}.tar.gz" -checksum=bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423 - -nocross="checking Checking attribute printf support... cannot run test program while cross compiling" +checksum=bb723be58ec68cb59a598b8e24a31d10ef31e0e9c277a4de07b2f457fe7de198