pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/rtl-sdr fix inline calls in src/rtl_adsb.c and src...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ffba8185a27
branches:  trunk
changeset: 374381:2ffba8185a27
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Mon Jan 22 04:42:44 2018 +0000

description:
fix inline calls in src/rtl_adsb.c and src/rtl_power.c

diffstat:

 ham/rtl-sdr/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 7634d4fa4ca8 -r 2ffba8185a27 ham/rtl-sdr/Makefile
--- a/ham/rtl-sdr/Makefile      Mon Jan 22 04:40:07 2018 +0000
+++ b/ham/rtl-sdr/Makefile      Mon Jan 22 04:42:44 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2016/09/17 22:13:26 wiedi Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/22 04:42:44 dbj Exp $
 
 DISTNAME=              rtl-sdr-0.5.3
 PKGREVISION=           2
@@ -20,6 +20,12 @@
 BUILD_DIRS=${CONFIGURE_DIRS}
 CMAKE_ARG_PATH=..
 
+SUBST_CLASSES+=                        fix-inline
+SUBST_STAGE.fix-inline=                pre-configure
+SUBST_MESSAGE.fix-inline=      Fixing inline calls
+SUBST_FILES.fix-inline=                src/rtl_adsb.c src/rtl_power.c
+SUBST_SED.fix-inline=          -e 's,inline,static inline,g'
+
 PKGCONFIG_OVERRIDE+=     librtlsdr.pc.in
 
 LDFLAGS.SunOS+=                -lsocket -lnsl



Home | Main Index | Thread Index | Old Index