Skip to content

Instantly share code, notes, and snippets.

@smgoller
smgoller / gist:3805604
Created September 30, 2012 01:40
unac formula that currently works
require 'formula'
class Unac < Formula
homepage ''
url 'http://ftp.de.debian.org/debian/pool/main/u/unac/unac_1.8.0.orig.tar.gz'
sha1 '3e779bb7f3b505880ac4f43b48ee2f935ef8aa36'
depends_on 'gettext' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
@smgoller
smgoller / fixes.patch
Created September 29, 2012 06:46
homebrew unac formula iconv patch
diff --git a/configure.ac b/configure.ac
index 4a4eab6..9f25d50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,7 @@ AM_MAINTAINER_MODE
AM_ICONV
+LIBS="$LIBS -liconv"
AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
@smgoller
smgoller / gist:1171102
Created August 25, 2011 16:36 — forked from mhinze/gist:123732
git svn workflow
# adapted from http://notes.jimlindley.com/2008/3/25/git-svn-that-works-for-me
# initial setup
git svn clone <svn_repo>
# begin the workflow
git svn fetch -r HEAD --ignore-paths="Package.zip" # aliased to 'git up', my Package.zip is very large.
git svn rebase -l # we just updated, no need to go back to the svn repo
# 99% of daily workflow