freebsd-ports/graphics/hiptext/files/patch-hiptext.cc
Jan Beich 520a94dcfc graphics/hiptext: add new port
PR:		210404
Submitted by:	yuri@rawbw.com

hiptext is command line tool for rendering images and videos inside terminals.

https://github.com/jart/hiptext
2016-06-22 14:31:00 +00:00

15 lines
604 B
C++

--- hiptext.cc.orig 2016-06-21 21:09:17 UTC
+++ hiptext.cc
@@ -197,9 +197,9 @@ inline string GetExtension(const string&
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");