diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-10-04 14:15:39 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-10-04 14:15:39 +0000 |
commit | 78b37d304b29ae002335f3c3401b497e5415f876 (patch) | |
tree | 4a051b148cc1e401529bf996e217d3be8ded36d7 /net-print/xpp/files/cups.diff | |
parent | fix bug #8175: force MAKEOPTS+=-j1 in arts-1.0.3. (diff) | |
download | gentoo-2-78b37d304b29ae002335f3c3401b497e5415f876.tar.gz gentoo-2-78b37d304b29ae002335f3c3401b497e5415f876.tar.bz2 gentoo-2-78b37d304b29ae002335f3c3401b497e5415f876.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/cups.diff')
-rw-r--r-- | net-print/xpp/files/cups.diff | 34 |
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(); |