View | Details | Raw Unified | Return to bug 205097 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME?=	mame
4
PORTNAME?=	mame
5
PORTVERSION=	0.166
5
PORTVERSION=	0.168
6
PORTREVISION?=	0
6
PORTREVISION?=	0
7
CATEGORIES=	emulators
7
CATEGORIES=	emulators
8
8
Lines 26-32 Link Here
26
		src/devices/cpu/m6809/m6809make.py \
26
		src/devices/cpu/m6809/m6809make.py \
27
		src/devices/cpu/mcs96/mcs96make.py \
27
		src/devices/cpu/mcs96/mcs96make.py \
28
		src/devices/cpu/tms57002/tmsmake.py \
28
		src/devices/cpu/tms57002/tmsmake.py \
29
		src/build/*.py
29
		scripts/build/*.py
30
USE_XORG=	x11 xext xi xinerama xrender
30
USE_XORG=	x11 xext xi xinerama xrender
31
USE_GL=		gl
31
USE_GL=		gl
32
USE_SDL=	sdl2 ttf2
32
USE_SDL=	sdl2 ttf2
Lines 84-90 Link Here
84
		${GENIE}/src/host/scripts.c
84
		${GENIE}/src/host/scripts.c
85
	# we can't fix two types of python shebangs, so do these manually
85
	# we can't fix two types of python shebangs, so do these manually
86
	@${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \
86
	@${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \
87
		${WRKSRC}/src/build/png*.py
87
		${WRKSRC}/scripts/build/png*.py
88
	@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
88
	@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
89
		${WRKSRC}/scripts/genie.lua
89
		${WRKSRC}/scripts/genie.lua
90
	@${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \
90
	@${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mamedev-mame-0.166-mame0166_GH0.tar.gz) = 702a2019a05afd7f050db6b38c3aaee4cc46ec2214cecaed3420889a685637f4
1
SHA256 (mamedev-mame-0.168-mame0168_GH0.tar.gz) = 3b6db52ddffed867ae171664e327f0b2bade64139d3450dc7166c4f90b6d94e8
2
SIZE (mamedev-mame-0.166-mame0166_GH0.tar.gz) = 87951133
2
SIZE (mamedev-mame-0.168-mame0168_GH0.tar.gz) = 88471983
(-)files/patch-3rdparty_bx_include_bx_thread.h (-8 / +9 lines)
Lines 1-25 Link Here
1
--- 3rdparty/bx/include/bx/thread.h.orig	2015-09-30 06:29:01 UTC
1
--- 3rdparty/bx/include/bx/thread.h-orig	2015-11-16 13:43:22.686731000 -0500
2
+++ 3rdparty/bx/include/bx/thread.h
2
+++ 3rdparty/bx/include/bx/thread.h	2015-11-16 13:44:10.294191000 -0500
3
@@ -14,6 +14,10 @@ using namespace Windows::Foundation;
3
@@ -14,6 +14,11 @@
4
 using namespace Windows::System::Threading;
4
 using namespace Windows::System::Threading;
5
 #endif
5
 #endif
6
 
6
 
7
+#if BX_PLATFORM_FREEBSD
7
+#if BX_PLATFORM_FREEBSD
8
+#	include <pthread_np.h>
8
+#       include <pthread_np.h>
9
+#endif
9
+#endif
10
+
10
+
11
+
11
 #include "sem.h"
12
 #include "sem.h"
12
 
13
 
13
 #if BX_CONFIG_SUPPORTS_THREADING
14
 #if BX_CONFIG_SUPPORTS_THREADING
14
@@ -149,8 +153,10 @@ namespace bx
15
@@ -149,8 +154,10 @@
15
 		{
16
 		{
16
 #if BX_PLATFORM_OSX || BX_PLATFORM_IOS
17
 #if BX_PLATFORM_OSX || BX_PLATFORM_IOS
17
 			pthread_setname_np(_name);
18
 			pthread_setname_np(_name);
18
-#elif BX_PLATFORM_LINUX || BX_PLATFORM_FREEBSD
19
-#elif (BX_PLATFORM_LINUX && defined(__GLIBC__)) || BX_PLATFORM_FREEBSD
19
+#elif BX_PLATFORM_LINUX
20
+#elif (BX_PLATFORM_LINUX && defined(__GLIBC__))
20
 			pthread_setname_np(m_handle, _name);
21
 			pthread_setname_np(m_handle, _name);
21
+#elif BX_PLATFORM_FREEBSD
22
+#elif BX_PLATFORM_FREEBSD
22
+			pthread_set_name_np(m_handle, _name);
23
+                        pthread_set_name_np(m_handle, _name);
23
 #elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
24
 #elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
24
 #	pragma pack(push, 8)
25
 #	pragma pack(push, 8)
25
 			struct ThreadName
26
 			struct ThreadName

Return to bug 205097