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: remove inline to fix clang build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0981d8d92273
branches:  trunk
changeset: 327979:0981d8d92273
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 15 09:28:25 2019 +0000

description:
bwm-ng: remove inline to fix clang build

diffstat:

 net/bwm-ng/distinfo                 |   3 ++-
 net/bwm-ng/patches/patch-src_help.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 6a48cd0c9b3d -r 0981d8d92273 net/bwm-ng/distinfo
--- a/net/bwm-ng/distinfo       Tue Jan 15 09:04:36 2019 +0000
+++ b/net/bwm-ng/distinfo       Tue Jan 15 09:28:25 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/07/20 16:22:41 jperkin Exp $
+$NetBSD: distinfo,v 1.2 2019/01/15 09:28:25 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_help.c) = 4886d8b608d65f8bdf1fa9ba6ab3cbebb53897cc
diff -r 6a48cd0c9b3d -r 0981d8d92273 net/bwm-ng/patches/patch-src_help.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bwm-ng/patches/patch-src_help.c       Tue Jan 15 09:28:25 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_help.c,v 1.1 2019/01/15 09:28:25 wiz Exp $
+
+Remove inline to fix build with clang.
+
+--- src/help.c.orig    2015-07-07 18:50:25.000000000 +0000
++++ src/help.c
+@@ -24,9 +24,9 @@
+ #include "global_vars.h"
+ #include "help.h"
+ 
+-inline void print_help_line(const char *short_c,const char * long_c,const char *descr);
++void print_help_line(const char *short_c,const char * long_c,const char *descr);
+ 
+-inline void print_help_line(const char *short_c,const char * long_c,const char *descr) {
++void print_help_line(const char *short_c,const char * long_c,const char *descr) {
+ #ifdef LONG_OPTIONS
+     printf("  %-23s",long_c);
+ #else



Home | Main Index | Thread Index | Old Index