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)

Alternate proposed patch

  • Portfile

     
    55
    66name                    ipe-tools
    77version                 20110916
    8 revision                2
     8revision                3
    99categories              graphics
    10 maintainers             jacobs-university.de:m.thon
     10maintainers             jacobs-university.de:m.thon gmx.de:Torsten.Maehne openmaintainer
    1111description             Tools for the Ipe extensible drawing editor
    1212long_description        \
    1313                        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   }
    312@@ -336,7 +336,7 @@
    413     // dump JPEG stream
    514     std::vector<char> buffer;