FreeBSD Bugzilla – Attachment 246058 Details for
Bug 274791
games/moonlight-qt Fix missing openssl error when building on Freebsd 12.4-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build error for 12.4-RELEASE and Update to 5.0.1 for moonlight-qt
0001-games-moonlight-qt-Fix-build-error-for-12.4-RELEASE-AND-Update-to-5.0.1.patch (text/plain), 2.85 KB, created by
Armin Zhu
on 2023-11-02 05:37:34 UTC
(
hide
)
Description:
Fix build error for 12.4-RELEASE and Update to 5.0.1 for moonlight-qt
Filename:
MIME Type:
Creator:
Armin Zhu
Created:
2023-11-02 05:37:34 UTC
Size:
2.85 KB
patch
obsolete
>From 80eaa10cb49ea0328cda068dc3c7003d4375aac2 Mon Sep 17 00:00:00 2001 >From: Armin Zhu <lisp_25689@163.com> >Date: Sun, 29 Oct 2023 21:41:39 +0800 >Subject: [PATCH 1/2] games/moonlight-qt Fix build error for 12.4-RELEASE > >--- > games/moonlight-qt/Makefile | 20 +++++++++++++++++--- > 1 file changed, 17 insertions(+), 3 deletions(-) > >diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile >index 3bc21934a..92090eef0 100644 >--- a/games/moonlight-qt/Makefile >+++ b/games/moonlight-qt/Makefile >@@ -33,13 +33,27 @@ PLIST_FILES= bin/moonlight-qt \ > share/metainfo/com.moonlight_stream.Moonlight.appdata.xml \ > share/icons/hicolor/scalable/apps/moonlight.svg \ > >+.include <bsd.port.pre.mk> >+ >+# fix ssl dependency lack on 12.x releases >+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 >+LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} -lssl -lcrypto >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ >- ${WRKSRC}/app/app.pro > @${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \ > ${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop >+ @${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ >+ ${WRKSRC}/app/app.pro >+ >+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 >+ @${REINPLACE_CMD} -e 's@openssl @@' \ >+ ${WRKSRC}/app/app.pro >+ @${REINPLACE_CMD} -e '/openssl/ d' \ >+ ${WRKSRC}/moonlight-common-c/moonlight-common-c.pro >+.endif > > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >-- >2.42.0 > > >From 3ced2bfd4683e586622ffcea6de4be2e943b95bb Mon Sep 17 00:00:00 2001 >From: Armin Zhu <lisp_25689@163.com> >Date: Thu, 2 Nov 2023 13:32:40 +0800 >Subject: [PATCH 2/2] Update games/moonlight-qt vertion to 5.0.1 > >--- > games/moonlight-qt/Makefile | 2 +- > games/moonlight-qt/distinfo | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile >index 92090eef0..385e56e30 100644 >--- a/games/moonlight-qt/Makefile >+++ b/games/moonlight-qt/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= moonlight >-DISTVERSION= 5.0.0 >+DISTVERSION= 5.0.1 > CATEGORIES= games > MASTER_SITES= https://github.com/moonlight-stream/moonlight-qt/releases/download/v${DISTVERSION}/ > PKGNAMESUFFIX= -qt >diff --git a/games/moonlight-qt/distinfo b/games/moonlight-qt/distinfo >index f7fb7de29..f814d329b 100644 >--- a/games/moonlight-qt/distinfo >+++ b/games/moonlight-qt/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1697634805 >-SHA256 (MoonlightSrc-5.0.0.tar.gz) = bb376640421cd5386a64102cbb9d78f5be87e8f796b78bf517dca2c8c37acfd4 >-SIZE (MoonlightSrc-5.0.0.tar.gz) = 79821343 >+TIMESTAMP = 1698902927 >+SHA256 (MoonlightSrc-5.0.1.tar.gz) = 901f875089fc5b2489cb45b5a33f00649f768555e760bdd5dfbaa8a05caebc98 >+SIZE (MoonlightSrc-5.0.1.tar.gz) = 79820559 >-- >2.42.0 >
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 274791
:
245972
| 246058