pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libtorrent



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov  9 19:09:19 UTC 2023

Modified Files:
        pkgsrc/net/libtorrent: distinfo
Added Files:
        pkgsrc/net/libtorrent/patches:
            patch-src_torrent_net_socket__address__key.h

Log Message:
libtorrent: SunOS/POSIX compliance fix


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/libtorrent/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/libtorrent/patches/patch-src_torrent_net_socket__address__key.h

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

Modified files:

Index: pkgsrc/net/libtorrent/distinfo
diff -u pkgsrc/net/libtorrent/distinfo:1.43 pkgsrc/net/libtorrent/distinfo:1.44
--- pkgsrc/net/libtorrent/distinfo:1.43 Mon Nov  6 11:26:45 2023
+++ pkgsrc/net/libtorrent/distinfo      Thu Nov  9 19:09:19 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2023/11/06 11:26:45 nia Exp $
+$NetBSD: distinfo,v 1.44 2023/11/09 19:09:19 nia Exp $
 
 BLAKE2s (libtorrent-0.13.8.tar.gz) = ebd9f2f152cf99b4987e736b88fceecc71377c3f66f1f783e796e00b9c666df2
 SHA512 (libtorrent-0.13.8.tar.gz) = 417177df5b27cd8c6a6317063b0846da2690de4633836466728605c2edad2de407d29d321cc481b8d1352dd0ff6dd89f4566a830424a8cf986f2fddb04704da4
@@ -8,4 +8,5 @@ SHA1 (patch-src_Makefile.am) = d965bdfd9
 SHA1 (patch-src_Makefile.in) = 05f55223073fb57cc11fbb307708ba262899d85f
 SHA1 (patch-src_data_chunk__list.cpp) = 92a5f36d7ae993667123051b39e6033c73169f4e
 SHA1 (patch-src_data_memory__chunk.cc) = 25c1e529223ab4873f61430e922949eeb29637c4
+SHA1 (patch-src_torrent_net_socket__address__key.h) = 9037c4e11498029977a795c1e76e99d68e3b53b6
 SHA1 (patch-src_torrent_poll__kqueue.cc) = 9e5191d9a9802d46a7c7da20e2ec4c3ce9f45a11

Added files:

Index: pkgsrc/net/libtorrent/patches/patch-src_torrent_net_socket__address__key.h
diff -u /dev/null pkgsrc/net/libtorrent/patches/patch-src_torrent_net_socket__address__key.h:1.1
--- /dev/null   Thu Nov  9 19:09:19 2023
+++ pkgsrc/net/libtorrent/patches/patch-src_torrent_net_socket__address__key.h  Thu Nov  9 19:09:19 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_torrent_net_socket__address__key.h,v 1.1 2023/11/09 19:09:19 nia Exp $
+
+Add missing header for AF_INET and friends.
+Needed for SunOS but also "POSIX sez so".
+
+--- src/torrent/net/socket_address_key.h.orig  2019-07-19 11:44:08.000000000 +0000
++++ src/torrent/net/socket_address_key.h
+@@ -6,6 +6,7 @@
+ 
+ #include <cstring>
+ #include <inttypes.h>
++#include <sys/socket.h>
+ #include <netinet/in.h>
+ 
+ // Unique key for the socket address, excluding port numbers, etc.



Home | Main Index | Thread Index | Old Index