diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-01-04 05:04:46 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-01-04 05:04:46 +0800 |
commit | 814fa3d0da52c757b091cda56fd98a792d0537c2 (patch) | |
tree | 8c0a6f916a4c4839e8966d652ce7d5181b8c806d /emulators/mupen64plus-video-glide64mk2 | |
parent | d150c5b1727db9dbbbb31c51325227c0cb11cb56 (diff) | |
download | freebsd-ports-gnome-814fa3d0da52c757b091cda56fd98a792d0537c2.tar.gz freebsd-ports-gnome-814fa3d0da52c757b091cda56fd98a792d0537c2.tar.zst freebsd-ports-gnome-814fa3d0da52c757b091cda56fd98a792d0537c2.zip |
emulators/mupen64plus-video-glide64mk2: unbreak with clang 3.9
./../src/Glide64/3dmath.cpp:274:5: error: use of undeclared identifier '__builtin_ia32_storeups'
__builtin_ia32_storeups(r[i], destrow);
^
PR: 212343
Regressed by: https://github.com/llvm-mirror/clang/commit/53a73530fec1
Diffstat (limited to 'emulators/mupen64plus-video-glide64mk2')
-rw-r--r-- | emulators/mupen64plus-video-glide64mk2/Makefile | 2 | ||||
-rw-r--r-- | emulators/mupen64plus-video-glide64mk2/files/patch-source_mupen64plus-video-glide64mk2-src-Glide64_3dmath.cpp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/emulators/mupen64plus-video-glide64mk2/Makefile b/emulators/mupen64plus-video-glide64mk2/Makefile index c4c17e369eb2..1725e4b70089 100644 --- a/emulators/mupen64plus-video-glide64mk2/Makefile +++ b/emulators/mupen64plus-video-glide64mk2/Makefile @@ -1,7 +1,7 @@ # Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> # $FreeBSD$ -PORTREVISION= 4 +PORTREVISION= 5 PKGNAMESUFFIX= -video-glide64mk2 COMMENT= Glide64mk2 video plugin for Mupen64Plus diff --git a/emulators/mupen64plus-video-glide64mk2/files/patch-source_mupen64plus-video-glide64mk2-src-Glide64_3dmath.cpp b/emulators/mupen64plus-video-glide64mk2/files/patch-source_mupen64plus-video-glide64mk2-src-Glide64_3dmath.cpp new file mode 100644 index 000000000000..4f5da06c08c2 --- /dev/null +++ b/emulators/mupen64plus-video-glide64mk2/files/patch-source_mupen64plus-video-glide64mk2-src-Glide64_3dmath.cpp @@ -0,0 +1,11 @@ +--- source/mupen64plus-video-glide64mk2/src/Glide64/3dmath.cpp.orig 2015-04-26 22:42:57 UTC ++++ source/mupen64plus-video-glide64mk2/src/Glide64/3dmath.cpp +@@ -271,7 +271,7 @@ void MulMatricesSSE(float m1[4][4],float + tmp = _mm_shuffle_ps (tmp, tmp, 3 + (3 << 2) + (3 << 4) + (3 << 6)); + destrow += tmp * row3; + +- __builtin_ia32_storeups(r[i], destrow); ++ _mm_storeu_ps(r[i], destrow); + } + #elif !defined(NO_ASM) && !defined(NOSSE) + __asm |