freebsd-ports/print/scribus/files/patch-scribus-page.cpp
Markus Brueffer ff0aa724b3 - Update to 1.1.6
- respect CFLAGS
2004-04-28 20:36:45 +00:00

20 lines
503 B
C++

--- scribus/page.cpp.orig Tue Apr 20 16:17:32 2004
+++ scribus/page.cpp Tue Apr 20 16:20:34 2004
@@ -55,6 +55,8 @@
#include <qprocess.h>
#include <qscrollbar.h>
+#include <unistd.h>
+
#ifdef HAVE_TIFF
#include <tiffio.h>
#endif
@@ -7929,7 +7931,7 @@
it++;
hg->cab = it == NULL ? 0 : (*it).toInt();
it++;
- hg->cstroke = it == NULL ? "None" : *it;
+ hg->cstroke = it == NULL ? QString("None") : *it;
it++;
hg->cshade2 = it == NULL ? 100 : (*it).toInt();
it++;