diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-10 09:26:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-10 09:26:33 +0000 |
commit | fb61fa4f8207898b2a0cfbb8aa361601f3439367 (patch) | |
tree | 4a05f32ea686aec305d86048949b8e3aac30b693 /print | |
parent | 1e60f2af540ae57623455250021ea00c112ae973 (diff) | |
download | pkgsrc-fb61fa4f8207898b2a0cfbb8aa361601f3439367.tar.gz |
Don't put default arguments belong only in function declarations, not in
function definitions.
Diffstat (limited to 'print')
-rw-r--r-- | print/xpp/distinfo | 3 | ||||
-rw-r--r-- | print/xpp/patches/patch-ac | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/print/xpp/distinfo b/print/xpp/distinfo index b20aa207d8b..3ea8bf4e192 100644 --- a/print/xpp/distinfo +++ b/print/xpp/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2002/09/18 23:55:51 jlam Exp $ +$NetBSD: distinfo,v 1.5 2004/01/10 09:26:33 jlam Exp $ SHA1 (xpp-1.1.tar.gz) = 0f9b54690d38e9a7ec810213c9cdc3d6ea71480d Size (xpp-1.1.tar.gz) = 72611 bytes SHA1 (patch-aa) = 7658afc3b1f2bff134f648aebf2ba26f2f7a8a29 SHA1 (patch-ab) = 6bb5cb292f5ac24b461b86fc8707595ba99094ef +SHA1 (patch-ac) = a484ba121ca489bb8cfd45b4b993e8bd58c9e083 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); |