From: Jonathan Ryshpan <jonrysh@pa...> - 2007-08-10 23:31:45
In the version of portmixer distributed with audacity, there is a patch
to portaudio. The first few diff lines in the patch file are:
$ grep ^diff portaudio.patch
diff -wruN orig/pa/configure pa/configure
diff -ruN orig/lib-src/portaudio-v19/configure.in b4build/audacity/lib-src/portaudio-v19/configure.in
diff -ruN orig/lib-src/portaudio-v19/include/pa_linux_alsa.h b4build/audacity/lib-src/portaudio-v19/include/pa_linux_alsa.h
diff -ruN orig/lib-src/portaudio-v19/include/pa_mac_core.h b4build/audacity/lib-src/portaudio-v19/include/pa_mac_core.h
diff -ruN orig/lib-src/portaudio-v19/include/pa_unix_oss.h b4build/audacity/lib-src/portaudio-v19/include/pa_unix_oss.h
All of these lines refer to paths starting with
except for the first, which starts with orig/pa .
Since there's no directory pa in the audacity build tree, where should
the first diff be applied?
Also, the number of slashes is always different in the two things to be
diffed, so it doesn't look like the patch option --strip will work
properly. How should patch be used in this case?
Thanks - jon