pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libatomic_ops
Module Name: pkgsrc
Committed By: maya
Date: Wed Feb 21 23:59:33 UTC 2018
Modified Files:
pkgsrc/devel/libatomic_ops: Makefile distinfo
pkgsrc/devel/libatomic_ops/patches: patch-ad
Log Message:
libatomic-ops: check if AO_AO_TS_T is defined before using it
PR pkg/53046: x11/libdrm doesn't compile on GNU/Linux
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/libatomic_ops/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/libatomic_ops/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libatomic_ops/patches/patch-ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libatomic_ops/Makefile
diff -u pkgsrc/devel/libatomic_ops/Makefile:1.14 pkgsrc/devel/libatomic_ops/Makefile:1.15
--- pkgsrc/devel/libatomic_ops/Makefile:1.14 Mon Jan 1 20:32:55 2018
+++ pkgsrc/devel/libatomic_ops/Makefile Wed Feb 21 23:59:33 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2018/01/01 20:32:55 adam Exp $
+# $NetBSD: Makefile,v 1.15 2018/02/21 23:59:33 maya Exp $
DISTNAME= libatomic_ops-7.6.2
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=ivmai/}
Index: pkgsrc/devel/libatomic_ops/distinfo
diff -u pkgsrc/devel/libatomic_ops/distinfo:1.20 pkgsrc/devel/libatomic_ops/distinfo:1.21
--- pkgsrc/devel/libatomic_ops/distinfo:1.20 Mon Jan 1 20:32:55 2018
+++ pkgsrc/devel/libatomic_ops/distinfo Wed Feb 21 23:59:33 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.20 2018/01/01 20:32:55 adam Exp $
+$NetBSD: distinfo,v 1.21 2018/02/21 23:59:33 maya Exp $
SHA1 (libatomic_ops-7.6.2.tar.gz) = ebed1891250cc8e2c952b88fc07e1db2a213f7e2
RMD160 (libatomic_ops-7.6.2.tar.gz) = 8764acd6d84488bbc79f5239037ccc3d4a59f2e2
SHA512 (libatomic_ops-7.6.2.tar.gz) = 9149c9328ec22ab80469892b40c135f20b6cf6edff63b8de6f16ab0b209f40d1420ad012a40c80009dfb4cdc826feb72fa826d6abf61211516aabcf463c17fe4
Size (libatomic_ops-7.6.2.tar.gz) = 496917 bytes
-SHA1 (patch-ad) = 6fb90f31ca7309c8ea65fb482a9964c5267c35fe
+SHA1 (patch-ad) = b5db1656821058aae2ec81c20ffc4c0740049314
Index: pkgsrc/devel/libatomic_ops/patches/patch-ad
diff -u pkgsrc/devel/libatomic_ops/patches/patch-ad:1.5 pkgsrc/devel/libatomic_ops/patches/patch-ad:1.6
--- pkgsrc/devel/libatomic_ops/patches/patch-ad:1.5 Mon May 29 12:55:10 2017
+++ pkgsrc/devel/libatomic_ops/patches/patch-ad Wed Feb 21 23:59:33 2018
@@ -1,13 +1,15 @@
-$NetBSD: patch-ad,v 1.5 2017/05/29 12:55:10 wiz Exp $
+$NetBSD: patch-ad,v 1.6 2018/02/21 23:59:33 maya Exp $
revision 1.2
date: 2009-01-31 21:05:57 +0100; author: sketch; state: Exp; lines: +2 -2;
Sun Studio x86 implementation isn't quite good enough yet for e.g.
pulseaudio, so instead use the generic pthread implementation for now.
---- src/atomic_ops.h.orig 2013-11-10 09:57:12.000000000 +0000
+Check if AO_AO_TS_T is defined before testing it (PR pkg/53046)
+
+--- src/atomic_ops.h.orig 2017-12-24 08:31:12.000000000 +0000
+++ src/atomic_ops.h
-@@ -351,7 +351,10 @@
+@@ -412,7 +412,10 @@
# endif
#endif
@@ -19,3 +21,12 @@ pulseaudio, so instead use the generic p
&& !defined(AO_USE_PTHREAD_DEFS)
# include "atomic_ops/sysdeps/sunc/sparc.h"
# define AO_CAN_EMUL_CAS
+@@ -433,7 +436,7 @@
+
+ /* The most common way to clear a test-and-set location */
+ /* at the end of a critical section. */
+-#if AO_AO_TS_T && !defined(AO_HAVE_CLEAR)
++#if defined(AO_AO_TS_T) && AO_AO_TS_T && !defined(AO_HAVE_CLEAR)
+ # define AO_CLEAR(addr) AO_store_release((AO_TS_t *)(addr), AO_TS_CLEAR)
+ # define AO_HAVE_CLEAR
+ #endif
Home |
Main Index |
Thread Index |
Old Index