summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-10 00:08:19 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-10 00:08:19 +0000
commit31c783350271ae43cb4086fbf93783074951a0f9 (patch)
tree14d5032c519c49b8b303b9c8b78c547c0ec2708b
parent8a9f1fe30e0fad74ca4d09a1e4e48938e3ef46e3 (diff)
downloadpkgsrc-31c783350271ae43cb4086fbf93783074951a0f9.tar.gz
Check in std for manipulators.
-rw-r--r--net/latd/distinfo3
-rw-r--r--net/latd/patches/patch-services.cc21
2 files changed, 23 insertions, 1 deletions
diff --git a/net/latd/distinfo b/net/latd/distinfo
index 77d34baa2cd..29c532d9932 100644
--- a/net/latd/distinfo
+++ b/net/latd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2013/10/08 19:46:15 shattered Exp $
+$NetBSD: distinfo,v 1.9 2013/10/10 00:08:19 joerg Exp $
SHA1 (latd-1.21.tar.gz) = 172e3f844cd7d1301426111f0f71dd70a3d149f7
RMD160 (latd-1.21.tar.gz) = 9d19461578d206dfbd6aaa3d26a25de20ed76438
@@ -15,4 +15,5 @@ SHA1 (patch-connection.h) = 2762cebe59c9e3af1fa1bd9d96cf923ad563c22d
SHA1 (patch-llogin.cc) = 37e81f5df945c956169c70ce4f35b77734bce8a0
SHA1 (patch-server.cc) = b87ec43ad8ab2e340e23c6addfd1dd2c2eab77f3
SHA1 (patch-serversession.cc) = 0ee915108d8cc19f78bbd719d4e25d96d5f6376a
+SHA1 (patch-services.cc) = cf85027f600ccc428dd5fee8c178ae0854904800
SHA1 (patch-session.cc) = 6c8d148d6b3146ad9b5729c1e8aeb3fc131c0bfb
diff --git a/net/latd/patches/patch-services.cc b/net/latd/patches/patch-services.cc
new file mode 100644
index 00000000000..f8640c9156f
--- /dev/null
+++ b/net/latd/patches/patch-services.cc
@@ -0,0 +1,21 @@
+$NetBSD: patch-services.cc,v 1.1 2013/10/10 00:08:19 joerg Exp $
+
+--- services.cc.orig 2013-10-09 22:51:37.000000000 +0000
++++ services.cc
+@@ -257,14 +257,14 @@ void LATServices::serviceinfo::list_node
+
+ output.setf(std::ios::hex, std::ios::basefield);
+
+- output << setiosflags(std::ios::right | std::ios::uppercase) << std::setfill('0')
++ output << std::setiosflags(std::ios::right | std::ios::uppercase) << std::setfill('0')
+ << std::setw(2) << (int)addr[0] << '-'
+ << std::setw(2) << (int)addr[1] << '-'
+ << std::setw(2) << (int)addr[2] << '-'
+ << std::setw(2) << (int)addr[3] << '-'
+ << std::setw(2) << (int)addr[4] << '-'
+ << std::setw(2) << (int)addr[5]
+- << resetiosflags(std::ios::right | std::ios::uppercase) << std::setfill(' ');
++ << std::resetiosflags(std::ios::right | std::ios::uppercase) << std::setfill(' ');
+
+ output.setf(std::ios::right, std::ios::adjustfield);
+ output << " " << n->second.get_ident() << std::endl;