1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/multimedia/vdr-plugin-xineliboutput/files/patch-tools-sys_cap.h
Juergen Lock 60a231f221 - Update to 1.0.90s20111129.1002 .
- Add knob to make textproc/libextractor dependency optional because
  that port is currently marked BROKEN on i386, see:

	http://lists.freebsd.org/pipermail/freebsd-ports/2011-December/071729.html
	Subject: -fstack-protector again (rpm4, BROKEN textproc/libextractor)

Feature safe:	yes
2011-12-10 17:43:26 +00:00

14 lines
262 B
C

--- a/tools/sys_cap.h
+++ b/tools/sys_cap.h
@@ -11,7 +11,9 @@
#ifndef _XINELIBOUTPUT_SYS_CAP_H_
#define _XINELIBOUTPUT_SYS_CAP_H_
-#include "../features.h"
+#ifdef HAVE_LIBCAP
+# include "../features.h"
+#endif
#include <unistd.h>
#include <sys/types.h>