svn commit: r326336 - in head/emulators/xmame: . files
Baptiste Daroussin
bapt at FreeBSD.org
Wed Sep 4 23:24:56 UTC 2013
Author: bapt
Date: Wed Sep 4 23:24:55 2013
New Revision: 326336
URL: http://svnweb.freebsd.org/changeset/ports/326336
Log:
Fix build with clang
Submitted by: dim
Added:
head/emulators/xmame/files/patch-src-unix-osinline.h (contents, props changed)
Modified:
head/emulators/xmame/Makefile
Modified: head/emulators/xmame/Makefile
==============================================================================
--- head/emulators/xmame/Makefile Wed Sep 4 23:16:09 2013 (r326335)
+++ head/emulators/xmame/Makefile Wed Sep 4 23:24:55 2013 (r326336)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmame
-# Date created: 4 Sep 1999
-# Whom: Donald Burr <dburr at FreeBSD.org>
-#
+# Created by: Donald Burr <dburr at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME?= xmame
PORTVERSION?= 0.106
@@ -24,9 +20,8 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textpro
NO_CDROM= License does not permit selling
USES= perl5 gmake
-USE_GCC= any
USE_BZIP2= yes
-MAKE_ARGS+= CC=${CC} ARCH=freebsd
+MAKE_ARGS+= CC="${CC}" ARCH=freebsd
WANT_SDL= yes
WANT_GNOME= yes
MAKE_JOBS_UNSAFE= yes
Added: head/emulators/xmame/files/patch-src-unix-osinline.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/xmame/files/patch-src-unix-osinline.h Wed Sep 4 23:24:55 2013 (r326336)
@@ -0,0 +1,11 @@
+--- src/unix/osinline.h.orig 2006-05-15 18:47:35.000000000 +0200
++++ src/unix/osinline.h 2013-08-28 11:04:54.000000000 +0200
+@@ -32,7 +32,7 @@ INLINE int _vec_mult(int x, int y)
+ : "=&a" (result) /* the result has to go in eax */
+ : "mr" (x), /* x and y can be regs or mem */
+ "mr" (y)
+- : "%edx", "%cc" /* clobbers edx and flags */
++ : "%edx", "cc" /* clobbers edx and flags */
+ );
+ return result;
+ }
More information about the svn-ports-all
mailing list