1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/graphics/cinepaint/files/patch-plug-ins__pdf__pdf.cpp
Martin Wilke f507c057f9 - Update to 1.0.4
PR:		178595
Submitted by:	Ports Fury
2013-05-21 05:43:22 +00:00

25 lines
588 B
C++

--- plug-ins/pdf/pdf.cpp.orig
+++ plug-ins/pdf/pdf.cpp
@@ -47,10 +47,10 @@
#include "lib/wire/libtile.h"
#include "plugin_pdb.h"
#include "libgimp/stdplugins-intl.h"
+}
#ifdef HAVE_OY
-#include <oyranos/oyranos.h>
+#include <oyranos.h>
#endif
-}
#define WARN_S(text) cout <<__FILE__<<":"<<__LINE__<<" "<< text << endl;
@@ -377,8 +377,6 @@
// set a default profile for cmyk
#ifdef OYRANOS_H
# if OYRANOS_API > 12
- using namespace oyranos;
-
if( vals.colourspace == PDF_CMYK )
profile_name = oyGetDefaultProfileName (oyEDITING_CMYK, myAllocFunc);
else