diff -r fcd26b3de46c -r 5a0ea91a2761 components/hplip/patches/03_ErnieFilter.cpp.patch --- a/components/hplip/patches/03_ErnieFilter.cpp.patch Thu Mar 12 12:45:05 2015 -0700 +++ b/components/hplip/patches/03_ErnieFilter.cpp.patch Mon Mar 09 19:11:16 2015 -0700 @@ -1,11 +1,13 @@ ---- a/prnt/hpcups/ErnieFilter.cpp Mon Dec 27 00:02:08 2010 -+++ b/prnt/hpcups/ErnieFilter.cpp Mon Dec 27 00:03:19 2010 -@@ -50,6 +50,8 @@ +Home brewed patch + +--- a/prnt/hpcups/ErnieFilter.cpp 2014-04-04 03:39:07.000000000 -0700 ++++ b/prnt/hpcups/ErnieFilter.cpp 2014-04-11 09:23:38.197875441 -0700 +@@ -50,7 +50,7 @@ #include "ErnieFilter.h" -+extern "C" double ceil(double); -+ - #if defined(__APPLE__) || defined(__linux) +-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__) ++#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__) || defined (__sun) || defined (__sun__) #include #endif +