aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-04-21 23:47:50 +0000
committerWill Andrews <will@FreeBSD.org>2002-04-21 23:47:50 +0000
commitd1c2f0dddd4a74a79847b017915f3482671e055c (patch)
tree31ccd02a7c0d295ec66bf2eefa0f980fbb92cb91 /x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c
parent98cff2373c59f930df3569d05871d0343d443fd8 (diff)
downloadports-d1c2f0dddd4a74a79847b017915f3482671e055c.tar.gz
ports-d1c2f0dddd4a74a79847b017915f3482671e055c.zip
Notes
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c')
-rw-r--r--x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c b/x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c
new file mode 100644
index 000000000000..0dee6a5c520d
--- /dev/null
+++ b/x11/kdebase4-runtime/files/patch-kdm-backend-protodpy.c
@@ -0,0 +1,22 @@
+--- ./kdm/backend/protodpy.c.orig Sun Mar 24 12:31:09 2002
++++ ./kdm/backend/protodpy.c Thu Apr 18 20:53:44 2002
+@@ -48,12 +48,13 @@
+ PrintProtoDisplay (pdpy)
+ struct protoDisplay *pdpy;
+ {
+- Debug ("ProtoDisplay %p\n", pdpy);
+- Debug ("\taddress: ");
+- PrintSockAddr (pdpy->address, pdpy->addrlen);
+- Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
+- Debug ("\tdisplay Number %d\n", pdpy->displayNumber);
+- Debug ("\tsessionID %d\n", pdpy->sessionID);
++ char addrbuf[128];
++
++ PrintSockAddr (addrbuf, pdpy->address, pdpy->addrlen);
++ Debug ("ProtoDisplay %p\n\taddress: %s\n\tdate %d (%d from now)\n"
++ "\tdisplay Number %d\n\tsessionID %d\n",
++ pdpy, addrbuf, pdpy->date, time(0) - pdpy->date,
++ pdpy->displayNumber, pdpy->sessionID);
+ }
+ #endif
+