components/hplip/patches/03_ErnieFilter.cpp.patch
author Channappa BV<channappa.vakkalad@oracle.com>
Wed, 20 Jul 2016 03:28:41 -0700
branchs11u3-sru
changeset 6435 c1b087ff0a7e
parent 3935 177c89f1f2cf
permissions -rw-r--r--
23759117 Update timezone data to 2016f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3935
177c89f1f2cf 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     1
Home brewed patch
177c89f1f2cf 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
     2
177c89f1f2cf 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
177c89f1f2cf 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
177c89f1f2cf 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
 
3935
177c89f1f2cf 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__)
177c89f1f2cf 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
3935
177c89f1f2cf 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 2646
diff changeset
    13