head 1.3; access; symbols pkgsrc-2020Q1:1.2.0.12 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.14 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.10 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.8 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.6 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.4 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.2 pkgsrc-2018Q3-base:1.2; locks; strict; comment @# @; 1.3 date 2020.05.30.14.50.24; author nia; state dead; branches; next 1.2; commitid opSRglt9Nxqb6haC; 1.2 date 2018.08.08.23.47.49; author nia; state Exp; branches; next 1.1; commitid kv1TYiMVezJHjnNA; 1.1 date 2018.08.08.22.14.20; author nia; state Exp; branches; next ; commitid N4oblvcJINRrMmNA; desc @@ 1.3 log @libretro-picodrive: remove patch that's no longer needed @ text @$NetBSD: patch-Makefile.libretro,v 1.2 2018/08/08 23:47:49 nia Exp $ Don't redefine CC. Picodrive is written in C. Let's link with a C compiler instead of a C++ compiler. --- Makefile.libretro.orig 2018-07-22 20:01:05.000000000 +0000 +++ Makefile.libretro @@@@ -68,9 +68,6 @@@@ ifeq ($(platform), unix) DONT_COMPILE_IN_ZLIB = 1 CFLAGS += -DFAMEC_NO_GOTOS use_sh2drc = 1 -ifneq ($(findstring SunOS,$(shell uname -a)),) - CC=gcc -endif # Portable Linux else ifeq ($(platform), linux-portable) @@@@ -656,7 +653,7 @@@@ else LD = link.exe endif else - LD = $(CXX) + LD = $(CC) endif include Makefile @ 1.2 log @emulators/libretro-picodrive: add a patch to stop the makefile overriding CC. @ text @d1 1 a1 1 $NetBSD: patch-Makefile.libretro,v 1.1 2018/08/08 22:14:20 nia Exp $ @ 1.1 log @emulators/libretro-picodrive: Update to 20180722. According to picodrive's author, the code is unsuitable for big endian platforms. Libretro doesn't provide Picodrive binaries for any of their supported big endian platforms (mostly PowerPC games consoles). Instead, they provide Genesis Plus GX, which I shall add to pkgsrc soon(TM). For now, disable building libretro-picodrive on big endian. No upstream changelog, unfortunately. @ text @d1 3 a3 1 $NetBSD$ d10 11 a20 1 @@@@ -656,7 +656,7 @@@@ else @