---- 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");
---- 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
@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}
+++ /dev/null
---- 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();
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
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
CPPFLAGS=' -I/usr/include/ncurses '