pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libfetch/files



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Mar  5 12:06:44 UTC 2025

Modified Files:
        pkgsrc/net/libfetch/files: ftp.c

Log Message:
libfetch: Fix build on UnixWare 7.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/net/libfetch/files/ftp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libfetch/files/ftp.c
diff -u pkgsrc/net/libfetch/files/ftp.c:1.47 pkgsrc/net/libfetch/files/ftp.c:1.48
--- pkgsrc/net/libfetch/files/ftp.c:1.47        Mon Feb 11 10:34:36 2019
+++ pkgsrc/net/libfetch/files/ftp.c     Wed Mar  5 12:06:44 2025
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftp.c,v 1.47 2019/02/11 10:34:36 wiz Exp $     */
+/*     $NetBSD: ftp.c,v 1.48 2025/03/05 12:06:44 nia Exp $     */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Co�dan Sm�rgrav
  * Copyright (c) 2008, 2009, 2010 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -900,6 +900,7 @@ retry_mode:
                            (a >> 8) & 0xff, a & 0xff,
                            (p >> 8) & 0xff, p & 0xff);
                        break;
+#ifdef INET6
                case AF_INET6:
                        e = -1;
                        u.sin6.sin6_scope_id = 0;
@@ -929,6 +930,7 @@ retry_mode:
                                    2, port >> 8, port & 0xff);
                        }
                        break;
+#endif
                default:
                        e = FTP_PROTOCOL_ERROR; /* XXX: error code should be prepared */
                        goto ouch;



Home | Main Index | Thread Index | Old Index