]> git.pld-linux.org Git - packages/brlcad.git/blob - brlcad-include.patch
- add include patch
[packages/brlcad.git] / brlcad-include.patch
1 diff -ur brlcad-7.10.0.orig/configure.ac brlcad-7.10.0/configure.ac
2 --- brlcad-7.10.0.orig/configure.ac     2007-04-10 01:53:41.000000000 +0000
3 +++ brlcad-7.10.0/configure.ac  2007-05-20 13:04:35.000000000 +0000
4 @@ -1487,7 +1487,7 @@
5  AC_HEADER_SYS_WAIT
6  AC_CHECK_HEADERS( \
7         arpa/inet.h \
8 -       curses.h \
9 +       ncurses/curses.h \
10         dslib.h \
11         errno.h \
12         fcntl.h \
13 @@ -1506,7 +1506,7 @@
14         malloc.h \
15         math.h \
16         memory.h \
17 -       ncurses.h \
18 +       ncurses/ncurses.h \
19         netdb.h \
20         netinet/in.h \
21         pthread.h \
22 @@ -1548,7 +1548,7 @@
23         sys/wait.h \
24         syslog.h \
25         tcl.h \
26 -       termcap.h \
27 +       ncurses/termcap.h \
28         terminfo.h \
29         termio.h \
30         termios.h \
31 @@ -1614,13 +1614,13 @@
32                 AC_DEFINE(HAVE_TERM_H, 1, Define to 1 if you have the <term.h> header file.),,
33                 [
34  #if HAVE_NCURSES_H
35 -#  include <ncurses.h>
36 +#  include <ncurses/ncurses.h>
37  #else
38  #  ifdef HAVE_CURSES_H
39 -#    include <curses.h>
40 +#    include <ncurses/curses.h>
41  #  else
42  #    ifdef HAVE_TERMCAP_H
43 -#      include <termcap.h>
44 +#      include <ncurses/termcap.h>
45  #    else
46  #      ifdef HAVE_TERMINFO_H
47  #        include <terminfo.h>
48 @@ -2171,7 +2171,7 @@
49  PRELDFLAGS="$LDFLAGS"
50  LDFLAGS="$LDFLAGS $LIBPNG"
51  AC_TRY_RUN([
52 -#include <png.h>
53 +#include <libpng/png.h>
54  main() {
55      int i = png_access_version_number();
56      return 0;
57 @@ -2871,13 +2871,13 @@
58  #  include <termlib.h>
59  #else
60  #  if HAVE_NCURSES_H
61 -#    include <ncurses.h>
62 +#    include <ncurses/ncurses.h>
63  #  else
64  #    ifdef HAVE_CURSES_H
65 -#      include <curses.h>
66 +#      include <ncurses/curses.h>
67  #    else
68  #      ifdef HAVE_TERMCAP_H
69 -#        include <termcap.h>
70 +#        include <ncurses/termcap.h>
71  #      else
72  #        ifdef HAVE_TERMINFO_H
73  #          include <terminfo.h>
This page took 0.094311 seconds and 3 git commands to generate.