Root/libggi/patches/010-directfb-headers.patch

1--- a/configure
2+++ b/configure
3@@ -18746,8 +18746,8 @@ fi
4 
5 
6   if test "${ac_cv_header_directfb_internal_directfb_version_h+set}" = set; then
7- echo "$as_me:$LINENO: checking for directfb-internal/directfb_version.h" >&5
8-echo $ECHO_N "checking for directfb-internal/directfb_version.h... $ECHO_C" >&6
9+ echo "$as_me:$LINENO: checking for directfb/directfb_version.h" >&5
10+echo $ECHO_N "checking for directfb/directfb_version.h... $ECHO_C" >&6
11 if test "${ac_cv_header_directfb_internal_directfb_version_h+set}" = set; then
12   echo $ECHO_N "(cached) $ECHO_C" >&6
13 fi
14@@ -18755,8 +18755,8 @@ echo "$as_me:$LINENO: result: $ac_cv_hea
15 echo "${ECHO_T}$ac_cv_header_directfb_internal_directfb_version_h" >&6
16 else
17   # Is the header compilable?
18-echo "$as_me:$LINENO: checking directfb-internal/directfb_version.h usability" >&5
19-echo $ECHO_N "checking directfb-internal/directfb_version.h usability... $ECHO_C" >&6
20+echo "$as_me:$LINENO: checking directfb/directfb_version.h usability" >&5
21+echo $ECHO_N "checking directfb/directfb_version.h usability... $ECHO_C" >&6
22 cat >conftest.$ac_ext <<_ACEOF
23 /* confdefs.h. */
24 _ACEOF
25@@ -18764,7 +18764,7 @@ cat confdefs.h >>conftest.$ac_ext
26 cat >>conftest.$ac_ext <<_ACEOF
27 /* end confdefs.h. */
28 $ac_includes_default
29-#include <directfb-internal/directfb_version.h>
30+#include <directfb/directfb_version.h>
31 _ACEOF
32 rm -f conftest.$ac_objext
33 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34@@ -18800,15 +18800,15 @@ echo "$as_me:$LINENO: result: $ac_header
35 echo "${ECHO_T}$ac_header_compiler" >&6
36 
37 # Is the header present?
38-echo "$as_me:$LINENO: checking directfb-internal/directfb_version.h presence" >&5
39-echo $ECHO_N "checking directfb-internal/directfb_version.h presence... $ECHO_C" >&6
40+echo "$as_me:$LINENO: checking directfb/directfb_version.h presence" >&5
41+echo $ECHO_N "checking directfb/directfb_version.h presence... $ECHO_C" >&6
42 cat >conftest.$ac_ext <<_ACEOF
43 /* confdefs.h. */
44 _ACEOF
45 cat confdefs.h >>conftest.$ac_ext
46 cat >>conftest.$ac_ext <<_ACEOF
47 /* end confdefs.h. */
48-#include <directfb-internal/directfb_version.h>
49+#include <directfb/directfb_version.h>
50 _ACEOF
51 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53@@ -18842,25 +18842,25 @@ echo "${ECHO_T}$ac_header_preproc" >&6
54 # So? What about this header?
55 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56   yes:no: )
57- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: accepted by the compiler, rejected by the preprocessor!" >&5
58-echo "$as_me: WARNING: directfb-internal/directfb_version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: proceeding with the compiler's result" >&5
60-echo "$as_me: WARNING: directfb-internal/directfb_version.h: proceeding with the compiler's result" >&2;}
61+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: accepted by the compiler, rejected by the preprocessor!" >&5
62+echo "$as_me: WARNING: directfb/directfb_version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
63+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: proceeding with the compiler's result" >&5
64+echo "$as_me: WARNING: directfb/directfb_version.h: proceeding with the compiler's result" >&2;}
65     ac_header_preproc=yes
66     ;;
67   no:yes:* )
68- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: present but cannot be compiled" >&5
69-echo "$as_me: WARNING: directfb-internal/directfb_version.h: present but cannot be compiled" >&2;}
70- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: check for missing prerequisite headers?" >&5
71-echo "$as_me: WARNING: directfb-internal/directfb_version.h: check for missing prerequisite headers?" >&2;}
72- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: see the Autoconf documentation" >&5
73-echo "$as_me: WARNING: directfb-internal/directfb_version.h: see the Autoconf documentation" >&2;}
74- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: section \"Present But Cannot Be Compiled\"" >&5
75-echo "$as_me: WARNING: directfb-internal/directfb_version.h: section \"Present But Cannot Be Compiled\"" >&2;}
76- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: proceeding with the preprocessor's result" >&5
77-echo "$as_me: WARNING: directfb-internal/directfb_version.h: proceeding with the preprocessor's result" >&2;}
78- { echo "$as_me:$LINENO: WARNING: directfb-internal/directfb_version.h: in the future, the compiler will take precedence" >&5
79-echo "$as_me: WARNING: directfb-internal/directfb_version.h: in the future, the compiler will take precedence" >&2;}
80+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: present but cannot be compiled" >&5
81+echo "$as_me: WARNING: directfb/directfb_version.h: present but cannot be compiled" >&2;}
82+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: check for missing prerequisite headers?" >&5
83+echo "$as_me: WARNING: directfb/directfb_version.h: check for missing prerequisite headers?" >&2;}
84+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: see the Autoconf documentation" >&5
85+echo "$as_me: WARNING: directfb/directfb_version.h: see the Autoconf documentation" >&2;}
86+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: section \"Present But Cannot Be Compiled\"" >&5
87+echo "$as_me: WARNING: directfb/directfb_version.h: section \"Present But Cannot Be Compiled\"" >&2;}
88+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: proceeding with the preprocessor's result" >&5
89+echo "$as_me: WARNING: directfb/directfb_version.h: proceeding with the preprocessor's result" >&2;}
90+ { echo "$as_me:$LINENO: WARNING: directfb/directfb_version.h: in the future, the compiler will take precedence" >&5
91+echo "$as_me: WARNING: directfb/directfb_version.h: in the future, the compiler will take precedence" >&2;}
92     (
93       cat <<\_ASBOX
94 ## ------------------------------------------------------ ##
95@@ -18871,8 +18871,8 @@ _ASBOX
96       sed "s/^/$as_me: WARNING: /" >&2
97     ;;
98 esac
99-echo "$as_me:$LINENO: checking for directfb-internal/directfb_version.h" >&5
100-echo $ECHO_N "checking for directfb-internal/directfb_version.h... $ECHO_C" >&6
101+echo "$as_me:$LINENO: checking for directfb/directfb_version.h" >&5
102+echo $ECHO_N "checking for directfb/directfb_version.h... $ECHO_C" >&6
103 if test "${ac_cv_header_directfb_internal_directfb_version_h+set}" = set; then
104   echo $ECHO_N "(cached) $ECHO_C" >&6
105 else
106--- a/configure.in
107+++ b/configure.in
108@@ -766,7 +766,7 @@ if test "x$build_directfb_renderer" != "
109         [Define if you have <directfb.h> header file]),
110     build_directfb_renderer="no")
111 
112- AC_CHECK_HEADER(directfb-internal/directfb_version.h,
113+ AC_CHECK_HEADER(directfb/directfb_version.h,
114     foo=bar, build_directfb_renderer="no")
115 fi
116 
117

Archive Download this file



interactive