diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-10-14 10:18:15 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-10-14 10:18:15 +0200 |
commit | 60b6405d4063b9f31bd2c00551044a3b3471e092 (patch) | |
tree | bbc3ae6d36a859cd743103722ee604231e3ab24e /media-video/harvid/files | |
parent | media-video/ffmpegthumbnailer: bump to 2.2.2 (diff) | |
download | gentoo-60b6405d4063b9f31bd2c00551044a3b3471e092.tar.gz gentoo-60b6405d4063b9f31bd2c00551044a3b3471e092.tar.bz2 gentoo-60b6405d4063b9f31bd2c00551044a3b3471e092.zip |
media-video/harvid: bump to 0.8.3
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-video/harvid/files')
-rw-r--r-- | media-video/harvid/files/jpeg.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/harvid/files/jpeg.patch b/media-video/harvid/files/jpeg.patch new file mode 100644 index 000000000000..3c0d53bf5d8a --- /dev/null +++ b/media-video/harvid/files/jpeg.patch @@ -0,0 +1,13 @@ +Index: harvid-0.8.3/src/Makefile +=================================================================== +--- harvid-0.8.3.orig/src/Makefile ++++ harvid-0.8.3/src/Makefile +@@ -16,7 +16,7 @@ ifeq ($(shell PKG_CONFIG_PATH=$(PKG_CONF + $(error "libpng is required - install libpng-dev") + endif + +-ifeq ($(shell $(ECHO) "\#include <stdio.h>\n\#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) ++ifeq ($(shell printf "#include <stdio.h>\n#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) + $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev") + endif + |