FreeBSD Bugzilla – Attachment 235647 Details for
Bug 265586
emulators/darcnes: fix build on recent FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
emulators/darcnes: fix build on recent FreeBSD
0001-emulators-darcnes-fix-build-on-FreeBSD-13.patch (text/plain), 1.22 KB, created by
Robert Clausecker
on 2022-08-03 04:31:08 UTC
(
hide
)
Description:
emulators/darcnes: fix build on recent FreeBSD
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2022-08-03 04:31:08 UTC
Size:
1.22 KB
patch
obsolete
>From 2c56206a0227ae45bf267944ff92d57e7bc96982 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Wed, 3 Aug 2022 06:26:38 +0200 >Subject: [PATCH] emulators/darcnes: fix build on FreeBSD 13+ > >The port requires GNU89 semantics for the inline keyword, >as opposed to the standard C99 semantics. Fix the build >by setting the C standard to GNU89. > >While we are at it, hook up test suite and make it work. >--- > emulators/darcnes/Makefile | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile >index c2c004d87f71..8b9790b99eea 100644 >--- a/emulators/darcnes/Makefile >+++ b/emulators/darcnes/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= darcnes > PORTVERSION= 9b0401 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= emulators > MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/ \ > LOCAL/grembo >@@ -21,7 +21,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME} > > USES= gmake tar:tgz > MAKE_ARGS= CC="${CC}" TARGET_CC="${CC}" CXX="${CXX}" TARGET_CXX="${CXX}" \ >- AS="${AS}" TARGET_AS="${CC}" LD="${LD}" TARGET_LD="${CC}" >+ AS="${AS}" TARGET_AS="${CC}" LD="${CC}" TARGET_LD="${CC}" >+TEST_TARGET= tests >+CFLAGS+= -std=gnu89 > > PLIST_FILES= bin/darcnes > PORTDOCS= readme >-- >2.35.2 >
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
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 265586
: 235647