aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-15 21:23:15 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-15 21:23:35 +0100
commit2815315853f6b2b7b790def49f7d7a3e0673ecca (patch)
tree767811734d72aab5d01467042e8103bd385c3604
parent54b799709a1f45ff198e1375ad9b51a2250aeb83 (diff)
multimedia/bombono-dvd: Added missing patch file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--multimedia/bombono-dvd/bombono-dvd-1.2.0-cdrtools.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/bombono-dvd/bombono-dvd-1.2.0-cdrtools.patch b/multimedia/bombono-dvd/bombono-dvd-1.2.0-cdrtools.patch
new file mode 100644
index 0000000000000..10ab179ffe85b
--- /dev/null
+++ b/multimedia/bombono-dvd/bombono-dvd-1.2.0-cdrtools.patch
@@ -0,0 +1,21 @@
+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__