forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23892b3
commit f12967c
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
- | ||
|
||
/* | ||
* ====================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters