pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2015Q1]: pkgsrc/devel/rsltc Pullup ticket #4670 - requested by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc1cfebb55d0
branches:  pkgsrc-2015Q1
changeset: 649193:cc1cfebb55d0
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Apr 25 20:08:04 2015 +0000

description:
Pullup ticket #4670 - requested by joerg
devel/rsltc: build fix

Revisions pulled up:
- devel/rsltc/Makefile                                          1.16

---
   Module Name: pkgsrc
   Committed By:        joerg
   Date:                Sat Apr 18 20:40:46 UTC 2015

   Modified Files:
        pkgsrc/devel/rsltc: Makefile

   Log Message:
   Let clang ignore the mixed up return use of the K&R code.

diffstat:

 devel/rsltc/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 5fd4030a3216 -r cc1cfebb55d0 devel/rsltc/Makefile
--- a/devel/rsltc/Makefile      Sat Apr 25 19:28:44 2015 +0000
+++ b/devel/rsltc/Makefile      Sat Apr 25 20:08:04 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/02/17 19:18:00 dholland Exp $
+# $NetBSD: Makefile,v 1.15.18.1 2015/04/25 20:08:04 bsiegert Exp $
 #
 
 DISTNAME=              rsltcsrc
@@ -23,6 +23,11 @@
 
 MAKE_JOBS_SAFE=                no
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=               -Wno-return-type
+.endif
+
 post-extract:
        ${CP} ${FILESDIR}/path.el ${WRKSRC}
 



Home | Main Index | Thread Index | Old Index