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"
-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
+#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__) || defined (__sun) || defined (__sun__)
#include <math.h>
#endif