Skip to content

Instantly share code, notes, and snippets.

@kimikato
Created March 27, 2012 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimikato/2212620 to your computer and use it in GitHub Desktop.
Save kimikato/2212620 to your computer and use it in GitHub Desktop.
--- fontforge/macbinary.c.orig 2012-03-27 10:58:26.000000000 +0900
+++ fontforge/macbinary.c 2012-03-27 10:59:15.000000000 +0900
@@ -37,7 +37,7 @@
#include "psfont.h"
#if __Mac
# include <ctype.h>
-# include </Developer/Headers/FlatCarbon/Files.h>
+# include <@@DEVDIR@@/Headers/FlatCarbon/Files.h>
#else
# include <utype.h>
#undef __Mac
--- fontforge/startui.c.orig 2012-03-27 10:58:37.000000000 +0900
+++ fontforge/startui.c 2012-03-27 11:01:31.000000000 +0900
@@ -47,10 +47,10 @@
# endif
#endif
#ifdef __Mac
-# include </Developer/Headers/FlatCarbon/Files.h>
+# include <@@DEVDIR@@/Headers/FlatCarbon/Files.h>
# define FontInfo MacFontInfo
# define KernPair MacKernPair
-# include </Developer/Headers/FlatCarbon/CarbonEvents.h>
+# include <@@DEVDIR@@/Headers/FlatCarbon/CarbonEvents.h>
/* For reasons obscure to me RunApplicationEventLoop is not defined in */
/* the mac header files if we are in 64 bit mode. Strangely it seems to */
/* be in the libraries and functional */
--- gutils/giomime.c.orig 2012-03-27 11:01:49.000000000 +0900
+++ gutils/giomime.c 2012-03-27 11:02:05.000000000 +0900
@@ -65,7 +65,7 @@
unichar_t fontsnf[] = { 'a','p','p','l','i','c','a','t','i','o','n','/','x','-','f','o','n','t','-','s','n','f', '\0' };
#ifdef __Mac
-#include </Developer/Headers/FlatCarbon/Files.h>
+#include <@@DEVDIR@@/Headers/FlatCarbon/Files.h>
#define CHR(ch1,ch2,ch3,ch4) (((ch1)<<24)|((ch2)<<16)|((ch3)<<8)|(ch4))
unichar_t *_GioMacMime(const char *path) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment