pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/dolphin-emu



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jun 28 15:04:36 UTC 2020

Modified Files:
        pkgsrc/emulators/dolphin-emu: Makefile distinfo
        pkgsrc/emulators/dolphin-emu/patches: patch-CMakeLists.txt

Log Message:
dolphin-emu: Build with -std=gnu++14 to get the right alloca definition.

EXTRACT_USING=bsdtar hack is no longer needed.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/emulators/dolphin-emu/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/dolphin-emu/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/dolphin-emu/Makefile
diff -u pkgsrc/emulators/dolphin-emu/Makefile:1.20 pkgsrc/emulators/dolphin-emu/Makefile:1.21
--- pkgsrc/emulators/dolphin-emu/Makefile:1.20  Fri May 22 10:56:05 2020
+++ pkgsrc/emulators/dolphin-emu/Makefile       Sun Jun 28 15:04:36 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2020/05/22 10:56:05 adam Exp $
+# $NetBSD: Makefile,v 1.21 2020/06/28 15:04:36 nia Exp $
 
 DISTNAME=      dolphin-emu-5.0
-PKGREVISION=   14
+PKGREVISION=   15
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=dolphin-emu/}
 GITHUB_PROJECT=        dolphin
@@ -12,10 +12,9 @@ HOMEPAGE=    https://dolphin-emu.org/
 COMMENT=       Nintendo GameCube and Wii emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    msgfmt msgmerge pkg-config
 USE_CMAKE=     yes
-USE_LANGUAGES= c gnu++14
+USE_LANGUAGES= c c++
 
 # std::make_unique
 GCC_REQD+=     4.9

Index: pkgsrc/emulators/dolphin-emu/distinfo
diff -u pkgsrc/emulators/dolphin-emu/distinfo:1.4 pkgsrc/emulators/dolphin-emu/distinfo:1.5
--- pkgsrc/emulators/dolphin-emu/distinfo:1.4   Mon Apr 20 00:34:20 2020
+++ pkgsrc/emulators/dolphin-emu/distinfo       Sun Jun 28 15:04:36 2020
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2020/04/20 00:34:20 joerg Exp $
+$NetBSD: distinfo,v 1.5 2020/06/28 15:04:36 nia Exp $
 
 SHA1 (dolphin-emu-5.0.tar.gz) = 6553f9fe5281326b86f33fb6b99a93fe6a8820af
 RMD160 (dolphin-emu-5.0.tar.gz) = e8c4cb2c903b78c3e21cb12b0724ab0728c1391a
 SHA512 (dolphin-emu-5.0.tar.gz) = 8de76f811abfb82e19502336734e86ba600c11d9fa95bcf7f70a2a525165d07ead826854c39377602aab7856a057af9ba91bff458cf2dd008712527290489d3a
 Size (dolphin-emu-5.0.tar.gz) = 38246344 bytes
-SHA1 (patch-CMakeLists.txt) = 6e0163c4d385f31981a13e4f8527c873820ba6a6
+SHA1 (patch-CMakeLists.txt) = e6f8d72d53ea930306dfb7a879608c3d3ab946aa
 SHA1 (patch-Externals_SFML_include_SFML_Config.hpp) = 75ece2ce86b54b219a80d6ff028ecc80a00454f5
 SHA1 (patch-Source_Core_Common_FileUtil.cpp) = 27b859714e294abbfb3f468928e22b30abfd0099
 SHA1 (patch-Source_Core_Common_MemoryUtil.cpp) = af681a3f43687f7af09c87732a7a2da8e8c58e05

Index: pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt
diff -u pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt:1.2 pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt:1.2       Wed Jan  2 00:30:01 2019
+++ pkgsrc/emulators/dolphin-emu/patches/patch-CMakeLists.txt   Sun Jun 28 15:04:36 2020
@@ -1,9 +1,11 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/01/02 00:30:01 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2020/06/28 15:04:36 nia Exp $
 
 Allow better control over what libraries are detected.
 
 Install data unconditionally.
 
+-std=c++1y can't be used with alloca() - use -std=gnu++14 instead
+
 --- CMakeLists.txt.orig        2016-06-24 08:09:07.000000000 +0000
 +++ CMakeLists.txt
 @@ -15,6 +15,12 @@ option(ENABLE_PCH "Use PCH to speed up c
@@ -153,6 +155,15 @@ Install data unconditionally.
        endif()
  
        if(wxWidgets_FOUND)
+@@ -965,7 +958,7 @@ add_custom_command(TARGET unittests POST
+ ########################################
+ # Start compiling our code
+ #
+-add_definitions(-std=c++1y)
++add_definitions(-std=gnu++14 -fexceptions)
+ 
+ # These aren't actually needed for C11/C++11
+ # but some dependencies require them (LLVM, libav).
 @@ -986,13 +979,8 @@ add_subdirectory(Source)
  ########################################
  # Install shared data files



Home | Main Index | Thread Index | Old Index