diff options
author | drochner <drochner@pkgsrc.org> | 2011-10-27 17:00:28 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-10-27 17:00:28 +0000 |
commit | 0187d2c3864013298c5ae29a5833107c4520cf67 (patch) | |
tree | 8fd4b5478f9bd84a8c02af9525fa7a3690eb8c63 /print/podofo | |
parent | d4853123708050171fe3c87cf71dc828dbe2bc20 (diff) | |
download | pkgsrc-0187d2c3864013298c5ae29a5833107c4520cf67.tar.gz |
fix an off-by-one in argument check
Diffstat (limited to 'print/podofo')
-rw-r--r-- | print/podofo/distinfo | 3 | ||||
-rw-r--r-- | print/podofo/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/print/podofo/distinfo b/print/podofo/distinfo index f0bc4b95bb4..f39aef44d08 100644 --- a/print/podofo/distinfo +++ b/print/podofo/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2011/10/26 19:28:00 gls Exp $ +$NetBSD: distinfo,v 1.4 2011/10/27 17:00:28 drochner Exp $ SHA1 (podofo-0.9.1.tar.gz) = d04c26b93dcf5f82a8dd90e02df6de95fb98ef47 RMD160 (podofo-0.9.1.tar.gz) = 4d65f78cf4929eda44b5f27d518d104380e58160 Size (podofo-0.9.1.tar.gz) = 1080079 bytes SHA1 (patch-aa) = 7d3bb709d86ad13b21120d41223a4d84c5d9215d SHA1 (patch-ab) = 86ef3d5f6fced669cbeeae95890c046489467e69 +SHA1 (patch-ac) = b184fa648407141a373451334790aada66cc2ae2 diff --git a/print/podofo/patches/patch-ac b/print/podofo/patches/patch-ac new file mode 100644 index 00000000000..b9a6449f12a --- /dev/null +++ b/print/podofo/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2011/10/27 17:00:28 drochner Exp $ + +--- tools/podofotxt2pdf/podofotxt2pdf.cpp.orig 2010-10-21 17:09:00.000000000 +0000 ++++ tools/podofotxt2pdf/podofotxt2pdf.cpp +@@ -166,7 +166,7 @@ int main( int argc, char* argv[] ) + const char* pszFontName = DEFAULT_FONT; + bool bUtf8 = false; + +- if( argc <= 3 ) ++ if( argc < 3 ) + { + print_help(); + exit( -1 ); |