summaryrefslogtreecommitdiff
path: root/print/pdq/files/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdq/files/patch-ak')
-rw-r--r--print/pdq/files/patch-ak11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/pdq/files/patch-ak b/print/pdq/files/patch-ak
new file mode 100644
index 000000000000..20e3099ee65a
--- /dev/null
+++ b/print/pdq/files/patch-ak
@@ -0,0 +1,11 @@
+--- lpd/lpd_interface.c.orig Sat May 15 02:26:06 1999
++++ lpd/lpd_interface.c Sat May 15 02:26:25 1999
+@@ -80,7 +80,7 @@
+
+ MESSAGE (2, connecting...);
+
+- if ( connect(sckt, &serv_addr, sizeof(serv_addr)) != 0 ) {
++ if ( connect(sckt, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) != 0 ) {
+ perror ("connect");
+ exit (1);
+ }