multimedia/pipewire: Restore the endianess detection patch

Reported by:	Alex S <iwtcex@gmail.com>
This commit is contained in:
Gleb Popov 2025-04-29 18:02:30 +03:00
parent b4d2ea1e90
commit e201fe3c24
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= pipewire
DISTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= arrowd@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- spa/include/spa/utils/endian.h.orig 2025-03-14 10:07:06 UTC
+++ spa/include/spa/utils/endian.h
@@ -5,7 +5,7 @@
#ifndef SPA_ENDIAN_H
#define SPA_ENDIAN_H
-#if defined(__FreeBSD__) || defined(__MidnightBSD__)
+#if defined(__MidnightBSD__)
#include <sys/endian.h>
#define bswap_16 bswap16
#define bswap_32 bswap32