pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/lepton



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Aug 26 17:20:54 UTC 2016

Modified Files:
        pkgsrc/graphics/lepton: distinfo
Added Files:
        pkgsrc/graphics/lepton/patches: patch-src_io_ioutil.hh
            patch-src_lepton_jpgcoder.cc

Log Message:
Fix include for errno. Fix obviously infinite loop.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/lepton/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/lepton/patches/patch-src_io_ioutil.hh \
    pkgsrc/graphics/lepton/patches/patch-src_lepton_jpgcoder.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/lepton/distinfo
diff -u pkgsrc/graphics/lepton/distinfo:1.1 pkgsrc/graphics/lepton/distinfo:1.2
--- pkgsrc/graphics/lepton/distinfo:1.1 Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/distinfo     Fri Aug 26 17:20:54 2016
@@ -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--fork_serve.cc) 
 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

Added files:

Index: pkgsrc/graphics/lepton/patches/patch-src_io_ioutil.hh
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src_io_ioutil.hh:1.1
--- /dev/null   Fri Aug 26 17:20:54 2016
+++ pkgsrc/graphics/lepton/patches/patch-src_io_ioutil.hh       Fri Aug 26 17:20:54 2016
@@ -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
Index: pkgsrc/graphics/lepton/patches/patch-src_lepton_jpgcoder.cc
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src_lepton_jpgcoder.cc:1.1
--- /dev/null   Fri Aug 26 17:20:54 2016
+++ pkgsrc/graphics/lepton/patches/patch-src_lepton_jpgcoder.cc Fri Aug 26 17:20:54 2016
@@ -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