Skip to content

Instantly share code, notes, and snippets.

View gjherbiet's full-sized avatar

Guillaume-Jean Herbiet gjherbiet

View GitHub Profile
@gjherbiet
gjherbiet / brew_doctor.txt
Created August 29, 2012 14:47
digikam installation problem via Homebrew: dzubi/homebrew-digikam
Guillaume@friis:~> brew doctor
Warning: You may have installed MacGPG2 via the package installer.
Several other checks in this script will turn up problems, such as stray
dylibs in /usr/local and permissions issues with share and man in /usr/local/.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib /usr/local/lib/libcgraph.6.dylib /usr/local/lib/libfuse4x.2.dylib /usr/local/lib/libfuse4x_ino32.dylib /usr/local/lib/libgraph.5.dylib /usr/local/lib/libgvc.6.dylib /usr/local/lib/libgvpr.2.dylib /usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libntfs-3g.80.dylib /usr/local/lib/libntfs.9.0.0.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib /usr/local/lib/libpathplan.4.dylib /usr/local/lib/libublio.1.dylib /usr/loc
@gjherbiet
gjherbiet / sumo-HEAD.diff
Created January 18, 2011 10:36
sumo HEAD homebrew patch
diff --git a/configure.ac b/configure.ac
index beb9f1a..a27b9ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,9 +85,7 @@ AC_DEFINE([OUTPUT_ACCURACY], [2], [defines the number of digits after the comma
AC_DEFINE([GEO_OUTPUT_ACCURACY], [6], [defines the number of digits after the comma in geo-coordinates output])
dnl ... for xerces 3.0
-PKG_CHECK_MODULES([XERCES], [xerces-c >= 3.0],
- [AC_DEFINE([XERCES3_SIZE_t],[XMLSize_t],[Define length for Xerces 3.])],
@gjherbiet
gjherbiet / sumo-0.12.2.diff
Created January 18, 2011 10:34
sumo 0.12.2 homebrew patch
diff --git a/src/router/RORouteDef_Alternatives.cpp b/src/router/RORouteDef_Alternatives.cpp
index 88e7d96..d640562 100644
--- a/src/router/RORouteDef_Alternatives.cpp
+++ b/src/router/RORouteDef_Alternatives.cpp
@@ -54,6 +54,9 @@
#ifdef _MSC_VER
#define ISNAN _isnan
#else
+inline bool isnan(double x) {
+ return x != x;
@gjherbiet
gjherbiet / template.pl
Created September 29, 2010 14:28
A Perl script template
#!/usr/bin/env perl -w
##############################################################################
# File :
# Author : Guillaume-Jean Herbiet <guillaume-jean@herbiet.net>
#
#
# Copyright (c) 2010 Guillaume-Jean Herbiet (http://herbiet.net)
#
# This program is free software: you can redistribute it and/or modify
#!/usr/bin/ruby
#
# This script installs to /usr/local only. To install elsewhere you can just
# untar http://github.com/mxcl/homebrew/tarball/master anywhere you like.
#
# 2nd July 2010:
# Added chgrp/chmod for all man directories (/usr/local/share/man*)
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem