pkgsrc-Bugs archive

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

pkg/60580: [converters/mpack] Conform to Clang



>Number:         60580
>Category:       pkg
>Synopsis:       [converters/mpack] Conform to Clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 14 05:00:00 +0000 2026
>Originator:     Kogule Ryo
>Release:        trunk@2026-08-13
>Organization:
>Environment:
System: NetBSD netbsd5.home.arpa 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30=
 15:23:12 UTC 2026 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/comp=
ile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Mpack's old code base requires -Wno-implicit-function-declaration option
with newer Clang.
>How-To-Repeat:
>Fix:
Apply attached patch.

------- =_aaaaaaaaaa0
Content-Type: text/x-diff; charset="us-ascii"; name="mpack.patch"
Content-Description: mpack.patch
Content-Disposition: attachment; filename="mpack.patch"

diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile
index 116d31a0a271..ea4cb277f2af 100644
--- a/converters/mpack/Makefile
+++ b/converters/mpack/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.26 2025/03/13 17:52:47 maya Exp $
 
 DISTNAME=	mpack-1.6
-PKGREVISION=	4
+PKGREVISION=	5
 CATEGORIES=	converters mail news
 MASTER_SITES=	# ftp://ftp.andrew.cmu.edu/pub/mpack/
 
@@ -14,6 +14,8 @@ GNU_CONFIGURE=		yes
 .if !empty(PKGSRC_COMPILER:Mgcc)
 CFLAGS+=	-Wno-error=implicit-int
 CFLAGS+=	-Wno-error=implicit-function-declaration
+.elif !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=	-Wno-implicit-function-declaration
 .endif
 
 .include "../../mk/bsd.pkg.mk"

------- =_aaaaaaaaaa0--

>Unformatted:
 ------- =_aaaaaaaaaa0
 Content-Type: text/plain; charset="us-ascii"
 Content-ID: <12208.1786682895.1%enju.home.arpa@localhost>
 Content-Transfer-Encoding: quoted-printable
 



Home | Main Index | Thread Index | Old Index