From 574f018d67cbe016c96184f01b56d3ffa4f31ff7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 20 Dec 2022 12:56:40 +0000 Subject: [PATCH] deskutils/xneur: Drop special casing of GCC 4.2 Remove code specifically added for GCC 4.2. USES=compiler:nestedfct does not pull that in any longer. This reverts most of commit 44b3b1b9153cc7accda4276b7992c1c9ed55733e from 2020. Approved by: maintainer --- deskutils/xneur/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deskutils/xneur/Makefile b/deskutils/xneur/Makefile index 8256efcadf33..5778ccb58f16 100644 --- a/deskutils/xneur/Makefile +++ b/deskutils/xneur/Makefile @@ -52,14 +52,8 @@ SOUND_USES= openal:al,alut SOUND_CONFIGURE_ON= --with-sound=openal SOUND_CONFIGURE_OFF= --with-sound=no -.include - -.if ${COMPILER_VERSION} == 42 -CFLAGS+= -fnested-functions -.endif - post-patch: @${REINPLACE_CMD} -e 's,-Werror,,g; s,-ldl,,g' ${WRKSRC}/configure @${MV} ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.sample -.include +.include