components/hplip/patches/01_build.patch
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Wed, 18 Feb 2015 04:51:18 -0800
changeset 3831 33bc4f8fb536
parent 1276 components/hplip/patches/01-build.patch@dc3977b83042
child 4923 b9e3f6b6a101
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/hpijs/hpijsfax.cpp	2014-04-04 03:39:55.000000000 -0700
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     4
+++ hplip-3.14.4/prnt/hpijs/hpijsfax.cpp	2014-04-11 09:25:59.404997356 -0700
33bc4f8fb536 18462148 Update hplip to 3.14.3 or greater.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 1276
diff changeset
     5
@@ -598,7 +598,7 @@
165
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     6
 		ijs_server_done (ctx);
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
 
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     9
-	exit(status);
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    10
+	return(status);
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    11
 }
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    12
 
111c46cade93 7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    13
 // GrayLevel = (5/16)R + (9/16)G + (2/16)B