Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nickrobison on github.
  • I am nickrobison (https://keybase.io/nickrobison) on keybase.
  • I have a public key ASCjMSmty4ihX2e3fgn-GN1gLtp9pza5sLt47PcC03et4Ao

To claim this, I am signing this object:

/usr/bin/clang -O -F/usr/local/Frameworks -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -c -o vecLibFort.o vecLibFort.c
clang -shared -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c \
-Wl,-reexport_framework -Wl,vecLib \
-install_name /usr/local/lib/libvecLibFortI.dylib
vecLibFort.c:19:10: fatal error: 'vecLib/cblas.h' file not found
#include <vecLib/cblas.h>
^
vecLibFort.c:19:10: fatal error: 'vecLib/cblas.h' file not found
#include <vecLib/cblas.h>
^
@nickrobison
nickrobison / truecrypt.rb
Created November 14, 2013 07:51
Homebrew recipe for Truecrypt
require 'formula'
class Truecrypt < Formula
homepage 'http://truecrypt.org/'
url 'ftp://ftp.archlinux.org/other/tc/truecrypt-7.1a.tar.gz'
sha256 'e6214e911d0bbededba274a2f8f8d7b3f6f6951e20f1c3a598fc7a23af81c8dc'
# RSA PKCS #11 Cryptographic Token Interface (Cryptoki)
# ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/
resource 'Pkcs' do
@nickrobison
nickrobison / truecrypt.diff
Last active December 28, 2015 07:09
OS X Patch for truecrypt, with Homebrew
# (c) 2013 www.nerdenmeister.org
diff -ur a/Core/Unix/MacOSX/CoreMacOSX.cpp b/Core/Unix/MacOSX/CoreMacOSX.cpp
--- a/Core/Unix/MacOSX/CoreMacOSX.cpp 2012-02-07 10:36:48.000000000 +0000
+++ b/Core/Unix/MacOSX/CoreMacOSX.cpp 2013-08-17 00:08:30.000000000 +0100
@@ -108,6 +108,7 @@
void CoreMacOSX::MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const
{
+#if 0
// Check FUSE version
@nickrobison
nickrobison / truecrypt.patch
Last active December 28, 2015 07:09
OS X Patch for Truecrypt
diff -ur a/Core/Unix/MacOSX/CoreMacOSX.cpp b/Core/Unix/MacOSX/CoreMacOSX.cpp
--- a/Core/Unix/MacOSX/CoreMacOSX.cpp 2012-02-07 10:36:48.000000000 +0000
+++ b/Core/Unix/MacOSX/CoreMacOSX.cpp 2013-08-17 00:08:30.000000000 +0100
@@ -108,6 +108,7 @@
void CoreMacOSX::MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const
{
+#if 0
// Check FUSE version
char fuseVersionString[MAXHOSTNAMELEN + 1] = { 0 };
diff --git a/src/saga_core/saga_cmd/saga_cmd.cpp b/src/saga_core/saga_cmd/saga_cmd.cpp
index 0ce6d36..9f554a8 100644
--- a/src/saga_core/saga_cmd/saga_cmd.cpp
+++ b/src/saga_core/saga_cmd/saga_cmd.cpp
@@ -67,6 +67,7 @@
#include "callback.h"
#include "module_library.h"
+#include <locale.h>
diff --git a/src/saga_core/saga_odbc/Makefile.am b/src/saga_core/saga_odbc/Makefile.am
index 0613a37..03fdb1e 100644
--- a/src/saga_core/saga_odbc/Makefile.am
+++ b/src/saga_core/saga_odbc/Makefile.am
@@ -7,7 +7,7 @@ endif
DEF_SAGA = -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD
CXX_INCS = -I$(top_srcdir)/src/saga_core
AM_CXXFLAGS = $(CXX_INCS) $(DEF_SAGA) $(DEP_DEFS) $(DBGFLAGS) $(GOMPFLAGS)
-AM_LDFLAGS = $(DEP_LFLG) -lodbc
+AM_LDFLAGS = $(DEP_LFLG) -liodbc
diff --git a/src/saga_core/saga_gui/Makefile.am b/src/saga_core/saga_gui/Makefile.am
index 814de8b..b52d3f1 100644
--- a/src/saga_core/saga_gui/Makefile.am
+++ b/src/saga_core/saga_gui/Makefile.am
@@ -11,7 +11,7 @@ MSHAREPATH = "SHARE_PATH=\"$(prefix)/share/saga\""
BASEFLAGS = -fPIC -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_DONOTUSE_HARU -D$(MLIBPATH) -D$(MSHAREPATH) $(DBGFLAGS) $(INCS)
if SAGA_UNICODE
AM_CXXFLAGS = $(BASEFLAGS) `wx-config --unicode=yes --cxxflags` -D_SAGA_UNICODE $(GOMPFLAGS)
-AM_LDFLAGS = -fPIC `wx-config --unicode=yes --libs adv,aui,base,core,html,net,propgrid,xml`
+AM_LDFLAGS = -fPIC `wx-config --unicode=yes --libs adv,core,html,net,xml`