pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/unlzx



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep 23 06:07:39 UTC 2026

Modified Files:
        pkgsrc/archivers/unlzx: Makefile

Log Message:
unlzx: fix build with gcc 14. honor LDFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/archivers/unlzx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/unlzx/Makefile
diff -u pkgsrc/archivers/unlzx/Makefile:1.27 pkgsrc/archivers/unlzx/Makefile:1.28
--- pkgsrc/archivers/unlzx/Makefile:1.27        Sat May 31 20:44:02 2025
+++ pkgsrc/archivers/unlzx/Makefile     Wed Sep 23 06:07:39 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2025/05/31 20:44:02 zafer Exp $
+# $NetBSD: Makefile,v 1.28 2026/09/23 06:07:39 wiz Exp $
 
 DISTNAME=      unlzx.c
 PKGNAME=       unlzx-1.1
@@ -13,8 +13,10 @@ WRKSRC=              ${WRKDIR}
 
 INSTALLATION_DIRS=     bin
 
+CFLAGS+=       -Wno-implicit-function-declaration
+
 do-build:
-       cd ${WRKSRC} && ${CC} ${CFLAGS} -o unlzx unlzx.c
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o unlzx unlzx.c
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/unlzx ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index