cgdb: Update to 0.7.0

This commit is contained in:
atom.long 2017-05-30 21:02:02 +08:00
parent 53a8f930ae
commit ade466fa61
2 changed files with 5 additions and 38 deletions

View File

@ -1,30 +0,0 @@
diff -Naur cgdb-0.6.8-orig/lib/util/fs_util.c cgdb-0.6.8/lib/util/fs_util.c
--- cgdb-0.6.8-orig/lib/util/fs_util.c 2014-02-25 23:21:05.000000000 +0300
+++ cgdb-0.6.8/lib/util/fs_util.c 2014-12-12 00:49:04.299400000 +0300
@@ -56,7 +56,7 @@
/* Get the directory to check */
#ifdef HAVE_CYGWIN
- cygwin_conv_to_full_win32_path(dir, cygwin_actual_dir);
+ cygwin_conv_path (CCP_POSIX_TO_WIN_A|CCP_ABSOLUTE, dir, cygwin_actual_dir, PATH_MAX+1);
strncpy(actual_dir, cygwin_actual_dir, strlen(cygwin_actual_dir) + 1);
#else
strncpy(actual_dir, dir, strlen(dir) + 1);
@@ -94,7 +94,7 @@
/* Get the directory to check */
#ifdef HAVE_CYGWIN
- cygwin_conv_to_full_win32_path(dir, cygwin_actual_dir);
+ cygwin_conv_path (CCP_POSIX_TO_WIN_A|CCP_ABSOLUTE, dir, cygwin_actual_dir, PATH_MAX+1);
strncpy(actual_dir, cygwin_actual_dir, strlen(cygwin_actual_dir) + 1);
#else
strncpy(actual_dir, dir, strlen(dir) + 1);
@@ -143,7 +143,7 @@
sprintf(dir, "%s/%s", base, name);
#ifdef HAVE_CYGWIN
- cygwin_conv_to_full_win32_path(dir, path);
+ cygwin_conv_path (CCP_POSIX_TO_WIN_A|CCP_ABSOLUTE, dir, path, PATH_MAX+1);
#else
strncpy(path, dir, strlen(dir) + 1);
#endif

View File

@ -1,8 +1,8 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com> # Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=cgdb pkgname=cgdb
pkgver=0.6.8 pkgver=0.7.0
pkgrel=2 pkgrel=1
pkgdesc="Curses-based interface to the GNU Debugger" pkgdesc="Curses-based interface to the GNU Debugger"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://cgdb.sourceforge.io/" url="https://cgdb.sourceforge.io/"
@ -10,17 +10,14 @@ license=('GPL')
depends=('libreadline' 'ncurses' 'gdb') depends=('libreadline' 'ncurses' 'gdb')
makedepends=('help2man' 'libreadline-devel' 'ncurses-devel') makedepends=('help2man' 'libreadline-devel' 'ncurses-devel')
source=("http://cgdb.me/files/${pkgname}-${pkgver}.tar.gz" source=("http://cgdb.me/files/${pkgname}-${pkgver}.tar.gz"
01-msysize.patch 01-msysize.patch)
02-cygwin-deprecations.patch) sha512sums=('406830b5c0f8035df39571f01c20442b76c2509d069d6eb151c239e1cd30132ac6c4a404b8c96cdd8a06297d3c600c7b016a7d95cee2fda285b11fd21b391209'
sha512sums=('22580f0c2ad9c4f4efc429f94465fe54518c38f5efc95fa544ebbd93188d8e2ec740d7c3f22df1447df9af96eb4a317e4a4fbf5c771173f86ebdccbcbd776ab2' '31d2f2573fec3e6569b0c236d60898e5fced21bd3510add98613ce2e75f966a923917ed6eeec475844c3545004d0a17b55de96cfa3eb6f68d5a84636c563ef0e')
'31d2f2573fec3e6569b0c236d60898e5fced21bd3510add98613ce2e75f966a923917ed6eeec475844c3545004d0a17b55de96cfa3eb6f68d5a84636c563ef0e'
'bd12b526c33828df9995d43a994f7b2f535384701974cf5f4395ec27d3856e497990ecadc1496b037741ba4af382455ad8d77c4f571c8b29023d09d1bdb79b1e')
install=cgdb.install install=cgdb.install
prepare() { prepare() {
cd ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/01-msysize.patch patch -p1 -i ${srcdir}/01-msysize.patch
patch -p1 -i ${srcdir}/02-cygwin-deprecations.patch
autoreconf -fi -I config autoreconf -fi -I config
} }