mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-03 21:53:52 +02:00
fldigi: fix build, distfile, adopt
This commit is contained in:
parent
23892b31e3
commit
f12967c027
2 changed files with 26 additions and 2 deletions
23
srcpkgs/fldigi/patches/nullptr-def.patch
Normal file
23
srcpkgs/fldigi/patches/nullptr-def.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
from https://gitweb.gentoo.org/repo/gentoo.git/tree/media-radio/fldigi/files/fldigi-drop-nullptr-definition.patch
|
||||
|
||||
diff --git a/src/logbook/table.cxx b/src/logbook/table.cxx
|
||||
index 6deee6d..8011d02 100644
|
||||
--- a/src/logbook/table.cxx
|
||||
+++ b/src/logbook/table.cxx
|
||||
@@ -40,16 +40,6 @@
|
||||
#define DAMAGE_HEADER FL_DAMAGE_ALL
|
||||
#define DAMAGE_ROWS FL_DAMAGE_ALL
|
||||
|
||||
-/*
|
||||
- * nullptr is not available in gcc < 4.6
|
||||
- * Redefine to NULL for CentOS 6 and OSX Darwin
|
||||
- */
|
||||
-#ifndef __FreeBSD__
|
||||
- #ifndef nullptr
|
||||
- #define nullptr NULL
|
||||
- #endif
|
||||
-#endif
|
||||
-
|
||||
|
||||
/*
|
||||
* ======================================
|
|
@ -7,8 +7,9 @@ hostmakedepends="pkg-config"
|
|||
makedepends="fltk-devel libsamplerate-devel portaudio-devel pulseaudio-devel
|
||||
hamlib-devel libusb-devel"
|
||||
short_desc="Ham radio digital modem for CW, PSK, MFSK, RTTY, and others"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="classabbyamp <void@placeviolette.net>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="http://www.w1hkj.com"
|
||||
distfiles="http://www.w1hkj.com/files/fldigi/fldigi-${version}.tar.gz"
|
||||
# distfiles="http://www.w1hkj.com/files/fldigi/fldigi-${version}.tar.gz"
|
||||
distfiles="https://sources.voidlinux.org/fldigi-4.1.25/fldigi-4.1.25.tar.gz"
|
||||
checksum=4ec4bf392da65f0aac93e13ef4c12811320745692cf0783fab0f164660310763
|
||||
|
|
Loading…
Add table
Reference in a new issue