| @@ -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 | sed -i -e "s/bison (GNU Bison) //" config.h | ||||
| env PATH=/opt/local/bin:$PATH make | env PATH=/opt/local/bin:$PATH make | ||||
| sudo make install | 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 | touch build-done | ||||
| cd .. | cd .. | ||||
| fi | fi | ||||
| @@ -330,6 +331,7 @@ env LDFLAGS="$LDFLAGS -framework Carbon -framework CoreFoundation" \ | |||||
| --enable-libsndfile-support | --enable-libsndfile-support | ||||
| make | make | ||||
| sudo make install | 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 | touch build-done | ||||
| cd .. | cd .. | ||||
| fi | fi | ||||
| @@ -420,7 +420,7 @@ static void* timeoutThreadMain (void* passedPtr) | |||||
| } else if (errno == EINTR) { | } else if (errno == EINTR) { | ||||
| requestedDelay = remainingDelay; | requestedDelay = remainingDelay; | ||||
| } else { | } else { | ||||
| Return = (void*) errno; | |||||
| Return = (void*) (long) errno; | |||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| @@ -437,7 +437,7 @@ static void* timeoutThreadMain (void* passedPtr) | |||||
| if (pthread_kill(details.callingThread,0) == 0) { | if (pthread_kill(details.callingThread,0) == 0) { | ||||
| *(details.timedOutShort) = TRUE; | *(details.timedOutShort) = TRUE; | ||||
| if (triggerSignal (SIGUSR2,details.callingThread) < 0) { | if (triggerSignal (SIGUSR2,details.callingThread) < 0) { | ||||
| Return = (void*) errno; | |||||
| Return = (void*) (long) errno; | |||||
| } | } | ||||
| } | } | ||||