Ver código fonte

* configure.ac:

+ Check for curses.h as well as ncurses.h.
  * src/caca.c src/event.c src/graphics.c:
    + Include curses.h if ncurses.h was not found.
tags/v0.99.beta14
Sam Hocevar sam 21 anos atrás
pai
commit
ad1399c23b
5 arquivos alterados com 23 adições e 4 exclusões
  1. +1
    -1
      configure.ac
  2. +7
    -0
      debian/changelog
  3. +5
    -1
      src/caca.c
  4. +5
    -1
      src/event.c
  5. +5
    -1
      src/graphics.c

+ 1
- 1
configure.ac Ver arquivo

@@ -122,7 +122,7 @@ fi

if test "${enable_ncurses}" != "no"; then
ac_cv_my_have_ncurses="no"
AC_CHECK_HEADERS(ncurses.h,
AC_CHECK_HEADERS(curses.h ncurses.h,
[AC_CHECK_LIB(ncurses, initscr,
[ac_cv_my_have_ncurses="yes"
AC_DEFINE(USE_NCURSES, 1, Define to activate the ncurses backend driver)


+ 7
- 0
debian/changelog Ver arquivo

@@ -1,3 +1,10 @@
libcaca (0.8-2) unstable; urgency=low

* src/caca.c src/event.c src/graphics.c:
+ Include <ncurses.h> instead of <curses.h> to fix m68k FTBFS.

-- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 26 Jan 2004 11:47:32 +0100

libcaca (0.8-1) unstable; urgency=low

* New upstream release.


+ 5
- 1
src/caca.c Ver arquivo

@@ -39,7 +39,11 @@
# endif
#endif
#if defined(USE_NCURSES)
# include <curses.h>
# if defined(HAVE_NCURSES_H)
# include <ncurses.h>
# else
# include <curses.h>
# endif
#endif
#if defined(USE_CONIO)
# include <dos.h>


+ 5
- 1
src/event.c Ver arquivo

@@ -37,7 +37,11 @@
# endif
#endif
#if defined(USE_NCURSES)
# include <curses.h>
# if defined(HAVE_NCURSES_H)
# include <ncurses.h>
# else
# include <curses.h>
# endif
#endif
#if defined(USE_CONIO)
# include <conio.h>


+ 5
- 1
src/graphics.c Ver arquivo

@@ -37,7 +37,11 @@
# endif
#endif
#if defined(USE_NCURSES)
# include <curses.h>
# if defined(HAVE_NCURSES_H)
# include <ncurses.h>
# else
# include <curses.h>
# endif
#endif
#if defined(USE_CONIO)
# include <conio.h>


Carregando…
Cancelar
Salvar