From 5f7c90b5f01c8018d2c39d400386b3b572f03791 Mon Sep 17 00:00:00 2001
From: Joshua Pettus <jshpettus@gmail.com>
Date: Tue, 10 Mar 2015 15:16:10 -0400
Subject: [PATCH] gtkmacintegration name change

with the last update the gtkmacintegration lib was renamed
gtkmacintegration-gtk2 to differentiate from gtk3
---
 configure.ac   |    2 +-
 gtk/xboard.c   |    2 +-
 gtk/xoptions.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index a168db1..5ee2a80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -476,7 +476,7 @@ dnl| add some libs for OS X
     fi
     FRONTEND_LIBS="$FRONTEND_LIBS -headerpad_max_install_names "
     if test x"$enable_OSXAPP" = x"yes" ; then
-        FRONTEND_LIBS="$FRONTEND_LIBS -lgtkmacintegration"
+        FRONTEND_LIBS="$FRONTEND_LIBS -lgtkmacintegration-gtk2"
     fi
     FRONTEND_CFLAGS="$FRONTEND_CFLAGS -I/opt/local/include -L/opt/local/lib"
   ;;
diff --git a/gtk/xboard.c b/gtk/xboard.c
index e3d32d0..c7454e2 100644
--- a/gtk/xboard.c
+++ b/gtk/xboard.c
@@ -168,7 +168,7 @@ extern char *getenv();
 #include "draw.h"
 
 #ifdef OSXAPP
-#  include <gtkmacintegration/gtkosxapplication.h>
+#  include <gtkmacintegration-gtk2/gtkosxapplication.h>
    // prevent pathname of positional file argument provided by OS X being be mistaken for option name
    // (price is that we won't recognize Windows option format anymore).
 #  define SLASH '-'
diff --git a/gtk/xoptions.c b/gtk/xoptions.c
index 48da90b..d1420ed 100644
--- a/gtk/xoptions.c
+++ b/gtk/xoptions.c
@@ -52,7 +52,7 @@ extern char *getenv();
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #ifdef OSXAPP
-#  include <gtkmacintegration/gtkosxapplication.h>
+#  include <gtkmacintegration-gtk2/gtkosxapplication.h>
 #endif
 
 #include "common.h"
-- 
1.7.0.4