Browse Source

More osx build fixes

tags/1.9.5
falkTX 10 years ago
parent
commit
5bbe476f3a
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      data/macos/build-deps.sh
  2. +2
    -2
      source/modules/jackbridge/osx_sem_timedwait.c

+ 2
- 0
data/macos/build-deps.sh View File

@@ -253,6 +253,7 @@ env PATH=/opt/local/bin:$PATH ./scripts/generate_instrument_script_parser.sh
sed -i -e "s/bison (GNU Bison) //" config.h
env PATH=/opt/local/bin:$PATH make
sudo make install
sudo sed -i -e "s|-llinuxsampler|-L/opt/carla64/lib/libgig -lgig -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lm -lpthread|" /opt/carla64/lib/pkgconfig/linuxsampler.pc
touch build-done
cd ..
fi
@@ -330,6 +331,7 @@ env LDFLAGS="$LDFLAGS -framework Carbon -framework CoreFoundation" \
--enable-libsndfile-support
make
sudo make install
sudo sed -i -e "s|-lfluidsynth|-lfluidsynth -lglib-2.0 -lgthread-2.0 -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lpthread -lm -liconv -lintl|" /opt/carla64/lib/pkgconfig/fluidsynth.pc
touch build-done
cd ..
fi


+ 2
- 2
source/modules/jackbridge/osx_sem_timedwait.c View File

@@ -420,7 +420,7 @@ static void* timeoutThreadMain (void* passedPtr)
} else if (errno == EINTR) {
requestedDelay = remainingDelay;
} else {
Return = (void*) errno;
Return = (void*) (long) errno;
break;
}
}
@@ -437,7 +437,7 @@ static void* timeoutThreadMain (void* passedPtr)
if (pthread_kill(details.callingThread,0) == 0) {
*(details.timedOutShort) = TRUE;
if (triggerSignal (SIGUSR2,details.callingThread) < 0) {
Return = (void*) errno;
Return = (void*) (long) errno;
}
}


Loading…
Cancel
Save