shithub: freetype+ttf2subf

Download patch

ref: 8cfa8bd51ac9017f84eeb7e12e749e25e0ba6891
parent: 47200605535b04657d0793725c99e19ee6634519
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Fri May 19 18:11:50 EDT 2006

* remove Carbon dependency of Darwin, if configured with no option

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-05-19  suzuki toshiya  <[email protected]>
 
+	* build/unix/configure.raw: Add a fallback to disable Carbon
+	dependency, if configured with no options on Mac OS X.
+
+2006-05-19  suzuki toshiya  <[email protected]>
+
 	* src/base/ftmac.c (open_face_from_buffer): Deallocate stream when
 	its content cannot be parsed as supported font. This fixes
 	the second part of Savannah bug #16590.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -150,6 +150,14 @@
     [AC_MSG_RESULT([not found])
      LDFLAGS="${orig_LDFLAGS}"
      CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
+else
+  case x$target_os in
+  xdarwin*)
+    dnl AC_MSG_WARN([target system is MacOS but configured to build without Carbon])
+    CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
+    ;;
+  *) ;;
+  esac
 fi