diff options
author | wiz <wiz@pkgsrc.org> | 2019-02-12 14:43:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-02-12 14:43:17 +0000 |
commit | 02e139a9b96ecd3b46e8db2c1c1b73d771e39467 (patch) | |
tree | c0199f8eaa367d5144fb069bd1d841b6d6484bac /net/bwm-ng | |
parent | 7b5a5ec792fb26cf8f46fbd71cf7d9b26616ad09 (diff) | |
download | pkgsrc-02e139a9b96ecd3b46e8db2c1c1b73d771e39467.tar.gz |
bwm-ng: fix build
Make sure init() exists, even though it's inline.
Diffstat (limited to 'net/bwm-ng')
-rw-r--r-- | net/bwm-ng/distinfo | 3 | ||||
-rw-r--r-- | net/bwm-ng/patches/patch-src_bwm-ng.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/bwm-ng/distinfo b/net/bwm-ng/distinfo index ed9f8c25f4f..855ce5efa27 100644 --- a/net/bwm-ng/distinfo +++ b/net/bwm-ng/distinfo @@ -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 --git a/net/bwm-ng/patches/patch-src_bwm-ng.c b/net/bwm-ng/patches/patch-src_bwm-ng.c new file mode 100644 index 00000000000..c4b2fd2f978 --- /dev/null +++ b/net/bwm-ng/patches/patch-src_bwm-ng.c @@ -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__ |