pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bwm-ng bwm-ng: fix build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff237c6abe72
branches:  trunk
changeset: 319376:ff237c6abe72
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 12 14:43:17 2019 +0000

description:
bwm-ng: fix build

Make sure init() exists, even though it's inline.

diffstat:

 net/bwm-ng/distinfo                   |   3 ++-
 net/bwm-ng/patches/patch-src_bwm-ng.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 693dcf7157b4 -r ff237c6abe72 net/bwm-ng/distinfo
--- a/net/bwm-ng/distinfo       Tue Feb 12 14:43:11 2019 +0000
+++ b/net/bwm-ng/distinfo       Tue Feb 12 14:43:17 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2019/01/15 09:28:25 wiz Exp $
+$NetBSD: distinfo,v 1.3 2019/02/12 14:43:17 wiz Exp $
 
 SHA1 (bwm-ng-0.6.1.tar.gz) = 9445885d05e2430ca174739e3aba343afce94076
 RMD160 (bwm-ng-0.6.1.tar.gz) = 9edfb0ef5e7e502bfb23248cf6a32b7e50357e4b
 SHA512 (bwm-ng-0.6.1.tar.gz) = 3f8d4a10f5cbf743d6aee9c6170f334c4274224a2f1886f04338c9a1bf0cf13af5be4aaea0445c9e5b5d361915cc3a93bbfe7c4abf69a0d24e42bc414d8056cd
 Size (bwm-ng-0.6.1.tar.gz) = 162620 bytes
+SHA1 (patch-src_bwm-ng.c) = a9fd7812bb2a9d40b28d244207ca6d4900ddf7d7
 SHA1 (patch-src_help.c) = 4886d8b608d65f8bdf1fa9ba6ab3cbebb53897cc
diff -r 693dcf7157b4 -r ff237c6abe72 net/bwm-ng/patches/patch-src_bwm-ng.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bwm-ng/patches/patch-src_bwm-ng.c     Tue Feb 12 14:43:17 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_bwm-ng.c,v 1.1 2019/02/12 14:43:17 wiz Exp $
+
+Make sure init() exists, even though inline.
+
+--- src/bwm-ng.c.orig  2015-07-23 05:17:29.000000000 +0000
++++ src/bwm-ng.c
+@@ -26,7 +26,7 @@
+ 
+ /* handle interrupt signal */
+ void sigint(int sig) FUNCATTR_NORETURN;
+-inline void init(void);
++static inline void init(void);
+ 
+ /* clear stuff and exit */
+ #ifdef __STDC__



Home | Main Index | Thread Index | Old Index