Ticket #35385: patch-ipe-tools-Portfile.diff
File patch-ipe-tools-Portfile.diff, 1.5 KB (added by dbevans (David B. Evans), 12 years ago) |
---|
-
Portfile
5 5 6 6 name ipe-tools 7 7 version 20110916 8 revision 28 revision 3 9 9 categories graphics 10 maintainers jacobs-university.de:m.thon 10 maintainers jacobs-university.de:m.thon gmx.de:Torsten.Maehne openmaintainer 11 11 description Tools for the Ipe extensible drawing editor 12 12 long_description \ 13 13 The following tools for the Ipe extensible drawing \ -
files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff
1 --- pdftoipe-20110916-src/xmloutputdev.cpp.orig 2011-10-24 14:38:53.000000000 +0200 2 +++ pdftoipe-20110916-src/xmloutputdev.cpp 2011-10-24 14:39:31.000000000 +0200 1 --- pdftoipe-20110916-src/xmloutputdev.cpp.orig 2012-09-14 11:52:19.000000000 -0700 2 +++ pdftoipe-20110916-src/xmloutputdev.cpp 2012-09-14 11:56:46.000000000 -0700 3 @@ -30,7 +30,7 @@ 4 FILE *f; 5 6 if (!(f = fopen(fileName, "wb"))) { 7 - error(-1, "Couldn't open output file '%s'", fileName); 8 + error(errIO, 0, "Couldn't open output file '%s'", fileName); 9 ok = gFalse; 10 return; 11 } 3 12 @@ -336,7 +336,7 @@ 4 13 // dump JPEG stream 5 14 std::vector<char> buffer;