Skip to content

Instantly share code, notes, and snippets.

@luca3m
Created November 8, 2014 17:05
Show Gist options
  • Select an option

  • Save luca3m/dc32e1fe9a12675ef300 to your computer and use it in GitHub Desktop.

Select an option

Save luca3m/dc32e1fe9a12675ef300 to your computer and use it in GitHub Desktop.

Revisions

  1. luca3m created this gist Nov 8, 2014.
    11 changes: 11 additions & 0 deletions octave-3.8.1-yosemite.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    --- b/configure.ac 2014-11-08 15:27:56.000000000 +0100
    +++ a/configure.ac 2014-11-08 15:29:21.000000000 +0100
    @@ -2651,7 +2651,7 @@
    if test -n "$JAVA_CPPFLAGS"; then
    JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS}"
    else
    - JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I/System/Library/Frameworks/JavaVM.framework/Home/include -I/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers"
    + JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin"
    fi
    JAVA_LIBS="-framework JavaVM"
    ;;