pkgsrc-Bugs archive

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

pkg/58474: devel/libdeflate needs GCC 4.9+



>Number:         58474
>Category:       pkg
>Synopsis:       devel/libdeflate needs GCC 4.9+
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 27 12:20:01 +0000 2024
>Originator:     Phil Krylov
>Release:        pkgsrc-current
>Organization:
krylov.eu
>Environment:
Linux localhost.localdomain 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>Description:
Building devel/libdeflate on CentOS 7 fails with the following output:

gcc versions older than 4.9 are no longer supported

Setting USE_CC_FEATURES=c11 is the equivalent in pkgsrc.
>How-To-Repeat:
bmake -C devel/libdeflate
>Fix:
Index: devel/libdeflate/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libdeflate/Makefile,v
retrieving revision 1.5
diff -p -u -r1.5 Makefile
--- devel/libdeflate/Makefile   5 Apr 2024 10:26:46 -0000       1.5
+++ devel/libdeflate/Makefile   27 Jul 2024 12:18:37 -0000
@@ -12,5 +12,7 @@ LICENSE=      mit
 
 PKGCONFIG_OVERRIDE+=   libdeflate.pc.in
 
+USE_CC_FEATURES=       c11
+
 .include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index