pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/lepton Fix include for errno. Fix obviously i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54e56f4c7cc9
branches:  trunk
changeset: 351738:54e56f4c7cc9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 26 17:20:54 2016 +0000

description:
Fix include for errno. Fix obviously infinite loop.

diffstat:

 graphics/lepton/distinfo                             |   4 +++-
 graphics/lepton/patches/patch-src_io_ioutil.hh       |  13 +++++++++++++
 graphics/lepton/patches/patch-src_lepton_jpgcoder.cc |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 2c0cb92227ff -r 54e56f4c7cc9 graphics/lepton/distinfo
--- a/graphics/lepton/distinfo  Fri Aug 26 17:19:49 2016 +0000
+++ b/graphics/lepton/distinfo  Fri Aug 26 17:20:54 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2016/07/19 02:11:51 agc Exp $
+$NetBSD: distinfo,v 1.2 2016/08/26 17:20:54 joerg Exp $
 
 SHA1 (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = fe7142d68f33a054a124cf8862b25af7780a1049
 RMD160 (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = 1ef14dee2db286c9940ae72bbf2addcdc656ff92
@@ -8,3 +8,5 @@
 SHA1 (patch-src--lepton--socket_serve.cc) = 5c0e94a8b2f5e61a556cd33784a0787c588e1c7f
 SHA1 (patch-src--vp8--model--jpeg_meta.hh) = 5f1424e5d5160c12a43b75402c33adf9894f868f
 SHA1 (patch-src--vp8--util--vpx_config.hh) = 857472457ad1b1f8b8bd6d7c66ae2c0991e4e4ef
+SHA1 (patch-src_io_ioutil.hh) = 84a4b2e4a1197ff8f51a596e1c921538eb10adc0
+SHA1 (patch-src_lepton_jpgcoder.cc) = 8e0913a9bb2b064223d67ecee6c4d08ceeea0e2f
diff -r 2c0cb92227ff -r 54e56f4c7cc9 graphics/lepton/patches/patch-src_io_ioutil.hh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lepton/patches/patch-src_io_ioutil.hh    Fri Aug 26 17:20:54 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_io_ioutil.hh,v 1.1 2016/08/26 17:20:54 joerg Exp $
+
+--- src/io/ioutil.hh.orig      2016-08-26 13:44:46.748006379 +0000
++++ src/io/ioutil.hh
+@@ -2,7 +2,7 @@
+ #define _SIRIKIATA_IO_UTIL_HH_
+ #ifndef _WIN32
+ #include <unistd.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #endif
diff -r 2c0cb92227ff -r 54e56f4c7cc9 graphics/lepton/patches/patch-src_lepton_jpgcoder.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lepton/patches/patch-src_lepton_jpgcoder.cc      Fri Aug 26 17:20:54 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_lepton_jpgcoder.cc,v 1.1 2016/08/26 17:20:54 joerg Exp $
+
+--- src/lepton/jpgcoder.cc.orig        2016-08-26 14:02:20.988180370 +0000
++++ src/lepton/jpgcoder.cc
+@@ -4615,7 +4615,7 @@ int decode_ac_prg_fs( abitreader* huffr,
+     // check eobrun
+     if ( (*eobrun) > 0 ) {
+         for ( bpos = from; bpos <= to; )
+-            block[ bpos ] = 0;
++            block[ bpos++ ] = 0;
+         (*eobrun)--;
+         return from;
+     }



Home | Main Index | Thread Index | Old Index