diff options
author | Max Zhao | 2017-04-06 08:28:16 +0200 |
---|---|---|
committer | Max Zhao | 2017-04-06 08:28:16 +0200 |
commit | 97132de10208f81d233755435114c193fd57faa5 (patch) | |
tree | e3d0ea2a7be9f7ab00c565acfd00d923052b6365 /gflags_namespace.patch | |
parent | 4f13fe99cfa4976f8dd419617ea4bd23c79bb480 (diff) | |
download | aur-97132de10208f81d233755435114c193fd57faa5.tar.gz |
Incorporating many fixes from konstantin gizdov
Diffstat (limited to 'gflags_namespace.patch')
-rw-r--r-- | gflags_namespace.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gflags_namespace.patch b/gflags_namespace.patch new file mode 100644 index 000000000000..b671f2812e4f --- /dev/null +++ b/gflags_namespace.patch @@ -0,0 +1,16 @@ +diff -ura old/src/hiptext.cc new/src/hiptext.cc +--- old/src/hiptext.cc 2017-04-06 03:03:11.155197795 +0200 ++++ new/src/hiptext.cc 2017-04-06 03:04:11.943077663 +0200 +@@ -197,9 +197,9 @@ + int main(int argc, char** argv) { + // if (!isatty(1)) + // FLAGS_color = false; +- google::SetUsageMessage("hiptext [FLAGS]"); +- google::SetVersionString("0.1"); +- google::ParseCommandLineFlags(&argc, &argv, true); ++ gflags::SetUsageMessage("hiptext [FLAGS]"); ++ gflags::SetVersionString("0.1"); ++ gflags::ParseCommandLineFlags(&argc, &argv, true); + google::InitGoogleLogging(argv[0]); + google::InstallFailureSignalHandler(); + const char* lang = std::getenv("LANG"); |