Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 30F3C1A923A for ; Mon, 13 Dec 2021 17:24:41 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 662A084ECB; Mon, 13 Dec 2021 17:24:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A1F9084E80 for ; Mon, 13 Dec 2021 17:24:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Nq9hBuyqWKoo for ; Mon, 13 Dec 2021 17:24:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0094284D4D for ; Mon, 13 Dec 2021 17:24:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EE43FFAEC; Mon, 13 Dec 2021 17:24:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_163941627878900" MIME-Version: 1.0 Date: Mon, 13 Dec 2021 17:24:38 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/audio/mixxx/patches To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20211213172438.EE43FFAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_163941627878900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Dec 13 17:24:38 UTC 2021 Added Files: pkgsrc/audio/mixxx/patches: patch-lib_kaitai_kaitaistream.cpp Log Message: mixxx: add missing patch. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ pkgsrc/audio/mixxx/patches/patch-lib_kaitai_kaitaistream.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_163941627878900 Content-Disposition: inline Content-Length: 1076 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/audio/mixxx/patches/patch-lib_kaitai_kaitaistream.cpp diff -u /dev/null pkgsrc/audio/mixxx/patches/patch-lib_kaitai_kaitaistream.cpp:1.1 --- /dev/null Mon Dec 13 17:24:38 2021 +++ pkgsrc/audio/mixxx/patches/patch-lib_kaitai_kaitaistream.cpp Mon Dec 13 17:24:38 2021 @@ -0,0 +1,25 @@ +$NetBSD: patch-lib_kaitai_kaitaistream.cpp,v 1.1 2021/12/13 17:24:38 nia Exp $ + +Portability... + +--- lib/kaitai/kaitaistream.cpp.orig 2021-09-29 13:23:02.000000000 +0000 ++++ lib/kaitai/kaitaistream.cpp +@@ -17,9 +17,17 @@ + #define bswap_16(x) _byteswap_ushort(x) + #define bswap_32(x) _byteswap_ulong(x) + #define bswap_64(x) _byteswap_uint64(x) +-#else // !__APPLE__ or !_MSC_VER ++#elif defined(__linux__) + #include + #include ++#else // !__APPLE__ or !_MSC_VER ++#include ++#define bswap_16(x) bswap16(x) ++#define bswap_32(x) bswap32(x) ++#define bswap_64(x) bswap64(x) ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#define __LITTLE_ENDIAN LITTLE_ENDIAN + #endif + + #include --_----------=_163941627878900--