commit 0da5ac42626577631476f157941da8366ab44c94 Author: Paweł Sikora <pawel.sik...@agmk.net> Date: Thu Sep 19 19:30:14 2013 +0200
updated to 0.6.7 (github migration). cgdb-home_etc.patch | 26 +++++++++++++------------- cgdb-info.patch | 22 ++++++++++++++++++++-- cgdb-missing_includes.patch | 13 ------------- cgdb.spec | 12 +++++------- 4 files changed, 38 insertions(+), 35 deletions(-) --- diff --git a/cgdb.spec b/cgdb.spec index 288d113..f609ca6 100644 --- a/cgdb.spec +++ b/cgdb.spec @@ -1,16 +1,15 @@ Summary: A lightweight, but fully functional curses frontend to gdb Summary(pl.UTF-8): Lekki, ale w pełni funkcjonalny frontend do gdb oparty na ncurses Name: cgdb -Version: 0.6.6 +Version: 0.6.7 Release: 1 License: GPL v2 Group: Development/Debuggers -Source0: http://downloads.sourceforge.net/cgdb/%{name}-%{version}.tar.gz -# Source0-md5: 394b542b495755ab8392b7e88dace744 +Source0: http://cgdb.me/files/%{name}-%{version}.tar.gz +# Source0-md5: e2d9a973d2683faf8130a82703bf6a31 Patch0: %{name}-home_etc.patch -Patch1: %{name}-missing_includes.patch -Patch2: %{name}-info.patch -URL: http://cgdb.sourceforge.net/ +Patch1: %{name}-info.patch +URL: http://cgdb.github.io/ BuildRequires: autoconf >= 2.5 BuildRequires: automake BuildRequires: readline-devel >= 5.1 @@ -39,7 +38,6 @@ powinni czuć się jak w domu. %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %build CPPFLAGS=' -I/usr/include/ncurses ' diff --git a/cgdb-home_etc.patch b/cgdb-home_etc.patch index 5561116..2c2bb35 100644 --- a/cgdb-home_etc.patch +++ b/cgdb-home_etc.patch @@ -1,15 +1,15 @@ ---- cgdb-0.6.1/cgdb/src/cgdb.c~ 2006-03-08 00:08:42.000000000 +0100 -+++ cgdb-0.6.1/cgdb/src/cgdb.c 2006-03-08 00:10:29.000000000 +0100 -@@ -683,10 +683,11 @@ - init_home_dir (void) +--- cgdb-0.6.7/cgdb/cgdb.c.orig 2013-09-19 19:12:29.892082233 +0200 ++++ cgdb-0.6.7/cgdb/cgdb.c 2013-09-19 19:14:09.012082558 +0200 +@@ -750,10 +750,11 @@ + static int init_home_dir(void) { - /* Get the home directory */ -- char *home_dir = getenv ("HOME"); -+ char *home_dir = getenv ("HOME_ETC"); - const char *cgdb_dir = ".cgdb"; + /* Get the home directory */ +- char *home_dir = getenv("HOME"); ++ char *home_dir = getenv("HOME_ETC"); + const char *cgdb_dir = ".cgdb"; - /* Create the config directory */ -+ if (!home_dir) home_dir = getenv("HOME"); - if (!fs_util_create_dir_in_base (home_dir, cgdb_dir)) - { - logger_write_pos (logger, __FILE__, __LINE__, + /* Create the config directory */ ++ if (!home_dir) home_dir = getenv("HOME"); + if (!fs_util_create_dir_in_base(home_dir, cgdb_dir)) { + logger_write_pos(logger, __FILE__, __LINE__, + "fs_util_create_dir_in_base error"); diff --git a/cgdb-info.patch b/cgdb-info.patch index b0cb8be..46e543f 100644 --- a/cgdb-info.patch +++ b/cgdb-info.patch @@ -1,5 +1,5 @@ ---- cgdb-0.6.4/doc/cgdb.texinfo~ 2007-04-29 12:03:31.578038948 +0200 -+++ cgdb-0.6.4/doc/cgdb.texinfo 2007-04-29 12:04:18.527049935 +0200 +--- cgdb-0.6.7/doc/cgdb.texinfo.orig 2013-01-14 12:31:53.000000000 +0100 ++++ cgdb-0.6.7/doc/cgdb.texinfo 2013-09-19 19:28:12.598752005 +0200 @@ -29,9 +29,9 @@ @end quotation @end copying @@ -12,3 +12,21 @@ @end direntry @titlepage +@@ -686,7 +686,7 @@ + @itemx :continue + Send a continue command to GDB. + +-@itemx :down ++@item :down + Send a down command to GDB. + + @item :e +@@ -752,7 +752,7 @@ + @item :syntax + Turn the syntax on or off. + +-@itemx :up ++@item :up + Send an up command to GDB. + + @item :map @var{lhs} @var{rhs} diff --git a/cgdb-missing_includes.patch b/cgdb-missing_includes.patch deleted file mode 100644 index 64bd92f..0000000 --- a/cgdb-missing_includes.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- cgdb-0.5.3/cgdb/lib/kui/src/kui_term.c~ 2005-08-24 23:39:47.693507928 +0200 -+++ cgdb-0.5.3/cgdb/lib/kui/src/kui_term.c 2005-08-24 23:48:35.060335984 +0200 -@@ -14,6 +14,10 @@ - #include <stdlib.h> /* for getenv */ - #endif /* HAVE_STDLIB_H */ - -+#if HAVE_STDIO_H -+#include <stdio.h> -+#endif /* HAVE_STDIO_H */ -+ - /* term.h prototypes */ - extern int tgetent(); - extern int tgetflag(); ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/cgdb.git/commitdiff/0da5ac42626577631476f157941da8366ab44c94 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit