pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/compton
Module Name: pkgsrc
Committed By: youri
Date: Fri Mar 1 17:13:32 UTC 2019
Modified Files:
pkgsrc/x11/compton: distinfo
Added Files:
pkgsrc/x11/compton/patches: patch-src_compiler.h
Log Message:
Add patch.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/compton/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/compton/patches/patch-src_compiler.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/compton/distinfo
diff -u pkgsrc/x11/compton/distinfo:1.4 pkgsrc/x11/compton/distinfo:1.5
--- pkgsrc/x11/compton/distinfo:1.4 Fri Mar 1 17:11:23 2019
+++ pkgsrc/x11/compton/distinfo Fri Mar 1 17:13:32 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2019/03/01 17:11:23 youri Exp $
+$NetBSD: distinfo,v 1.5 2019/03/01 17:13:32 youri Exp $
SHA1 (compton-5.1.tar.gz) = 323904b6305dbf32c1bb7355d75ba4f8f50e9fd1
RMD160 (compton-5.1.tar.gz) = b1d05080aaa7db33d3500620c77ea41377ee2816
SHA512 (compton-5.1.tar.gz) = 61f88019b2b4ef06e5c6a155f913b0b1c0ab7d077be5af14104596cebe0428ba6d0d98399e3c450c494945a1d4727446b2f3631989dc766439112527a9d0a888
Size (compton-5.1.tar.gz) = 199770 bytes
+SHA1 (patch-src_compiler.h) = 7072c1d176ab624241043dd8cedd4690fdc6834d
Added files:
Index: pkgsrc/x11/compton/patches/patch-src_compiler.h
diff -u /dev/null pkgsrc/x11/compton/patches/patch-src_compiler.h:1.1
--- /dev/null Fri Mar 1 17:13:32 2019
+++ pkgsrc/x11/compton/patches/patch-src_compiler.h Fri Mar 1 17:13:32 2019
@@ -0,0 +1,31 @@
+$NetBSD: patch-src_compiler.h,v 1.1 2019/03/01 17:13:32 youri Exp $
+
+Fix build for NetBSD
+
+--- src/compiler.h.orig 2019-02-06 21:29:32.000000000 +0000
++++ src/compiler.h
+@@ -2,7 +2,9 @@
+ // Copyright (c) 2018 Yuxuan Shui <yshuiv7%gmail.com@localhost>
+ #pragma once
+
++#ifndef __NetBSD__
+ #include <stdc-predef.h>
++#endif
+
+ #define auto __auto_type
+ #define likely(x) __builtin_expect(!!(x), 1)
+@@ -82,6 +84,7 @@
+ # define unreachable do {} while(0)
+ #endif
+
++#ifndef __NetBSD__
+ #ifndef __STDC_NO_THREADS__
+ # include <threads.h>
+ #elif __STDC_VERSION__ >= 201112L
+@@ -91,3 +94,6 @@
+ #else
+ # define thread_local _Pragma("GCC error \"No thread local storage support\"") __error__
+ #endif
++#else
++# define thread_local __thread
++#endif
Home |
Main Index |
Thread Index |
Old Index