diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-08-27 02:27:00 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-08-27 02:27:00 +0000 |
commit | 7e3e4d166ee15f84ae66ae3ca181471c54bbaadd (patch) | |
tree | 8c1c03bac34f8775e1d69807c5795484f472c99f /emulators/mupen64plus-core/Makefile.common | |
parent | 4d04bdf2ea9ee4c6b890677c14908d008364864b (diff) | |
download | ports-7e3e4d166ee15f84ae66ae3ca181471c54bbaadd.tar.gz ports-7e3e4d166ee15f84ae66ae3ca181471c54bbaadd.zip |
- Fix emulators/mupen64plus-video-glide64 and
emulators/mupen64plus-video-glide64mk2 build
Reported by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=478172
Diffstat (limited to 'emulators/mupen64plus-core/Makefile.common')
-rw-r--r-- | emulators/mupen64plus-core/Makefile.common | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/mupen64plus-core/Makefile.common b/emulators/mupen64plus-core/Makefile.common index 7f419af1fcfc..4bb4c95787a6 100644 --- a/emulators/mupen64plus-core/Makefile.common +++ b/emulators/mupen64plus-core/Makefile.common @@ -32,13 +32,18 @@ post-patch: . if ${PKGNAMESUFFIX} == "-video-glide64mk2" @cd ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/src && \ ${REINPLACE_CMD} -e 's|#include <thread>||g' \ - GlideHQ/TxQuantize.cpp GlideHQ/TxFilter.cpp + GlideHQ/TxQuantize.cpp GlideHQ/TxFilter.cpp && \ + ${REINPLACE_CMD} -e 's|(FxU32)NULL|(uintptr_t)NULL|g' \ + Glide64/Main.cpp . endif . if ${PKGNAMESUFFIX} == "-video-glide64" @cd ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/src && \ ${REINPLACE_CMD} -e 's|__builtin_ia32_loadups|_mm_loadu_ps|g' -e \ 's|__builtin_ia32_storeups|_mm_storeu_ps|g' \ - 3dmath.cpp + 3dmath.cpp && \ + ${REINPLACE_CMD} -e 's|\"G64_VERSION|\" G64_VERSION|g' -e \ + 's|FxU32|uintptr_t|g' \ + Main.cpp . endif pre-install: |