pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/picom



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Jan 11 14:47:18 UTC 2020

Added Files:
        pkgsrc/x11/picom: hacks.mk

Log Message:
Fix build on NetBSD 8.1


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/picom/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/x11/picom/hacks.mk
diff -u /dev/null pkgsrc/x11/picom/hacks.mk:1.1
--- /dev/null   Sat Jan 11 14:47:18 2020
+++ pkgsrc/x11/picom/hacks.mk   Sat Jan 11 14:47:18 2020
@@ -0,0 +1,14 @@
+.if !defined(PICOM_HACKS_MK)
+PICOM_HACKS_MK=        defined
+
+### [Sat Jan 11 23:38:59 JST 2020 : pho]
+### The predefined CPP macro __STDC_NO_THREADS__ is expected to be
+### defined by *libc* which doesn't support C11 threads... What? Then
+### what about libc which doesn't even know what C11 threads are?
+###
+.if !empty(MACHINE_PLATFORM:MNetBSD-[0-8].*-*)
+PKG_HACKS+=    c11-no-threads
+CPPFLAGS+=     -D__STDC_NO_THREADS__
+.endif
+
+.endif  # PICOM_HACKS_MK



Home | Main Index | Thread Index | Old Index