Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_psd.imageio_psdinput.cpp,v 1.1 2014/04/07 12:15:55 ryoon Exp $
--- src/psd.imageio/psdinput.cpp.orig 2014-04-03 06:08:57.000000000 +0000
+++ src/psd.imageio/psdinput.cpp
@@ -389,7 +389,7 @@ private:
// For debugging, numeric_cast will throw if precision is lost:
// value = boost::numeric_cast<TVariable>(buffer);
value = buffer;
- return m_file;
+ return !m_file.bad();
}
int read_pascal_string (std::string &s, uint16_t mod_padding);