Skip to content

Instantly share code, notes, and snippets.

View sven-strothoff's full-sized avatar

Sven Strothoff sven-strothoff

View GitHub Profile
@sven-strothoff
sven-strothoff / brew configuration
Last active December 31, 2015 17:29
gpgme fails building with argp-standalone
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 42206d05747f686f02ec89201309a8d39683ef52
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
@sven-strothoff
sven-strothoff / newsbeuter-r2.7-libc++.patch
Created December 10, 2013 13:53
Patch newsbeuter 2.7 to compile with libc++. This is necessary to compile newsbeuter on OS X >= 10.9.
diff --git a/Makefile b/Makefile
index 33d56ac..9419150 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ CXX=c++
# compiler and linker flags
DEFINES=-DLOCALEDIR=\"$(localedir)\"
WARNFLAGS=-Wall -Wextra
-CXXFLAGS+=-ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)
+CXXFLAGS+=-std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)