diff options
author | jlam <jlam> | 2004-01-10 09:26:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-10 09:26:33 +0000 |
commit | 99b067d5099b1f415f37eab8645409f7df1e8fb2 (patch) | |
tree | 4a05f32ea686aec305d86048949b8e3aac30b693 /print | |
parent | f5b7a0578d4e5d19a6d4a472b36d07c07008eb5e (diff) | |
download | pkgsrc-99b067d5099b1f415f37eab8645409f7df1e8fb2.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); |