components/hplip/patches/03_ErnieFilter.cpp.patch
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Wed, 18 Feb 2015 04:51:18 -0800
changeset 3831 33bc4f8fb536
parent 1276 dc3977b83042
permissions -rw-r--r--
18462148 Update hplip to 3.14.3 or greater.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3831
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     1
Home brewed patch
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     2
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     3
--- a/prnt/hpcups/ErnieFilter.cpp	2014-04-04 03:39:07.000000000 -0700
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     4
+++ b/prnt/hpcups/ErnieFilter.cpp	2014-04-11 09:23:38.197875441 -0700
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
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
 
3831
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     9
-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
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
3831
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
    13