slackbuilds_ponce/multimedia/bombono-dvd/patches/bombono-dvd-1.2.0-cdrtools.patch
Matteo Bernardini 8cb4a4ed71 multimedia/bombono-dvd: Updated for version 1.2.2.
Added a patch for the newer ffmpeg

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2013-11-19 15:20:47 -06:00

21 lines
864 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff --git a/src/mgui/author/script.h b/src/mgui/author/script.h
index fe80307..a96fb54 100644
--- a/src/mgui/author/script.h
+++ b/src/mgui/author/script.h
@@ -115,9 +115,14 @@ ExitData AsyncOFCall(const std::string& cmd, const std::string& out_dir, OutputF
// POSIX-народ бесповоротно ушел на cdrkit (genisoimage), но с Win32
// у cdrkit хреново (только cygwin, нет собранного с growisofs с cdrkit под Win32) => потому - "вилка"
#ifdef _WIN32
-#define MK_ISO_CMD "mkisofs"
+ #define MK_ISO_CMD "mkisofs"
#else
-#define MK_ISO_CMD "genisoimage"
+ #define USE_CDRTOOLS
+ #ifdef USE_CDRTOOLS
+ #define MK_ISO_CMD "mkisofs"
+ #else // !USE_CDRTOOLS
+ #define MK_ISO_CMD "genisoimage"
+ #endif // !USE_CDRTOOLS
#endif
#endif // #ifndef __MGUI_AUTHOR_SCRIPT_H__