pkgsrc/ham/fldigi/patches/patch-src_misc_configuration.cxx
mef fea9bf4c07 (Upstream update 3.21.82 to 3.21.83)
=Version 3.21.83=
2014-06-26  Robert Stiles  <kk5vd@yahoo.com>
        10acfb7: Doxygen Inclusion

2014-06-16  David Freese  <w1hkj@w1hkj.com>
        03b141a: ARQ stx handshake
        ba246eb: Virtual ports
        1c38c93: New User Exit Behavior
2014-09-05 07:29:28 +00:00

19 lines
817 B
C++

$NetBSD: patch-src_misc_configuration.cxx,v 1.2 2014/09/05 07:29:28 mef Exp $
For DragonFly build to fix following problem:
misc/configuration.cxx: In member function 'void configuration::testCommPorts()':
misc/configuration.cxx:934:2: error: 'glob_t' was not declared in this scope
misc/configuration.cxx:934:9: error: expected ';' before 'gbuf'
gmake[3]: *** [fldigi-configuration.o] Error 1
--- src/misc/configuration.cxx.orig 2013-04-12 23:24:15.000000000 +0900
+++ src/misc/configuration.cxx 2013-04-18 21:29:15.000000000 +0900
@@ -925,7 +925,7 @@ void configuration::testCommPorts()
#if defined(__WOE32__)
# define TTY_MAX 255
-#elif defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
# define TTY_MAX 4
#else
# define TTY_MAX 8