pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/i2cbd i2cbd: Don't build with -Werror or -g. Fixe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61fbd5f36da7
branches:  trunk
changeset: 442771:61fbd5f36da7
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 30 12:20:53 2020 +0000

description:
i2cbd: Don't build with -Werror or -g. Fixes build with gcc9.

diffstat:

 chat/i2cbd/Makefile         |   4 ++--
 chat/i2cbd/distinfo         |   4 ++--
 chat/i2cbd/patches/patch-ab |  15 ++++++++++++---
 3 files changed, 16 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r e03f1601136a -r 61fbd5f36da7 chat/i2cbd/Makefile
--- a/chat/i2cbd/Makefile       Mon Nov 30 12:08:55 2020 +0000
+++ b/chat/i2cbd/Makefile       Mon Nov 30 12:20:53 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2018/04/15 18:18:42 christos Exp $
+# $NetBSD: Makefile,v 1.37 2020/11/30 12:20:53 nia Exp $
 
 DISTNAME=      i2cbd-2.0_BETA5
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 MASTER_SITES+= http://www.draga.com/~jwise/i2cb/
diff -r e03f1601136a -r 61fbd5f36da7 chat/i2cbd/distinfo
--- a/chat/i2cbd/distinfo       Mon Nov 30 12:08:55 2020 +0000
+++ b/chat/i2cbd/distinfo       Mon Nov 30 12:20:53 2020 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.19 2018/04/14 22:13:16 christos Exp $
+$NetBSD: distinfo,v 1.20 2020/11/30 12:20:53 nia Exp $
 
 SHA1 (i2cbd-2.0_BETA5.tar.gz) = be219c5b6fa2413681214d756dee02c3cd252843
 RMD160 (i2cbd-2.0_BETA5.tar.gz) = d48988fb175857370c2523c86e0e586decbe28ae
 SHA512 (i2cbd-2.0_BETA5.tar.gz) = 8e13e005c46dfbb8a63a1269872270db03a0f1378a0cb14a879a8572583e47893047ebabd2e7391964d94ab9e5a4c89d88a3a5c5727195904fd0f5173b8e51b3
 Size (i2cbd-2.0_BETA5.tar.gz) = 59158 bytes
 SHA1 (patch-aa) = 0cf7ee306f19da66876ec8ebf2022468ded274a8
-SHA1 (patch-ab) = 77627f5771535862530f8a497a16e64bee19075f
+SHA1 (patch-ab) = 44e06ad7364fbd7408c181a4d77353d87c5f67ab
 SHA1 (patch-ac) = ca8e6b7324a22fb9ecabf2374e34febb55196e28
 SHA1 (patch-src_Makefile) = c4fb1672fd18c4ff8701a16ed3a023032c6e1991
 SHA1 (patch-src_access.c) = adea5db5d0a5c25f6ea830909ee7843112751812
diff -r e03f1601136a -r 61fbd5f36da7 chat/i2cbd/patches/patch-ab
--- a/chat/i2cbd/patches/patch-ab       Mon Nov 30 12:08:55 2020 +0000
+++ b/chat/i2cbd/patches/patch-ab       Mon Nov 30 12:20:53 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.5 2017/12/11 07:54:42 spz Exp $
+$NetBSD: patch-ab,v 1.6 2020/11/30 12:20:53 nia Exp $
 
 pkgsrcify
 
@@ -12,12 +12,21 @@
  BINDIR                = ${PREFIX}/sbin
  MANDIR                = ${PREFIX}/man
  MAN8DIR               = ${PREFIX}/man/man8
-@@ -19,8 +18,8 @@ EXTRAWARNS   = -Wshadow -Wpointer-arith -W
+@@ -12,15 +11,15 @@ ETCDIR             = ${PREFIX}/etc/icbd
+ INSTALL               = ../install-sh
+ 
+ WARNS         = -Wall -ansi -pedantic
+-EXTRAWARNS    = -Wshadow -Wpointer-arith -Werror -Wcast-qual -Wcast-align \
++EXTRAWARNS    = -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
+                 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
+                 -Wnested-externs
+ # We really should make it possible to build with -Wwrite-strings, as this _will_
  # affect portability to some platforms.  The others here are irrelevant.
  BADWARNS      = -Wwrite-strings -Wconversion -Waggregate-return -Wredundant-decls
- DEBUG         = -DDEBUG -DVERBOSE -g
+-DEBUG         = -DDEBUG -DVERBOSE -g
 -CFLAGS                = ${WARNS} ${EXTRAWARNS} ${DEBUG}
 -LDFLAGS               =
++#DEBUG                = -DDEBUG -DVERBOSE -g
 +CFLAGS                += ${WARNS} ${EXTRAWARNS} ${DEBUG} -DPREFIX=\"${PREFIX}\" -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\"
 +#LDFLAGS              =
  LIBS          = -lutil



Home | Main Index | Thread Index | Old Index