summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-10-04 14:15:39 +0000
committerNick Hadaway <raker@gentoo.org>2002-10-04 14:15:39 +0000
commitc0777d15d55bbbf6feffe63097c4ca0487788b48 (patch)
tree5121f5560217a71b229f4d50358da5c9c8af7010 /net-print/xpp/files
parentfix bug #8175: force MAKEOPTS+=-j1 in arts-1.0.3. (diff)
downloadhistorical-c0777d15d55bbbf6feffe63097c4ca0487788b48.tar.gz
historical-c0777d15d55bbbf6feffe63097c4ca0487788b48.tar.bz2
historical-c0777d15d55bbbf6feffe63097c4ca0487788b48.zip
Upped dependancy to >=fltk-1.1.0_rc7 and included virtual/x11. Added
lib and include locations for fltk so xpp detects them properly. Also patched cups-related code for gcc3 strictness.
Diffstat (limited to 'net-print/xpp/files')
-rw-r--r--net-print/xpp/files/cups.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-print/xpp/files/cups.diff b/net-print/xpp/files/cups.diff
new file mode 100644
index 000000000000..dae39512cb71
--- /dev/null
+++ b/net-print/xpp/files/cups.diff
@@ -0,0 +1,34 @@
+diff -urN xpp-1.1/cupshelper.cxx xpp-1.1-modified/cupshelper.cxx
+--- xpp-1.1/cupshelper.cxx 2002-01-09 07:34:17.000000000 -0600
++++ xpp-1.1-modified/cupshelper.cxx 2002-10-04 09:07:59.000000000 -0500
+@@ -67,14 +67,14 @@
+ return port_;
+ }
+
+-void CupsHelper::setHostInfo(const char *host, int port = 631){
++void CupsHelper::setHostInfo(const char *host, int port){
+ strcpy(host_,host);
+ cupsSetServer(host_);
+ port_ = port;
+ ippSetPort(port_);
+ }
+
+-void CupsHelper::setLoginInfo(const char *usr = 0, const char *pwd = 0){
++void CupsHelper::setLoginInfo(const char *usr, const char *pwd){
+ strcpy(login_,usr);
+ cupsSetUser(login_);
+ strcpy(password_,pwd);
+diff -urN xpp-1.1/cupshelper.h xpp-1.1-modified/cupshelper.h
+--- xpp-1.1/cupshelper.h 2002-01-09 07:34:17.000000000 -0600
++++ xpp-1.1-modified/cupshelper.h 2002-10-04 09:08:15.000000000 -0500
+@@ -51,8 +51,8 @@
+ public:
+ CupsHelper();
+ ~CupsHelper();
+- static void setLoginInfo(const char *usr = 0, const char *pwd = 0);
+- static void setHostInfo(const char *host, int port = 631);
++ static void setLoginInfo(const char *usr, const char *pwd);
++ static void setHostInfo(const char *host, int port);
+ static int port();
+ static const char* host();
+ static const char* password();