From dc6c3b758617609f5636086e6e48774106b03185 Mon Sep 17 00:00:00 2001
From: William Grzybowski <wg@FreeBSD.org>
Date: Tue, 18 Jun 2013 16:46:51 +0000
Subject: x11/lxpanel: fix build with clang

- Fix build with clang, -Wno-return-type, gnu89
- Take maintainership

Reported by:	Kenta Suzumoto <kentas@hush.com>
Approved by:	culot / jpaetzel (mentors, implicit)
---
 x11/lxpanel/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'x11')

diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile
index bab4471de3f8..e6d96e97e04d 100644
--- a/x11/lxpanel/Makefile
+++ b/x11/lxpanel/Makefile
@@ -6,7 +6,7 @@ PORTVERSION=	0.5.12
 CATEGORIES=	x11
 MASTER_SITES=	SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	wg@FreeBSD.org
 COMMENT=	Lightweight X11 desktop panel
 
 LIB_DEPENDS=	menu-cache.1:${PORTSDIR}/x11/menu-cache
@@ -24,7 +24,8 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--with-plugins=volume,deskno,kbled,xkb,batt\
 		CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CFLAGS+=	-I${WRKSRC}
+CFLAGS+=	-I${WRKSRC} -Wno-return-type
+USE_CSTD=	gnu89
 USE_GMAKE=	yes
 
 MAN1=		lxpanel.1 lxpanelctl.1
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0