Created
April 20, 2012 21:22
-
-
Save posativ/2431979 to your computer and use it in GitHub Desktop.
newsbeuter 2.5 on Lion
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
diff --git a/config.sh b/config.sh | |
index 7867fcd..716915c 100755 | |
--- a/config.sh | |
+++ b/config.sh | |
@@ -100,6 +100,7 @@ check_pkg "libcurl" || check_custom "libcurl" "curl-config" || fail "libcurl" | |
check_pkg "libxml-2.0" || check_custom "libxml2" "xml2-config" || fail "libxml2" | |
check_pkg "stfl" || fail "stfl" | |
check_pkg "json" || fail "json" | |
-check_custom "ncursesw5" "ncursesw5-config" || fail "ncursesw5" | |
check_ssl_implementation | |
all_aboard_the_fail_boat | |
+echo "CXXFLAGS+=$CPPFLAGS" >> config.mk | |
+echo "LDFLAGS+=$LDFLAGS" >> config.mk | |
diff --git a/src/controller.cpp b/src/controller.cpp | |
index 93fbedd..c90c5da 100644 | |
--- a/src/controller.cpp | |
+++ b/src/controller.cpp | |
@@ -880,7 +880,7 @@ void controller::notify(const std::string& msg) { | |
} | |
if (cfg.get_configvalue_as_bool("notify-beep")) { | |
LOG(LOG_DEBUG, "controller:notify: notifying beep"); | |
- ::beep(); | |
+ // ::beep(); | |
} | |
if (cfg.get_configvalue("notify-program").length() > 0) { | |
std::string prog = cfg.get_configvalue("notify-program"); | |
@@ -931,7 +931,6 @@ void controller::version_information(const char * argv0, unsigned int level) { | |
#if defined(__GNUC__) && defined(__VERSION__) | |
std::cout << "Compiler: g++ " << __VERSION__ << std::endl; | |
#endif | |
- std::cout << "ncurses: " << curses_version() << " (compiled with " << NCURSES_VERSION << ")" << std::endl; | |
std::cout << "libcurl: " << curl_version() << " (compiled with " << LIBCURL_VERSION << ")" << std::endl; | |
std::cout << "SQLite: " << sqlite3_libversion() << " (compiled with " << SQLITE_VERSION << ")" << std::endl; | |
std::cout << "libxml2: compiled with " << LIBXML_DOTTED_VERSION << std::endl << std::endl; | |
diff --git a/src/view.cpp b/src/view.cpp | |
index 3df3df3..7a7dced 100644 | |
--- a/src/view.cpp | |
+++ b/src/view.cpp | |
@@ -1020,7 +1020,7 @@ void view::handle_cmdline_completion(std::tr1::shared_ptr<formaction> fa) { | |
switch (suggestions.size()) { | |
case 0: | |
LOG(LOG_DEBUG, "view::handle_cmdline_completion: found no suggestion for `%s'", fragment.c_str()); | |
- ::beep(); // direct call to ncurses - we beep to signal that there is no suggestion available, just like vim | |
+ // ::beep(); // direct call to ncurses - we beep to signal that there is no suggestion available, just like vim | |
return; | |
case 1: | |
suggestion = suggestions[0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment