FreeBSD Bugzilla – Attachment 235230 Details for
Bug 265185
emulators/libretro-pcsx2: fix i386 build on 13.1-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] fix build of upstream emulators/libretro-pcsx2 on 13.1-RELEASE i386
0001-fix-build-of-upstream-emulators-libretro-pcsx2-on-13.patch (text/plain), 1.64 KB, created by
Timothy Beyer
on 2022-07-13 06:59:24 UTC
(
hide
)
Description:
[PATCH] fix build of upstream emulators/libretro-pcsx2 on 13.1-RELEASE i386
Filename:
MIME Type:
Creator:
Timothy Beyer
Created:
2022-07-13 06:59:24 UTC
Size:
1.64 KB
patch
obsolete
>From f8c918b48b5f1d943ae7d5da6677083aa8684e48 Mon Sep 17 00:00:00 2001 >From: Timothy Beyer <beyert_freebsd@fastmail.net> >Date: Tue, 12 Jul 2022 23:08:48 -0700 >Subject: [PATCH] fix build of upstream emulators/libretro-pcsx2 on > 13.1-RELEASE i386 > >--- > emulators/libretro-pcsx2/Makefile | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >diff --git a/emulators/libretro-pcsx2/Makefile b/emulators/libretro-pcsx2/Makefile >index e0edd23..600eb78 100644 >--- a/emulators/libretro-pcsx2/Makefile >+++ b/emulators/libretro-pcsx2/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= libretro-pcsx2 > PORTVERSION= 0.20201030 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= emulators games > > MAINTAINER= beyert@cs.ucr.edu >@@ -24,12 +24,11 @@ USES= cmake compiler:c++11-lib > .include <bsd.port.pre.mk> > > CPPFLAGS+= -I${LOCALBASE}/include/wx-3.0 >-USE_CXXSTD= c++11 > USE_LDCONFIG= yes > CMAKE_CPP_FLAGS= ${CPPFLAGS} > CMAKE_PREFIX_PATH= ${LOCALBASE}/include/wx-3.0 > CMAKE_C_FLAGS= ${CFLAGS} >-CMAKE_CXX_FLAGS= ${CFLAGS} >+CMAKE_CXX_FLAGS= ${CXXFLAGS} > CMAKE_ARGS+= -DLIBRETRO=yes > CMAKE_ARGS+= -Dgtk_INCLUDE_DIR="${LOCALBASE}/include/gtk-3.0" \ > -DwxWidgets_INCLUDE_DIRS="${LOCALBASE}/include/wx-3.0" >@@ -53,6 +52,7 @@ PLIST_FILES= lib/libretro/pcsx2_libretro.so > > .if ${ARCH} == i386 > LDFLAGS+= -Wl,-z,notext >+CXXFLAGS+= -fPIC > .endif > > post-patch: >@@ -62,7 +62,6 @@ post-patch: > @${REINPLACE_CMD} 's|-D_FILE_OFFSET_BITS=64|-D_FILE_OFFSET_BITS=32|' \ > ${WRKSRC}/3rdparty/wxwidgets3.0/UsewxWidgets.cmake > .endif >-# filename.cpp first to have 2u > @${REINPLACE_CMD} -e 's|\[0u\]|[0]|' -e 's|\[1u\]|[1]|' \ > -e 's|\[2u\]|[2]|' \ > ${WRKSRC}/3rdparty/wxwidgets3.0/include/wx/filename.h \ >-- >2.36.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265185
: 235230