1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/multimedia/dvbcut/files/patch-src_index.h
Stefan Eßer 30de4c11b2 Update to version 0.7.1. That version uses unique_ptr which is not
supported on FreeBSD 9.3, 10.1, and 10.2.  "patch-src_dvbcut.cpp"
restores the code as it was in version 0.7.0.  That patch shall be
removed from the port in 2017, when the affected FreeBSD versions
have reached EoL.

Approved by:    antoine (implicit)
2016-12-01 10:53:22 +00:00

13 lines
234 B
C++

--- src/index.h.orig 2016-11-18 13:31:01 UTC
+++ src/index.h
@@ -22,7 +22,9 @@
#define _DVBCUT_INDEX_H
#include <stdint.h>
+#ifndef __FreeBSD__
#include <byteswap.h>
+#endif
#include <set>
#include <vector>
#include "types.h"