Skip to content

Instantly share code, notes, and snippets.

diff -urN ppl-0.11.orig/configure ppl-0.11/configure
--- ppl-0.11.orig/configure 2010-08-02 13:21:43.000000000 -0700
+++ ppl-0.11/configure 2014-03-12 07:11:03.000000000 -0700
@@ -9134,6 +9134,8 @@
A()
: i(0), b(false) {
}
+
+ ~A() {}
};
diff -urN ppl-0.11.orig/Watchdog/configure.ac ppl-0.11/Watchdog/configure.ac
--- ppl-0.11.orig/Watchdog/configure.ac 2010-08-02 13:21:24.000000000 -0700
+++ ppl-0.11/Watchdog/configure.ac 2014-03-12 05:16:08.000000000 -0700
@@ -39,7 +39,7 @@
AC_CANONICAL_HOST
# Use Automake.
-AM_INIT_AUTOMAKE([foreign no-define dist-bzip2 dist-zip dist-lzma silent-rules 1.11])
+AM_INIT_AUTOMAKE([foreign no-define dist-bzip2 dist-zip silent-rules 1.11])
AC_SUBST(VERSION)
@manphiz
manphiz / Makefile.libcxx_gnu
Last active December 26, 2015 18:38
C++ stdlib compatibility
CXX=clang++
GNUCXX=g++-4.8
CFLAGS=-g -Wall -fPIC
LIBCXX="-stdlib=libc++"
LIBSTDCXX="-stdlib=libstdc++"
all: test
test: main.o libtest_a.dylib libtest_b.dylib
$(CXX) $(LIBCXX) -o test main.o -L. -ltest_a -ltest_b
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/subversion.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/pkg-config.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/serf.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/libtool.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/sqlite.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/readline.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/scons.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/autoconf.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/automake.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/swig.rb
This file has been truncated, but you can view the full file.
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/gcc48.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/gmp4.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/libmpc08.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/mpfr2.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/cloog018.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/pkg-config.rb
/opt/homebrew/Library/brew.rb: loading /opt/homebrew/Library/Formula/isl011.rb
/opt/homebrew/Library/Formula/gcc48.rb: loading /opt/homebrew/Library/Formula/gmp4.rb
/opt/homebrew/Library/Formula/gcc48.rb: loading /opt/homebrew/Library/Formula/libmpc08.rb
@manphiz
manphiz / go cross compile all apple-gcc42
Created September 26, 2013 10:51
go --cross-compile-all --use-gcc
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/go.rb
/usr/local/Library/Formula/go.rb: loading /usr/local/Library/Formula/apple-gcc42.rb
==> Downloading https://go.googlecode.com/files/go1.1.2.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/go-1.1.2.tar.gz
tar xf /Library/Caches/Homebrew/go-1.1.2.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/cmd/ld/lib.c
Hunk #1 succeeded at 665 with fuzz 2.
==> ./make.bash --no-clean
@manphiz
manphiz / brew diagnosis
Created September 7, 2013 08:28
Osxfuse build log
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: bb4f1b35e26d3b1891dc3a214a07a36b49f75fd1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073