libglademm: fix build against gtkmm-2.24.3
Fixes Homebrew/homebrew#19416. Closes Homebrew/homebrew#19558. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
da90b84cbb
commit
d4b2b898b6
1 changed files with 33 additions and 0 deletions
|
@ -10,6 +10,12 @@ class Libglademm < Formula
|
|||
depends_on 'libglade'
|
||||
depends_on :x11
|
||||
|
||||
def patches
|
||||
# fixes build against gtkmm-2.24.3
|
||||
# libglademm hasn't changed upstream since 2008
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
|
@ -17,3 +23,30 @@ class Libglademm < Formula
|
|||
system "make install"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/examples/derived/main.cc b/examples/derived/main.cc
|
||||
index 5a72f63..38afc96 100644
|
||||
--- a/examples/derived/main.cc
|
||||
+++ b/examples/derived/main.cc
|
||||
@@ -16,6 +16,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#include <gtkmm.h>
|
||||
#include "deriveddialog.h"
|
||||
#include <iostream>
|
||||
|
||||
diff --git a/examples/variablesmap/main.cc b/examples/variablesmap/main.cc
|
||||
index 145c93d..0c41840 100644
|
||||
--- a/examples/variablesmap/main.cc
|
||||
+++ b/examples/variablesmap/main.cc
|
||||
@@ -16,7 +16,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
-#include <gtkmm/main.h>
|
||||
+#include <gtkmm.h>
|
||||
#include "examplewindow.h"
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
|
|
Loading…
Reference in a new issue