Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 267405 Details for
Bug 359491
media-video/mjpegtools-1.9.0-r1 fails to configure with linux-headers-2.6.38 due to missing linux/videodev.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for ebuild posted above (put in the files dir)
mjpegtools-1.9.0-removeV4L1.patch (text/plain), 6.62 KB, created by
Dylan Wakefield
on 2011-03-27 15:56:29 UTC
(
hide
)
Description:
Patch for ebuild posted above (put in the files dir)
Filename:
MIME Type:
Creator:
Dylan Wakefield
Created:
2011-03-27 15:56:29 UTC
Size:
6.62 KB
patch
obsolete
>--- mjpegtools-1.9.0/configure.ac.orig 2011-03-28 10:33:17.000000000 +1100 >+++ mjpegtools-1.9.0/configure.ac 2011-03-28 10:33:57.000000000 +1100 >@@ -153,16 +153,6 @@ > dnl video4linux/hardware dependent tools. Else, undefine HAVE_V4L > > have_video4linux=false >-case $host in >- *-*-linux*) >- AC_CHECK_HEADER(linux/videodev.h, >- [have_video4linux=true >- AC_DEFINE(HAVE_V4L, 1, >- [Building for Linux - using the video4linux API])], >- [AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])]) >- ;; >-esac >-AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue) > > dnl ********************************************************************* > dnl Figure out how to build with POSIX threads. >--- mjpegtools-1.9.0/configure.orig 2011-03-28 10:33:25.000000000 +1100 >+++ mjpegtools-1.9.0/configure 2011-03-28 10:33:42.000000000 +1100 >@@ -22630,167 +22630,10 @@ > ;; > esac > >- >- > have_video4linux=false >-case $host in >- *-*-linux*) >- if test "${ac_cv_header_linux_videodev_h+set}" = set; then >- { echo "$as_me:$LINENO: checking for linux/videodev.h" >&5 >-echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6; } >-if test "${ac_cv_header_linux_videodev_h+set}" = set; then >- echo $ECHO_N "(cached) $ECHO_C" >&6 >-fi >-{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5 >-echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6; } >-else >- # Is the header compilable? >-{ echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5 >-echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6; } >-cat >conftest.$ac_ext <<_ACEOF >-/* confdefs.h. */ >-_ACEOF >-cat confdefs.h >>conftest.$ac_ext >-cat >>conftest.$ac_ext <<_ACEOF >-/* end confdefs.h. */ >-$ac_includes_default >-#include <linux/videodev.h> >-_ACEOF >-rm -f conftest.$ac_objext >-if { (ac_try="$ac_compile" >-case "(($ac_try" in >- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >- *) ac_try_echo=$ac_try;; >-esac >-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >- (eval "$ac_compile") 2>conftest.er1 >- ac_status=$? >- grep -v '^ *+' conftest.er1 >conftest.err >- rm -f conftest.er1 >- cat conftest.err >&5 >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); } && { >- test -z "$ac_c_werror_flag" || >- test ! -s conftest.err >- } && test -s conftest.$ac_objext; then >- ac_header_compiler=yes >-else >- echo "$as_me: failed program was:" >&5 >-sed 's/^/| /' conftest.$ac_ext >&5 >- >- ac_header_compiler=no >-fi >- >-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >-echo "${ECHO_T}$ac_header_compiler" >&6; } >- >-# Is the header present? >-{ echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5 >-echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6; } >-cat >conftest.$ac_ext <<_ACEOF >-/* confdefs.h. */ >-_ACEOF >-cat confdefs.h >>conftest.$ac_ext >-cat >>conftest.$ac_ext <<_ACEOF >-/* end confdefs.h. */ >-#include <linux/videodev.h> >-_ACEOF >-if { (ac_try="$ac_cpp conftest.$ac_ext" >-case "(($ac_try" in >- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >- *) ac_try_echo=$ac_try;; >-esac >-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >- ac_status=$? >- grep -v '^ *+' conftest.er1 >conftest.err >- rm -f conftest.er1 >- cat conftest.err >&5 >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); } >/dev/null && { >- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >- test ! -s conftest.err >- }; then >- ac_header_preproc=yes >-else >- echo "$as_me: failed program was:" >&5 >-sed 's/^/| /' conftest.$ac_ext >&5 >- >- ac_header_preproc=no >-fi >- >-rm -f conftest.err conftest.$ac_ext >-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >-echo "${ECHO_T}$ac_header_preproc" >&6; } >- >-# So? What about this header? >-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >- yes:no: ) >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5 >-echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5 >-echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;} >- ac_header_preproc=yes >- ;; >- no:yes:* ) >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5 >-echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5 >-echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5 >-echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5 >-echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5 >-echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;} >- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5 >-echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;} >- ( cat <<\_ASBOX >-## ---------------------------------------------------- ## >-## Report this to mjpeg-developer@lists.sourceforge.net ## >-## ---------------------------------------------------- ## >-_ASBOX >- ) | sed "s/^/$as_me: WARNING: /" >&2 >- ;; >-esac >-{ echo "$as_me:$LINENO: checking for linux/videodev.h" >&5 >-echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6; } >-if test "${ac_cv_header_linux_videodev_h+set}" = set; then >- echo $ECHO_N "(cached) $ECHO_C" >&6 >-else >- ac_cv_header_linux_videodev_h=$ac_header_preproc >-fi >-{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5 >-echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6; } >- >-fi >-if test $ac_cv_header_linux_videodev_h = yes; then >- have_video4linux=true >- >-cat >>confdefs.h <<\_ACEOF >-#define HAVE_V4L 1 >-_ACEOF >- >-else >- { { echo "$as_me:$LINENO: error: videodev.h not found - please install the linux kernel headers" >&5 >-echo "$as_me: error: videodev.h not found - please install the linux kernel headers" >&2;} >- { (exit 1); exit 1; }; } >-fi >- > >- ;; >-esac >- if test x$have_video4linux = xtrue; then >- HAVE_V4L_TRUE= >- HAVE_V4L_FALSE='#' >-else > HAVE_V4L_TRUE='#' > HAVE_V4L_FALSE= >-fi >- >- >- > > > ac_ext=c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 359491
:
266499
|
267403
| 267405 |
268527
|
269575