Fredrik Fornwall
8 years ago
2 changed files with 53 additions and 4 deletions
@ -1,10 +1,14 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://cgdb.github.io/ |
|||
TERMUX_PKG_DESCRIPTION="A lightweight curses (terminal-based) interface to the GNU Debugger (GDB)" |
|||
TERMUX_PKG_DEPENDS="ncurses,readline,gdb" |
|||
TERMUX_PKG_VERSION=0.6.8 |
|||
TERMUX_PKG_SRCURL=https://cgdb.me/files/cgdb-0.6.8.tar.gz |
|||
TERMUX_PKG_SHA256=be203e29be295097439ab67efe3dc8261f742c55ff3647718d67d52891f4cf41 |
|||
TERMUX_PKG_VERSION=0.7.0 |
|||
TERMUX_PKG_SRCURL=https://cgdb.me/files/cgdb-${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423 |
|||
TERMUX_PKG_FOLDERNAME=cgdb-${TERMUX_PKG_VERSION} |
|||
TERMUX_PKG_BUILD_IN_SRC="yes" |
|||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_ncursesw6_addnwstr=yes ac_cv_file__dev_ptmx=yes ac_cv_func_setpgrp_void=true ac_cv_rl_version=7" |
|||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|||
ac_cv_lib_ncursesw6_addnwstr=yes ac_cv_file__dev_ptmx=yes |
|||
ac_cv_func_setpgrp_void=true ac_cv_rl_version=7 |
|||
ac_cv_file__proc_self_status=yes |
|||
" |
|||
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps" |
|||
|
@ -0,0 +1,45 @@ |
|||
diff -u -r ../cgdb-0.7.0/configure ./configure
|
|||
--- ../cgdb-0.7.0/configure 2017-03-21 14:30:21.000000000 +0100
|
|||
+++ ./configure 2017-05-23 00:03:31.352677383 +0200
|
|||
@@ -6146,41 +6146,8 @@
|
|||
curses_lib_name="curses" |
|||
fi |
|||
|
|||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking attribute printf support" >&5
|
|||
-$as_echo_n "checking Checking attribute printf support... " >&6; }
|
|||
- if test "$cross_compiling" = yes; then :
|
|||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|||
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|||
-as_fn_error $? "cannot run test program while cross compiling
|
|||
-See \`config.log' for more details" "$LINENO" 5; }
|
|||
-else
|
|||
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|||
-/* end confdefs.h. */
|
|||
-
|
|||
-#include <stdlib.h>
|
|||
-
|
|||
-static void test(const char *fmt, ...) __attribute__((format(__printf__, 1, 2)));
|
|||
-static void test(const char *fmt, ...) { (void)fmt; }
|
|||
-
|
|||
-int main() {
|
|||
- test("foobar");
|
|||
- return 0;
|
|||
-}
|
|||
-_ACEOF
|
|||
-if ac_fn_c_try_run "$LINENO"; then :
|
|||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|||
-$as_echo "yes" >&6; }
|
|||
-
|
|||
$as_echo "#define HAVE_ATTRIBUTE_PRINTF 1" >>confdefs.h |
|||
|
|||
-else
|
|||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|||
-$as_echo "no" >&6; }
|
|||
-fi
|
|||
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|||
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|||
-fi
|
|||
-
|
|||
|
|||
|
|||
if test "X$bash_cv_termcap_lib" = "X"; then |
Loading…
Reference in new issue