diff options
Diffstat (limited to 'print/xpp/patches/patch-ac')
-rw-r--r-- | print/xpp/patches/patch-ac | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/print/xpp/patches/patch-ac b/print/xpp/patches/patch-ac new file mode 100644 index 00000000000..8decae9903e --- /dev/null +++ b/print/xpp/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1 2004/01/10 09:26:33 jlam Exp $ + +--- cupshelper.cxx.orig Wed Jan 9 08:34:17 2002 ++++ cupshelper.cxx +@@ -67,14 +67,14 @@ int CupsHelper::port(){ + 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); |