[66891] trunk/dports/x11/lablgtk2

ryandesign at macports.org ryandesign at macports.org
Sat Apr 24 13:54:38 PDT 2010


Revision: 66891
          http://trac.macports.org/changeset/66891
Author:   ryandesign at macports.org
Date:     2010-04-24 13:54:34 -0700 (Sat, 24 Apr 2010)
Log Message:
-----------
lablgtk2: fix build error when gtksourceview2 is installed; see
http://permalink.gmane.org/gmane.comp.lang.ocaml.lib.gtk/1472

Modified Paths:
--------------
    trunk/dports/x11/lablgtk2/Portfile

Added Paths:
-----------
    trunk/dports/x11/lablgtk2/files/patch-SourceView2Enums

Modified: trunk/dports/x11/lablgtk2/Portfile
===================================================================
--- trunk/dports/x11/lablgtk2/Portfile	2010-04-24 20:47:50 UTC (rev 66890)
+++ trunk/dports/x11/lablgtk2/Portfile	2010-04-24 20:54:34 UTC (rev 66891)
@@ -29,7 +29,7 @@
                     --with-gnomecanvas --with-gnomeui --without-panel \
                     --without-gtkspell --without-gtksourceview
 build.target        world
-patchfiles          patch-META
+patchfiles          patch-META patch-SourceView2Enums
 use_parallel_build  no
 
 variant rsvg description "enable rsvg support" {

Added: trunk/dports/x11/lablgtk2/files/patch-SourceView2Enums
===================================================================
--- trunk/dports/x11/lablgtk2/files/patch-SourceView2Enums	                        (rev 0)
+++ trunk/dports/x11/lablgtk2/files/patch-SourceView2Enums	2010-04-24 20:54:34 UTC (rev 66891)
@@ -0,0 +1,43 @@
+--- src/gSourceView2.mli.orig	2009-09-16 08:42:17.000000000 -0500
++++ src/gSourceView2.mli	2010-04-24 15:43:03.000000000 -0500
+@@ -251,7 +251,7 @@
+ 
+ val iter_forward_search :
+   GText.iter ->
+-  SourceViewEnums.source_search_flag list ->
++  SourceView2Enums.source_search_flag list ->
+   start:< as_iter : Gtk.text_iter; .. > ->
+   stop:< as_iter : Gtk.text_iter; .. > ->
+   ?limit:< as_iter : Gtk.text_iter; .. > ->
+@@ -259,8 +259,8 @@
+ 
+ val iter_backward_search :
+   GText.iter ->
+-  SourceViewEnums.source_search_flag list ->
++  SourceView2Enums.source_search_flag list ->
+   start:< as_iter : Gtk.text_iter; .. > ->
+   stop:< as_iter : Gtk.text_iter; .. > ->
+   ?limit:< as_iter : Gtk.text_iter; .. > ->
+-  string -> (GText.iter * GText.iter) option
+\ No newline at end of file
++  string -> (GText.iter * GText.iter) option
+--- src/gtkSourceView2.ml.orig	2009-09-16 07:32:28.000000000 -0500
++++ src/gtkSourceView2.ml	2010-04-24 15:49:01.000000000 -0500
+@@ -189,13 +189,13 @@
+ module SourceViewMisc =
+ struct
+   external iter_backward_search:
+-       Gtk.text_iter -> string -> SourceViewEnums.source_search_flag list ->
++       Gtk.text_iter -> string -> SourceView2Enums.source_search_flag list ->
+ 	start: Gtk.text_iter -> stop: Gtk.text_iter -> Gtk.text_iter option ->
+ 	(Gtk.text_iter * Gtk.text_iter) option =
+     "ml_gtk_source_iter_backward_search_bc" "ml_gtk_source_iter_backward_search"
+   external iter_forward_search:
+-      Gtk.text_iter -> string -> SourceViewEnums.source_search_flag list ->
++      Gtk.text_iter -> string -> SourceView2Enums.source_search_flag list ->
+ 	start: Gtk.text_iter -> stop: Gtk.text_iter -> Gtk.text_iter option ->
+ 	(Gtk.text_iter * Gtk.text_iter) option =
+     "ml_gtk_source_iter_forward_search_bc" "ml_gtk_source_iter_forward_search"
+-end
+\ No newline at end of file
++end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100424/07045a50/attachment.html>


More information about the macports-changes mailing list