aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-04-30 09:34:36 -0700
committerAdam Vandenberg2013-04-30 09:34:36 -0700
commit362a1268a26b6a785f4beb50e445248da1229ea0 (patch)
tree584eb48895cc902d5272304c31c62070741bdb11 /Library
parent627c0179d0930384cce4af449780021f019b94e3 (diff)
downloadhomebrew-362a1268a26b6a785f4beb50e445248da1229ea0.tar.bz2
bochs: apply suggested ltdl patch
Closes #17738.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bochs.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/bochs.rb b/Library/Formula/bochs.rb
index 2191e7540..59326febf 100644
--- a/Library/Formula/bochs.rb
+++ b/Library/Formula/bochs.rb
@@ -38,6 +38,12 @@ class Bochs < Formula
"--with-term",
"--enable-ne2000"
+ # See: http://sourceforge.net/p/bochs/discussion/39592/thread/9c22887c
+ inreplace 'config.h', 'define BX_HAVE_LTDL 1', 'define BX_HAVE_LTDL 0'
+ inreplace 'Makefile' do |s|
+ s.gsub! /\-lltdl/, 'ltdl.o'
+ end
+
system "make"
system "make install"
end