components/hplip/patches/03_ErnieFilter.cpp.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 05 Aug 2015 02:55:12 -0700
changeset 4739 fe9f7b631d54
parent 3831 33bc4f8fb536
permissions -rw-r--r--
PSARC 2015/216 The R Project for Statistical Computing 15802265 SUNBT7182198 include r programming language in solaris 21265403 "gmake test" failures for R

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