components/hplip/patches/03_ErnieFilter.cpp.patch
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Mon, 09 Mar 2015 19:11:16 -0700
branchs11u2-sru
changeset 3941 5a0ea91a2761
parent 2646 86bc0997bd5f
permissions -rw-r--r--
18462148 Update hplip to 3.14.3 or greater.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3941
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     1
Home brewed patch
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     2
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     3
--- a/prnt/hpcups/ErnieFilter.cpp	2014-04-04 03:39:07.000000000 -0700
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     4
+++ b/prnt/hpcups/ErnieFilter.cpp	2014-04-11 09:23:38.197875441 -0700
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     5
@@ -50,7 +50,7 @@
165
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     6
 #include "ErnieFilter.h"
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     7
 
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     8
 
3941
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     9
-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
    10
+#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__) || defined (__sun) || defined (__sun__)
165
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    11
 #include <math.h>
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    12
 #endif
3941
5a0ea91a2761 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
    13