parent
6af2748f03
commit
c7f36b7fa5
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: CHANGES-2023,v 1.6822 2023/11/10 14:35:11 wiz Exp $
|
||||
$NetBSD: CHANGES-2023,v 1.6823 2023/11/10 14:41:43 wiz Exp $
|
||||
|
||||
Changes to the packages collection and infrastructure in 2023:
|
||||
|
||||
|
@ -9861,3 +9861,4 @@ Changes to the packages collection and infrastructure in 2023:
|
|||
Removed net/dc_gui2 [wiz 2023-11-10]
|
||||
Removed net/dctc [wiz 2023-11-10]
|
||||
Removed multimedia/gmencoder [wiz 2023-11-10]
|
||||
Removed ham/gmfsk [wiz 2023-11-10]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.52 2022/05/15 08:29:50 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.53 2023/11/10 14:41:44 wiz Exp $
|
||||
#
|
||||
|
||||
COMMENT= Wireless communication tools and applications
|
||||
|
@ -12,7 +12,6 @@ SUBDIR+= fl_logbook
|
|||
SUBDIR+= fldigi
|
||||
SUBDIR+= flxmlrpc
|
||||
SUBDIR+= freedv
|
||||
SUBDIR+= gmfsk
|
||||
SUBDIR+= gnuradio-channels
|
||||
SUBDIR+= gnuradio-companion
|
||||
SUBDIR+= gnuradio-core
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
gMFSK is a multimode HF terminal program for Linux and other unix-like
|
||||
operating systems. Despite the name, gMFSK can send and receive many digital
|
||||
conversational modes typically used by radio amateurs on HF. Supported
|
||||
modes are:
|
||||
|
||||
* MFSK (MFSK16 and MFSK8)
|
||||
* RTTY
|
||||
* THROB (1, 2 and 4 throbs/sec)
|
||||
* PSK31 (BPSK and QPSK)
|
||||
* PSK63
|
||||
* MT63
|
||||
* Feldhell
|
|
@ -1,29 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.91 2023/11/08 13:19:42 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gmfsk-0.6
|
||||
PKGREVISION= 74
|
||||
CATEGORIES= ham
|
||||
MASTER_SITES= http://gmfsk.connect.fi/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://gmfsk.connect.fi/
|
||||
COMMENT= Multimode HF terminal program
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
USE_TOOLS+= gmake pkg-config
|
||||
GNU_CONFIGURE= yes
|
||||
GCONF_SCHEMAS+= gmfsk.schemas
|
||||
|
||||
CONFIGURE_ARGS+= --enable-hamlib
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
LDFLAGS+= ${LIBOSSAUDIO}
|
||||
|
||||
.include "../../devel/GConf/schemas.mk"
|
||||
.include "../../devel/libgnomeui/buildlink3.mk"
|
||||
.include "../../math/fftw2/buildlink3.mk"
|
||||
.include "../../ham/hamlib/buildlink3.mk"
|
||||
.include "../../mk/omf-scrollkeeper.mk"
|
||||
.include "../../mk/oss.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -1,17 +0,0 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:00:33 joerg Exp $
|
||||
bin/gmfsk
|
||||
share/gconf/schemas/gmfsk.schemas
|
||||
share/gnome/help/gmfsk/C/fdl-appendix.xml
|
||||
share/gnome/help/gmfsk/C/figures/gmfsk_start_window.png
|
||||
share/gnome/help/gmfsk/C/figures/note.png
|
||||
share/gnome/help/gmfsk/C/figures/tip.png
|
||||
share/gnome/help/gmfsk/C/figures/warning.png
|
||||
share/gnome/help/gmfsk/C/gmfsk.xml
|
||||
share/gnome/help/gmfsk/C/legal.xml
|
||||
share/omf/gmfsk/gmfsk-C.omf
|
||||
share/pixmaps/gmfsk/gnome-screenshot.png
|
||||
share/pixmaps/gmfsk/mfsk.png
|
||||
share/pixmaps/gmfsk/pause.xpm
|
||||
share/pixmaps/gmfsk/rx.xpm
|
||||
share/pixmaps/gmfsk/tune.xpm
|
||||
share/pixmaps/gmfsk/tx.xpm
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.10 2022/01/27 04:19:18 mef Exp $
|
||||
|
||||
BLAKE2s (gmfsk-0.6.tar.gz) = d4b9fdb79d9f4e822d792d1de9da681db19accc29ab0ebd6ba0354ed7689bb26
|
||||
SHA512 (gmfsk-0.6.tar.gz) = e4312832ffd463673210fb05bd3c686e72621ac3e3318c6dac27ff23d810bbfb17d50f76cf5c7313fc40d02a89eb502b9290f4dd69f140306eaff6c1fe6fe6ea
|
||||
Size (gmfsk-0.6.tar.gz) = 540765 bytes
|
||||
SHA1 (patch-aa) = 1a919f2ea16f9ed23d490e8f4654dabb19295882
|
||||
SHA1 (patch-ab) = a40132dddf93e88b166a4d9a5428e1e15dee3ccd
|
||||
SHA1 (patch-ac) = a936811e68d84ddb286f568519006521c4c5be89
|
||||
SHA1 (patch-ad) = dbdb75d3c1d617ead1903d6645dd83c930a37a7b
|
||||
SHA1 (patch-ae) = 57048286392c811170f8519078e95fa89c06f3ee
|
||||
SHA1 (patch-af) = 5edcf28f17b4255d67d9df103eb70980e7f3e397
|
||||
SHA1 (patch-src_hamlib.c) = 91d98d20c8482f13d7aafc278545de890fda3235
|
||||
SHA1 (patch-src_misc_cmplx.h) = b429594c6eb4d2821030fbea2ab1546aa9a01173
|
||||
SHA1 (patch-src_misc_filter-i386.h) = 71c7e1092fc9b4680d2c89c0ecdf4d8933abaf14
|
||||
SHA1 (patch-src_misc_filter.h) = 54acabd541e68e8363a5169f631a1966f8c850ba
|
|
@ -1,146 +0,0 @@
|
|||
$NetBSD: patch-aa,v 1.2 2012/12/24 21:13:28 joerg Exp $
|
||||
|
||||
--- src/misc/misc.h.orig 2004-04-13 12:45:19.000000000 +0000
|
||||
+++ src/misc/misc.h
|
||||
@@ -32,7 +32,7 @@
|
||||
/*
|
||||
* Hamming weight (number of bits that are ones).
|
||||
*/
|
||||
-extern inline unsigned int hweight32(unsigned int w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned int hweight32(unsigned int w)
|
||||
{
|
||||
w = (w & 0x55555555) + ((w >> 1) & 0x55555555);
|
||||
w = (w & 0x33333333) + ((w >> 2) & 0x33333333);
|
||||
@@ -42,7 +42,7 @@ extern inline unsigned int hweight32(uns
|
||||
return w;
|
||||
}
|
||||
|
||||
-extern inline unsigned int hweight16(unsigned short w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned int hweight16(unsigned short w)
|
||||
{
|
||||
w = (w & 0x5555) + ((w >> 1) & 0x5555);
|
||||
w = (w & 0x3333) + ((w >> 2) & 0x3333);
|
||||
@@ -51,7 +51,7 @@ extern inline unsigned int hweight16(uns
|
||||
return w;
|
||||
}
|
||||
|
||||
-extern inline unsigned int hweight8(unsigned char w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned int hweight8(unsigned char w)
|
||||
{
|
||||
w = (w & 0x55) + ((w >> 1) & 0x55);
|
||||
w = (w & 0x33) + ((w >> 2) & 0x33);
|
||||
@@ -64,7 +64,7 @@ extern inline unsigned int hweight8(unsi
|
||||
/*
|
||||
* Parity function. Return one if `w' has odd number of ones, zero otherwise.
|
||||
*/
|
||||
-extern inline int parity(unsigned int w)
|
||||
+__attribute__((gnu_inline)) extern inline int parity(unsigned int w)
|
||||
{
|
||||
return hweight32(w) & 1;
|
||||
}
|
||||
@@ -74,7 +74,7 @@ extern inline int parity(unsigned int w)
|
||||
/*
|
||||
* Reverse order of bits.
|
||||
*/
|
||||
-extern inline unsigned int rbits32(unsigned int w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned int rbits32(unsigned int w)
|
||||
{
|
||||
w = ((w >> 1) & 0x55555555) | ((w << 1) & 0xAAAAAAAA);
|
||||
w = ((w >> 2) & 0x33333333) | ((w << 2) & 0xCCCCCCCC);
|
||||
@@ -84,7 +84,7 @@ extern inline unsigned int rbits32(unsig
|
||||
return w;
|
||||
}
|
||||
|
||||
-extern inline unsigned short rbits16(unsigned short w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned short rbits16(unsigned short w)
|
||||
{
|
||||
w = ((w >> 1) & 0x5555) | ((w << 1) & 0xAAAA);
|
||||
w = ((w >> 2) & 0x3333) | ((w << 2) & 0xCCCC);
|
||||
@@ -93,7 +93,7 @@ extern inline unsigned short rbits16(uns
|
||||
return w;
|
||||
}
|
||||
|
||||
-extern inline unsigned char rbits8(unsigned char w)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned char rbits8(unsigned char w)
|
||||
{
|
||||
w = ((w >> 1) & 0x55) | ((w << 1) & 0xFF);
|
||||
w = ((w >> 2) & 0x33) | ((w << 2) & 0xCC);
|
||||
@@ -104,28 +104,9 @@ extern inline unsigned char rbits8(unsig
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
- * Integer base-2 logarithm
|
||||
- */
|
||||
-extern inline int log2(unsigned int x)
|
||||
-{
|
||||
- int y = 0;
|
||||
-
|
||||
- x >>= 1;
|
||||
-
|
||||
- while (x) {
|
||||
- x >>= 1;
|
||||
- y++;
|
||||
- }
|
||||
-
|
||||
- return y;
|
||||
-}
|
||||
-
|
||||
-/* ---------------------------------------------------------------------- */
|
||||
-
|
||||
-/*
|
||||
* Gray encoding and decoding (8 bit)
|
||||
*/
|
||||
-extern inline unsigned char grayencode(unsigned char data)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned char grayencode(unsigned char data)
|
||||
{
|
||||
unsigned char bits = data;
|
||||
|
||||
@@ -140,7 +121,7 @@ extern inline unsigned char grayencode(u
|
||||
return bits;
|
||||
}
|
||||
|
||||
-extern inline unsigned char graydecode(unsigned char data)
|
||||
+__attribute__((gnu_inline)) extern inline unsigned char graydecode(unsigned char data)
|
||||
{
|
||||
return data ^ (data >> 1);
|
||||
}
|
||||
@@ -150,7 +131,7 @@ extern inline unsigned char graydecode(u
|
||||
/*
|
||||
* Hamming window function
|
||||
*/
|
||||
-extern inline double hamming(double x)
|
||||
+__attribute__((gnu_inline)) extern inline double hamming(double x)
|
||||
{
|
||||
return 0.54 - 0.46 * cos(2 * M_PI * x);
|
||||
}
|
||||
@@ -160,26 +141,26 @@ extern inline double hamming(double x)
|
||||
/*
|
||||
* Sinc etc...
|
||||
*/
|
||||
-extern inline double sinc(double x)
|
||||
+__attribute__((gnu_inline)) extern inline double sinc(double x)
|
||||
{
|
||||
return (fabs(x) < 1e-10) ? 1.0 : (sin(M_PI * x) / (M_PI * x));
|
||||
}
|
||||
|
||||
-extern inline double cosc(double x)
|
||||
+__attribute__((gnu_inline)) extern inline double cosc(double x)
|
||||
{
|
||||
return (fabs(x) < 1e-10) ? 0.0 : ((1.0 - cos(M_PI * x)) / (M_PI * x));
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
-extern inline float clamp(float x, float min, float max)
|
||||
+__attribute__((gnu_inline)) extern inline float clamp(float x, float min, float max)
|
||||
{
|
||||
return (x < min) ? min : ((x > max) ? max : x);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
-extern inline float decayavg(float average, float input, float weight)
|
||||
+__attribute__((gnu_inline)) extern inline float decayavg(float average, float input, float weight)
|
||||
{
|
||||
return input * (1.0 / weight) + average * (1.0 - (1.0 / weight));
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
$NetBSD: patch-ab,v 1.1 2006/04/26 01:52:18 wulf Exp $
|
||||
|
||||
--- src/misc/misc.c.orig 2006-04-26 10:31:03.000000000 +0930
|
||||
+++ src/misc/misc.c 2006-04-26 10:31:31.000000000 +0930
|
||||
@@ -102,23 +102,6 @@
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
-/*
|
||||
- * Integer base-2 logarithm
|
||||
- */
|
||||
-int log2(unsigned int x)
|
||||
-{
|
||||
- int y = 0;
|
||||
-
|
||||
- x >>= 1;
|
||||
-
|
||||
- while (x) {
|
||||
- x >>= 1;
|
||||
- y++;
|
||||
- }
|
||||
-
|
||||
- return y;
|
||||
-}
|
||||
-
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
/*
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-ac,v 1.1 2006/04/26 01:52:18 wulf Exp $
|
||||
|
||||
--- src/macro.c.orig 2006-04-26 10:38:46.000000000 +0930
|
||||
+++ src/macro.c 2006-04-26 10:39:00.000000000 +0930
|
||||
@@ -287,7 +287,7 @@
|
||||
p++;
|
||||
break;
|
||||
default:
|
||||
- for (p = *ptr; *p && isalnum(*p); p++)
|
||||
+ for (p = *ptr; *p && isalnum((u_char) *p); p++)
|
||||
;
|
||||
break;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
$NetBSD: patch-ad,v 1.1 2006/04/26 01:52:18 wulf Exp $
|
||||
|
||||
--- src/picture.c.orig 2006-04-26 10:39:13.000000000 +0930
|
||||
+++ src/picture.c 2006-04-26 10:39:36.000000000 +0930
|
||||
@@ -48,13 +48,13 @@
|
||||
|
||||
p += 4;
|
||||
|
||||
- while (isdigit(*p))
|
||||
+ while (isdigit((u_char) *p))
|
||||
*w = (*w * 10) + (*p++ - '0');
|
||||
|
||||
if (*p++ != 'x')
|
||||
return FALSE;
|
||||
|
||||
- while (isdigit(*p))
|
||||
+ while (isdigit((u_char) *p))
|
||||
*h = (*h * 10) + (*p++ - '0');
|
||||
|
||||
if (*p == 'C') {
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-ae,v 1.1 2006/04/28 17:44:53 joerg Exp $
|
||||
|
||||
--- configure.orig 2006-04-28 17:04:02.000000000 +0000
|
||||
+++ configure
|
||||
@@ -6044,7 +6044,7 @@ fi
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||
if test "$ac_cv_search_fftw_create_plan" = no; then
|
||||
for ac_lib in dfftw fftw; do
|
||||
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
+ LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
|
@ -1,23 +0,0 @@
|
|||
$NetBSD: patch-af,v 1.1 2006/12/28 11:52:31 wulf Exp $
|
||||
|
||||
--- src/mt63/dsp.h.orig 2004-07-09 02:51:26.000000000 +0930
|
||||
+++ src/mt63/dsp.h 2006-12-28 21:19:05.000000000 +1030
|
||||
@@ -555,15 +555,15 @@
|
||||
inline void LowPass2(typeInp Inp, LowPass2elem &Elem,
|
||||
typeW W1, typeW W2, typeW W5)
|
||||
{ double Sum, Diff;
|
||||
- Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; }
|
||||
+ Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; }
|
||||
|
||||
template <class typeInp>
|
||||
inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight)
|
||||
{ double Sum, Diff;
|
||||
Sum=Elem.Mid+Elem.Out;
|
||||
Diff=Elem.Mid-Elem.Out;
|
||||
- Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum;
|
||||
- Out+=Weight.W5*Diff; }
|
||||
+ Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum;
|
||||
+ Elem.Out+=Weight.W5*Diff; }
|
||||
|
||||
/*
|
||||
inline void LowPass2(float Inp, double &Mid, double &Out,
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-src_hamlib.c,v 1.1 2022/01/27 04:19:18 mef Exp $
|
||||
|
||||
hamlib.c:325:45: error: 'FILPATHLEN' undeclared
|
||||
|
||||
--- src/hamlib.c.orig 2004-04-16 22:30:12.000000000 +0900
|
||||
+++ src/hamlib.c 2022-01-27 13:15:02.849148846 +0900
|
||||
@@ -322,8 +322,8 @@ void hamlib_init(void)
|
||||
}
|
||||
g_free(conf);
|
||||
|
||||
- strncpy(rig->state.rigport.pathname, port, FILPATHLEN);
|
||||
- rig->state.rigport.pathname[FILPATHLEN - 1] = 0;
|
||||
+ strncpy(rig->state.rigport.pathname, port, HAMLIB_FILPATHLEN);
|
||||
+ rig->state.rigport.pathname[HAMLIB_FILPATHLEN - 1] = 0;
|
||||
|
||||
if (rig->caps->port_type == RIG_PORT_SERIAL)
|
||||
rig->state.rigport.parm.serial.rate = speed;
|
|
@ -1,103 +0,0 @@
|
|||
$NetBSD: patch-src_misc_cmplx.h,v 1.1 2012/12/24 21:13:28 joerg Exp $
|
||||
|
||||
--- src/misc/cmplx.h.orig 2012-12-23 17:55:27.000000000 +0000
|
||||
+++ src/misc/cmplx.h
|
||||
@@ -43,7 +43,7 @@ typedef fftw_complex complex;
|
||||
/*
|
||||
* Complex multiplication.
|
||||
*/
|
||||
-extern __inline__ complex cmul(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex cmul(complex x, complex y)
|
||||
{
|
||||
complex z;
|
||||
|
||||
@@ -56,7 +56,7 @@ extern __inline__ complex cmul(complex x
|
||||
/*
|
||||
* Complex addition.
|
||||
*/
|
||||
-extern __inline__ complex cadd(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex cadd(complex x, complex y)
|
||||
{
|
||||
complex z;
|
||||
|
||||
@@ -69,7 +69,7 @@ extern __inline__ complex cadd(complex x
|
||||
/*
|
||||
* Complex subtraction.
|
||||
*/
|
||||
-extern __inline__ complex csub(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex csub(complex x, complex y)
|
||||
{
|
||||
complex z;
|
||||
|
||||
@@ -82,7 +82,7 @@ extern __inline__ complex csub(complex x
|
||||
/*
|
||||
* Complex multiply-accumulate.
|
||||
*/
|
||||
-extern __inline__ complex cmac(complex *a, complex *b, int ptr, int len)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex cmac(complex *a, complex *b, int ptr, int len)
|
||||
{
|
||||
complex z;
|
||||
int i;
|
||||
@@ -104,7 +104,7 @@ extern __inline__ complex cmac(complex *
|
||||
* Complex ... yeah, what??? Returns a complex number that has the
|
||||
* properties: |z| = |x| * |y| and arg(z) = arg(y) - arg(x)
|
||||
*/
|
||||
-extern __inline__ complex ccor(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex ccor(complex x, complex y)
|
||||
{
|
||||
complex z;
|
||||
|
||||
@@ -117,7 +117,7 @@ extern __inline__ complex ccor(complex x
|
||||
/*
|
||||
* Real part of the complex ???
|
||||
*/
|
||||
-extern __inline__ double ccorI(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ double ccorI(complex x, complex y)
|
||||
{
|
||||
return c_re(x) * c_re(y) + c_im(x) * c_im(y);
|
||||
}
|
||||
@@ -125,7 +125,7 @@ extern __inline__ double ccorI(complex x
|
||||
/*
|
||||
* Imaginary part of the complex ???
|
||||
*/
|
||||
-extern __inline__ double ccorQ(complex x, complex y)
|
||||
+__attribute__((gnu_inline)) extern __inline__ double ccorQ(complex x, complex y)
|
||||
{
|
||||
return c_re(x) * c_im(y) - c_im(x) * c_re(y);
|
||||
}
|
||||
@@ -133,7 +133,7 @@ extern __inline__ double ccorQ(complex x
|
||||
/*
|
||||
* Modulo (absolute value) of a complex number.
|
||||
*/
|
||||
-extern __inline__ double cmod(complex x)
|
||||
+__attribute__((gnu_inline)) extern __inline__ double cmod(complex x)
|
||||
{
|
||||
return sqrt(c_re(x) * c_re(x) + c_im(x) * c_im(x));
|
||||
}
|
||||
@@ -141,7 +141,7 @@ extern __inline__ double cmod(complex x)
|
||||
/*
|
||||
* Square of the absolute value (power).
|
||||
*/
|
||||
-extern __inline__ double cpwr(complex x)
|
||||
+__attribute__((gnu_inline)) extern __inline__ double cpwr(complex x)
|
||||
{
|
||||
return (c_re(x) * c_re(x) + c_im(x) * c_im(x));
|
||||
}
|
||||
@@ -149,7 +149,7 @@ extern __inline__ double cpwr(complex x)
|
||||
/*
|
||||
* Argument of a complex number.
|
||||
*/
|
||||
-extern __inline__ double carg(complex x)
|
||||
+__attribute__((gnu_inline)) extern __inline__ double carg(complex x)
|
||||
{
|
||||
return atan2(c_im(x), c_re(x));
|
||||
}
|
||||
@@ -157,7 +157,7 @@ extern __inline__ double carg(complex x)
|
||||
/*
|
||||
* Complex square root.
|
||||
*/
|
||||
-extern __inline__ complex csqrt(complex x)
|
||||
+__attribute__((gnu_inline)) extern __inline__ complex csqrt(complex x)
|
||||
{
|
||||
complex z;
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
$NetBSD: patch-src_misc_filter-i386.h,v 1.1 2012/12/24 21:13:28 joerg Exp $
|
||||
|
||||
--- src/misc/filter-i386.h.orig 2012-12-23 17:57:26.000000000 +0000
|
||||
+++ src/misc/filter-i386.h
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
-extern inline float __mac_g(const float *a, const float *b, unsigned int size)
|
||||
+__attribute__((gnu_inline)) extern inline float __mac_g(const float *a, const float *b, unsigned int size)
|
||||
{
|
||||
float sum = 0;
|
||||
unsigned int i;
|
||||
@@ -42,7 +42,7 @@ extern inline float __mac_g(const float
|
||||
return sum;
|
||||
}
|
||||
|
||||
-extern inline float __mac_c(const float *a, const float *b, unsigned int size)
|
||||
+__attribute__((gnu_inline)) extern inline float __mac_c(const float *a, const float *b, unsigned int size)
|
||||
{
|
||||
float f;
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-src_misc_filter.h,v 1.1 2012/12/24 21:13:28 joerg Exp $
|
||||
|
||||
--- src/misc/filter.h.orig 2012-12-23 17:57:04.000000000 +0000
|
||||
+++ src/misc/filter.h
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
|
||||
#ifndef __HAVE_ARCH_MAC
|
||||
-extern __inline__ float mac(const float *a, const float *b, unsigned int size)
|
||||
+__attribute__((gnu_inline)) extern __inline__ float mac(const float *a, const float *b, unsigned int size)
|
||||
{
|
||||
float sum = 0;
|
||||
unsigned int i;
|
Loading…
Reference in New Issue