=== modified file 'patches/wxwidgets-3.0.2_macosx_yosemite.patch'
--- patches/wxwidgets-3.0.2_macosx_yosemite.patch	2014-11-13 00:38:18 +0000
+++ patches/wxwidgets-3.0.2_macosx_yosemite.patch	2014-12-07 18:30:01 +0000
@@ -1,31 +1,10 @@
-=== modified file 'patches/wxwidgets-3.0.2_macosx_yosemite.patch'
---- patches/wxwidgets-3.0.2_macosx_yosemite.patch	2014-11-04 19:24:22 +0000
-+++ patches/wxwidgets-3.0.2_macosx_yosemite.patch	2014-11-12 01:54:50 +0000
-@@ -1,15 +1,11 @@
--=== added file 'patches/wxwidgets-3.0.2_macosx_yosemite_webview_webkit.mm.patch'
----- patches/wxwidgets-3.0.2_macosx_yosemite_webview_webkit.mm.patch	1970-01-01 00:00:00 +0000
--+++ patches/wxwidgets-3.0.2_macosx_yosemite_webview_webkit.mm.patch	2014-10-29 18:17:55 +0000
--@@ -0,0 +1,11 @@
--+--- src/osx/webview_webkit.mm.orig	2014-09-16 07:27:52.000000000 -0600
--++++ src/osx/webview_webkit.mm	2014-09-16 07:28:12.000000000 -0600
--+@@ -28,7 +28,7 @@
--+ #include "wx/hashmap.h"
--+ #include "wx/filesys.h"
--+
--+-#include <WebKit/WebKit.h>
--++#include <WebKit/WebKitLegacy.h>
--+ #include <WebKit/HIWebView.h>
--+ #include <WebKit/CarbonUtils.h>
--+
-+--- src/osx/webview_webkit.mm.orig	2014-09-16 07:27:52.000000000 -0600
-++++ src/osx/webview_webkit.mm	2014-09-16 07:28:12.000000000 -0600
-+@@ -28,7 +28,7 @@
-+ #include "wx/hashmap.h"
-+ #include "wx/filesys.h"
-+
-+-#include <WebKit/WebKit.h>
-++#include <WebKit/WebKitLegacy.h>
-+ #include <WebKit/HIWebView.h>
-+ #include <WebKit/CarbonUtils.h>
-+
+--- src/osx/webview_webkit.mm.orig	2014-09-16 07:27:52.000000000 -0600
++++ src/osx/webview_webkit.mm	2014-09-16 07:28:12.000000000 -0600
+@@ -28,7 +28,7 @@
+ #include "wx/hashmap.h"
+ #include "wx/filesys.h"
 
+-#include <WebKit/WebKit.h>
++#include <WebKit/WebKitLegacy.h>
+ #include <WebKit/HIWebView.h>
+ #include <WebKit/CarbonUtils.h>

=== modified file 'scripts/library-repos-install.sh'
--- scripts/library-repos-install.sh	2014-10-17 18:44:38 +0000
+++ scripts/library-repos-install.sh	2014-12-07 21:52:52 +0000
@@ -70,7 +70,9 @@
             sed
     else
         echo
-        echo "Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to continue."
+        echo "Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to"
+        echo "continue. Please make sure to install git, curl, and sed before using this"
+        echo "script."
         echo
         exit 1
     fi
@@ -107,11 +109,23 @@
 
 detect_pretty_repos()
 {
+    # Check for the correct option to enable extended regular expressions in
+    # sed. This is '-r' for GNU sed and '-E' for (older) BSD-like sed, as on
+    # Mac OSX.
+    if [ $(echo | sed -r '' &>/dev/null; echo $?) -eq 0 ]; then
+        SED_EREGEXP="-r"
+    elif [ $(echo | sed -E '' &>/dev/null; echo $?) -eq 0 ]; then
+        SED_EREGEXP="-E"
+    else
+        echo "Your sed command does not support extended regular expressions. Cannot continue."
+        exit 1
+    fi
+
     # Use github API to list repos for org KiCad, then subset the JSON reply for only
     # *.pretty repos
     PRETTY_REPOS=`curl https://api.github.com/orgs/KiCad/repos?per_page=2000 2> /dev/null \
         | grep full_name | grep pretty \
-        | sed -r  's:.+ "KiCad/(.+)",:\1:'`
+        | sed $SED_EREGEXP 's:.+ "KiCad/(.+)",:\1:'`
 
     #echo "PRETTY_REPOS:$PRETTY_REPOS"
 

=== modified file 'scripts/osx_build_wx.sh' (properties changed: -x to +x)
