pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/vlc



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jul  2 20:55:21 UTC 2019

Added Files:
        pkgsrc/multimedia/vlc: hacks.mk

Log Message:
vlc: reinstate hacks.mk, I'm not paying enough attention


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.5 pkgsrc/multimedia/vlc/hacks.mk

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

Added files:

Index: pkgsrc/multimedia/vlc/hacks.mk
diff -u /dev/null pkgsrc/multimedia/vlc/hacks.mk:1.5
--- /dev/null   Tue Jul  2 20:55:21 2019
+++ pkgsrc/multimedia/vlc/hacks.mk      Tue Jul  2 20:55:21 2019
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.5 2019/07/02 20:55:21 nia Exp $
+
+.if !defined(VLC_HACKS_MK)
+VLC_HACKS_MK=          # empty
+
+# vlc_atomic.h rightly assumes "uses clang (support for C11)" implies
+# "ships stdatomic.h" but for us this is not yet the case.
+# This hack should be removed when -current has stdatomic.h.
+.if    ${OPSYS} == "NetBSD" &&         \
+       exists(/usr/bin/clang) &&       \
+       !exists(/usr/include/stdatomic.h)
+CPPFLAGS+=             -D__STDC_NO_ATOMICS__
+.endif
+
+.endif



Home | Main Index | Thread Index | Old Index