diff options
Diffstat (limited to 'media-radio/fldigi/files')
-rw-r--r-- | media-radio/fldigi/files/fldigi-drop-nullptr-definition.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-radio/fldigi/files/fldigi-drop-nullptr-definition.patch b/media-radio/fldigi/files/fldigi-drop-nullptr-definition.patch new file mode 100644 index 000000000000..8e14c6e0ca39 --- /dev/null +++ b/media-radio/fldigi/files/fldigi-drop-nullptr-definition.patch @@ -0,0 +1,23 @@ +# dropped code leeds to circular definition for >=sys-libs/musl-1.2.3 and +# is not needed as all our compilers support c++11 +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 +- + + /* + * ====================================== |