Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187524 Details for
Bug 265241
dev-util/otags (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v3.09.3.3
version.patch (text/plain), 5.58 KB, created by
MageSlayer
on 2009-04-07 04:06:31 UTC
(
hide
)
Description:
patch for v3.09.3.3
Filename:
MIME Type:
Creator:
MageSlayer
Created:
2009-04-07 04:06:31 UTC
Size:
5.58 KB
patch
obsolete
>=== modified file 'otags-3.09.3.3/Makefile' >--- otags-3.09.3.3/Makefile 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/Makefile 2009-03-19 17:47:06 +0000 >@@ -70,23 +70,23 @@ > # since 3.09.3 we don't need any source tree > camlp4o_pr_emacs: \ > tags.cmxa pr_emacs_tags.cmxa >- ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp4.cmxa \ >+ ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp5.cmxa \ > pa_o_fast.cmx $+ \ > odyl.cmx > > camlp4o_pr_vi: \ > tags.cmxa pr_vi_tags.cmxa >- ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp4.cmxa \ >+ ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp5.cmxa \ > pa_o_fast.cmx $+ \ > odyl.cmx > > camlp4o_pr_emacs_ext: tags.cmxa pr_emacs_tags.cmxa >- ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp4.cmxa \ >+ ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp5.cmxa \ > pa_o.cmx pa_op.cmx $+ \ > odyl.cmx > > camlp4o_pr_vi_ext: tags.cmxa pr_vi_tags.cmxa >- ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp4.cmxa \ >+ ${CAMLOPT} -linkall -o $@ -I ${CAMLP4DIR} odyl.cmxa camlp5.cmxa \ > pa_o.cmx pa_op.cmx $+ \ > odyl.cmx > > >=== modified file 'otags-3.09.3.3/Makefile.here.tpl' >--- otags-3.09.3.3/Makefile.here.tpl 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/Makefile.here.tpl 2009-03-19 17:47:06 +0000 >@@ -1,3 +1,5 @@ >+ >+ > # This is a -*-Makefile-*- > # $Id: Makefile.here.tpl,v 1.13 2007-04-06 20:58:17 tews Exp $ > ROOT=/usr/local >@@ -16,7 +18,7 @@ > CAMLOPT=tplocamlopt > CAMLAR=tplocamlc -a > CAMLP4O=tplcamlp4o >-CAMLP4DIR=${shell ${CAMLP4O} -where} >+CAMLP4DIR=${shell ${CAMLP4O} -where}/../camlp5 > CAMLDEP=ocamldep > > # native compilation available? Set to ``true'' or ``false'' ! > >=== modified file 'otags-3.09.3.3/configure' >--- otags-3.09.3.3/configure 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/configure 2009-03-19 17:47:06 +0000 >@@ -11,7 +11,7 @@ > root=/usr/local > bindir=$root/bin > bindir_spec=no >-libdir=$root/lib/ocaml/camlp4 >+libdir=$root/lib/ocaml/camlp5 > #libdir=`camlp4 -where` > libdir_spec=no > #splaydir=$root/lib/ocaml >@@ -77,7 +77,7 @@ > > # check ocamlc version > if [ $versioncheck = 1 ] ; then >- if [ "$ocv" \< "3.09" -o "$ocv" \> "3.09.99" ] ; then >+ if [ "$ocv" \< "3.09" ] ; then > echo ocaml version $ocv found. Need 3.09.x. > exit 1 > fi > >=== modified file 'otags-3.09.3.3/editor.ml' >--- otags-3.09.3.3/editor.ml 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/editor.ml 2009-03-19 17:47:06 +0000 >@@ -2,7 +2,7 @@ > (* Cuihtlauac Alvarado, France Telecon, Recherche & Developement *) > (* Jean-François Monin, Université Joseph Fourier - VERIMAG *) > >-(* ocamlc options: !-I `camlp4o -where`!*) >+(* ocamlc options: !-I `camlp5 -where`!*) > > (* $Id: editor.ml,v 1.4 2007-04-06 20:58:17 tews Exp $ *) > > >=== modified file 'otags-3.09.3.3/mk_conf' >--- otags-3.09.3.3/mk_conf 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/mk_conf 2009-03-19 17:47:06 +0000 >@@ -23,7 +23,7 @@ > echo "let editor = ref Emacs" > echo "let output = ref (Some \"TAGS\")" > echo "let camlp4 = ref (None : string option)" >-echo "let camlp4_default = \"camlp4o\"" >+echo "let camlp4_default = \"camlp5o\"" > echo "let quotations = ref false" > echo "let mli_tags = ref true" > > >=== modified file 'otags-3.09.3.3/pr.ml' >--- otags-3.09.3.3/pr.ml 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/pr.ml 2009-03-19 17:47:06 +0000 >@@ -4,8 +4,9 @@ > > (* $Id: pr.ml,v 1.17 2007-04-06 20:58:17 tews Exp $ *) > >-(* ocamlc options: !-pp "camlp4o q_MLast.cmo" -I `camlp4o -where`!*) >-(* ocamldep options: !-pp "camlp4o q_MLast.cmo"!*) >+(* ocamlc options: !-pp "camlp5o q_MLast.cmo" -I `camlp5 -where`!*) >+(* ocamldep options: !-pp "camlp5o q_MLast.cmo"!*) >+ > > module type Tags_param = sig > val add : string -> int * int -> unit >@@ -20,7 +21,8 @@ > *) > > (* TODO: remove this crap *) >- let kludge (a, b) = a.Lexing.pos_cnum, b.Lexing.pos_cnum >+ (*let kludge (a, b) = a.Lexing.pos_cnum, b.Lexing.pos_cnum*) >+ let kludge loc = (Stdpp.first_pos loc), (Stdpp.last_pos loc) > > let rec pe_patt ast = > let loc = kludge (MLast.loc_of_patt ast) in >@@ -125,7 +127,13 @@ > | <:str_item< module type $i$ = $mt$ >> > -> T.add i loc; pe_module_type_expr mt > | <:str_item< type $list:ssltl$ >> -> >- List.iter (fun ((loc,s),_,c,_) -> T.add s (kludge loc); pe_ctyp c) ssltl >+ (*List.iter (fun ((loc,s),_,c,_) -> T.add s (kludge loc); pe_ctyp c) ssltl*) >+ List.iter (fun td -> >+ let loc,s = td.MLast.tdNam in >+ T.add s (kludge loc); >+ pe_ctyp td.MLast.tdDef >+ ) ssltl >+ > | <:str_item< value $opt:rf$ $list:pel$ >> -> List.iter (fun (p, _) -> pe_patt p) pel > | <:str_item< class $list:cd$ >> -> > List.iter (etag_class_info) cd >@@ -179,7 +187,13 @@ > -> T.add i loc; pe_module_type_expr mt > | <:sig_item< open $sl$ >> -> () > | <:sig_item< type $list:ssltl$ >> -> >- List.iter (fun ((loc,s),_,c,_) -> T.add s (kludge loc); pe_ctyp c) ssltl >+ (*List.iter (fun ((loc,s),_,c,_) -> T.add s (kludge loc); pe_ctyp c) ssltl*) >+ List.iter >+ (fun td -> >+ let loc,s = td.MLast.tdNam in >+ T.add s (kludge loc); >+ pe_ctyp td.MLast.tdDef >+ ) ssltl > | <:sig_item< value $s$ : $t$ >> -> T.add s loc > | <:sig_item< class $list:cd$ >> -> List.iter (etag_class_type_info) cd > | <:sig_item< class type $list:cd$ >> -> List.iter etag_class_type_info cd > >=== modified file 'otags-3.09.3.3/splay.ml' >--- otags-3.09.3.3/splay.ml 2009-03-14 18:35:37 +0000 >+++ otags-3.09.3.3/splay.ml 2009-03-19 17:47:06 +0000 >@@ -4,8 +4,8 @@ > > (* $Id: splay.ml,v 1.3 2007-03-15 22:40:43 tews Exp $ *) > >-(* ocamlc options: !-pp camlp4o!*) >-(* ocamldep options: !-pp camlp4o!*) >+(* ocamlc options: !-pp camlp5o!*) >+(* ocamldep options: !-pp camlp5o!*) > > (* dcell mutable, parcours fermeture éclair *) > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265241
:
187522
| 187524