This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
cinepaint/cinepaint-0.22-ENOY.patch

14 lines
565 B
Diff
Raw Normal View History

diff -up cinepaint-0.22-1/plug-ins/pdf/pdf.cpp.enoy cinepaint-0.22-1/plug-ins/pdf/pdf.cpp
--- cinepaint-0.22-1/plug-ins/pdf/pdf.cpp.enoy 2010-08-27 17:12:34.000000000 +0200
+++ cinepaint-0.22-1/plug-ins/pdf/pdf.cpp 2010-08-27 17:13:38.000000000 +0200
@@ -377,7 +377,9 @@ load_image(const char* filename)
// set a default profile for cmyk
#ifdef OYRANOS_H
# if OYRANOS_API > 12
+# if OYRANOS_API < 16
using namespace oyranos;
+#endif
if( vals.colourspace == PDF_CMYK )
profile_name = oyGetDefaultProfileName (oyEDITING_CMYK, myAllocFunc);