diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-10-12 18:52:43 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-10-12 18:52:43 +0000 |
commit | cada42330e630dc6410103706c6e740c7fce6055 (patch) | |
tree | 300a13bbeee719a1b92e6e86f0fd66098d8b62a9 /graphics/libgphoto2 | |
parent | c2b7bca631f5e9f87bc442e48c34db728f483f41 (diff) | |
download | ports-cada42330e630dc6410103706c6e740c7fce6055.tar.gz ports-cada42330e630dc6410103706c6e740c7fce6055.zip |
- Update jpeg-turbo to 1.5.1
- Add LICENSE
- Use the framework for tests
Notes
Notes:
svn path=/head/; revision=423879
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r-- | graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h | 16 | ||||
-rw-r--r-- | graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h b/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h new file mode 100644 index 000000000000..f38bc4cd5012 --- /dev/null +++ b/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h @@ -0,0 +1,16 @@ +--- camlibs/ax203/jpeg_memsrcdest.h.orig 2015-08-08 15:57:29 UTC ++++ camlibs/ax203/jpeg_memsrcdest.h +@@ -1,5 +1,7 @@ + #include <jpeglib.h> + ++#if JPEG_LIB_VERSION < 80 ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif diff --git a/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h b/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h new file mode 100644 index 000000000000..a439119fbb33 --- /dev/null +++ b/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h @@ -0,0 +1,16 @@ +--- camlibs/jl2005c/jpeg_memsrcdest.h.orig 2015-08-08 15:57:29 UTC ++++ camlibs/jl2005c/jpeg_memsrcdest.h +@@ -1,5 +1,7 @@ + #include <jpeglib.h> + ++#if JPEG_LIB_VERSION < 80 ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif |