diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-30 16:40:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-30 16:40:25 +0000 |
commit | 09584a3879cc794698f02fc7f27792f7f0dd051d (patch) | |
tree | 19dd532e0df7d28e03158f0fe84ff77a2dbb2551 /media-tv | |
parent | 5a43bd47773575acbf90784ca2b7d13fa06ddc4d (diff) |
media-tv/v4l-utils : fix undefined reference to symbol 'jpeg_set_defaults@@LIBJPEG_6.2'
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/v4l-utils/files/sdlcam-only-build-if-using-jpeg.patch | 14 | ||||
-rw-r--r-- | media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/files/sdlcam-only-build-if-using-jpeg.patch b/media-tv/v4l-utils/files/sdlcam-only-build-if-using-jpeg.patch new file mode 100644 index 00000000..6a429a44 --- /dev/null +++ b/media-tv/v4l-utils/files/sdlcam-only-build-if-using-jpeg.patch @@ -0,0 +1,14 @@ +diff -Nur a/contrib/test/Makefile.am b/contrib/test/Makefile.am +--- a/contrib/test/Makefile.am 2017-12-27 13:51:17.000000000 +0000 ++++ b/contrib/test/Makefile.am 2018-12-30 16:35:57.823533861 +0000 +@@ -17,8 +17,10 @@ + endif + + if HAVE_SDL ++if HAVE_JPEG + noinst_PROGRAMS += sdlcam + endif ++endif + + driver_test_SOURCES = driver-test.c + driver_test_LDADD = ../../utils/libv4l2util/libv4l2util.la diff --git a/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild b/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild index cf0bcfcc..5378d34d 100644 --- a/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild +++ b/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" +PATCHES=( "${FILESDIR}/sdlcam-only-build-if-using-jpeg.patch" ) + src_configure() { if use qt5; then append-cxxflags -std=c++11 |