Import of pkgsrc-2015Q2
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.38 2015/02/28 11:58:53 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.41 2015/04/25 14:20:46 tnn Exp $
|
||||
|
||||
DISTNAME= mame0159s
|
||||
DISTNAME= mame0160s
|
||||
PKGNAME= ${DISTNAME:S/0/-0./:S/s$//}
|
||||
PKGREVISION= 2
|
||||
MASTER_SITES= http://mamedev.org/downloader.php?file=releases/
|
||||
|
||||
COMMENT= Multiple Arcade Machine Emulator
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.33 2015/03/31 16:35:29 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.35 2015/04/21 17:20:39 joerg Exp $
|
||||
|
||||
SHA1 (mame0159s.zip) = 0170b73e45dcaa6c9842948f69c54310bf314934
|
||||
RMD160 (mame0159s.zip) = 9b02aeeebf956c453b2c041c6c40c2952ce3521c
|
||||
Size (mame0159s.zip) = 80801723 bytes
|
||||
SHA1 (mame0160s.zip) = db3d2f10a5c9ef00f629bfd8ab5665874ef581c2
|
||||
RMD160 (mame0160s.zip) = 95a0edb499dc81a690ca13040954c87f586ec673
|
||||
Size (mame0160s.zip) = 80937878 bytes
|
||||
SHA1 (patch-makefile) = 57837dbc8571682e4fd73a2be5771df109c7225f
|
||||
SHA1 (patch-src_osd_sdl_osinline.h) = f710a75a51b603905913f2b282c2fc8b92066466
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
$NetBSD: patch-src_osd_sdl_osinline.h,v 1.1 2015/04/21 17:20:39 joerg Exp $
|
||||
|
||||
--- src/osd/sdl/osinline.h.orig 2015-04-17 15:09:28.000000000 +0000
|
||||
+++ src/osd/sdl/osinline.h
|
||||
@@ -83,6 +83,29 @@ _osd_exchange64(INT64 volatile *ptr, INT
|
||||
|
||||
#endif /* __ppc64__ || __PPC64__ */
|
||||
|
||||
+#elif defined(__arm__)
|
||||
+INLINE void ATTR_FORCE_INLINE
|
||||
+osd_yield_processor(void)
|
||||
+{
|
||||
+}
|
||||
+
|
||||
+INLINE INT32 ATTR_UNUSED ATTR_NONNULL(1) ATTR_FORCE_INLINE
|
||||
+_osd_exchange32(INT32 volatile *ptr, INT32 exchange)
|
||||
+{
|
||||
+ INT32 before;
|
||||
+ do {
|
||||
+ before = *ptr;
|
||||
+ } while (!__sync_bool_compare_and_swap(ptr, before, exchange));
|
||||
+ return before;
|
||||
+}
|
||||
+
|
||||
+INLINE int ATTR_UNUSED ATTR_NONNULL(1) ATTR_FORCE_INLINE
|
||||
+_osd_compare_exchange32(INT32 volatile *ptr, INT32 before, INT32 after)
|
||||
+{
|
||||
+ return __sync_bool_compare_and_swap(ptr, before, after);
|
||||
+}
|
||||
+#define osd_exchange32 _osd_exchange32
|
||||
+#define osd_compare_exchange32 _osd_compare_exchange32
|
||||
#else
|
||||
|
||||
#error "no matching assembler implementations found - please compile with NOASM=1"
|
||||
Reference in New Issue
Block a user