mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-misc/*: simple name change and update
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
19
app-misc/clipboard/files/disable-debug-info.patch
Normal file
19
app-misc/clipboard/files/disable-debug-info.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
#Created by Quincy Fleming.
|
||||
#Disables debug info without using flag NDEBUG as unless forced it will be ignored in favor of the user's specified compiler flags
|
||||
--- a/src/gui/include/all/clipboard/logging.hpp
|
||||
+++ b/src/gui/include/all/clipboard/logging.hpp
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <iostream>
|
||||
#include <streambuf>
|
||||
|
||||
-#if defined(NDEBUG)
|
||||
class NullBuffer : public std::streambuf {
|
||||
public:
|
||||
int overflow(int c) override { return c; }
|
||||
@@ -26,6 +25,3 @@
|
||||
static NullBuffer nullBuffer;
|
||||
static std::ostream nullStream(&nullBuffer);
|
||||
static std::ostream& debugStream = nullStream;
|
||||
-#else
|
||||
-static std::ostream& debugStream = std::cerr;
|
||||
-#endif
|
||||
Reference in New Issue
Block a user