Ticket #35385: ipe-tools-port.patch

File ipe-tools-port.patch, 1.6 KB (added by maehne (Torsten Maehne), 12 years ago)

Patch for the ipe-tools port

  • Portfile

    diff -ur ipe-tools.orig/Portfile ipe-tools/Portfile
    old new  
    55
    66name                    ipe-tools
    77version                 20110916
    8 revision                1
     8revision                2
    99categories              graphics
    1010maintainers             jacobs-university.de:m.thon
    1111description             Tools for the Ipe extensible drawing editor
  • files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff

    Only in ipe-tools: Portfile~
    diff -ur ipe-tools.orig/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff ipe-tools/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff
    old new  
    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-07-28 14:38:53.000000000 +0200
     2+++ pdftoipe-20110916-src/xmloutputdev.cpp      2012-07-28 14:39:31.000000000 +0200
     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+    fprintf(stderr, "Couldn't open output file '%s'\n", fileName);
     9     ok = gFalse;
     10     return;
     11   }
    312@@ -336,7 +336,7 @@
    413     // dump JPEG stream
    514     std::vector<char> buffer;