components/hplip/patches/02_HPCupsFilter.cpp.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 17 Apr 2013 15:29:33 -0700
changeset 1271 85b43edad4d2
parent 165 111c46cade93
child 1276 dc3977b83042
permissions -rw-r--r--
Close of build 20.1.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
165
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     1
--- hplip-3.10.9-orig/prnt/hpcups/HPCupsFilter.cpp	Tue Dec 21 02:30:42 2010
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     2
+++ hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp	Tue Dec 21 02:31:05 2010
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     3
@@ -35,6 +35,8 @@
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     4
 #include <time.h>
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     5
 #include <sys/timeb.h>
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     6
 
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     7
+extern "C" int getdomainname(char*, int);
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     8
+
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     9
 #define HP_FILE_VERSION_STR    "03.09.08.0"
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    10
 
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    11
 static HPCupsFilter    filter;