Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some cleanup patches and other stuff ... #2726

Closed
vicuna opened this issue Mar 22, 2001 · 2 comments
Closed

some cleanup patches and other stuff ... #2726

vicuna opened this issue Mar 22, 2001 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 22, 2001

Original bug ID: 321
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Bonjour, ...

Voici 3 patch contre le source 3.01. J'ai eu besoin de tout cela pour le
package debian de ocaml.

  • ocaml_ndbm.diff :
    1 patch contre configure, pour reconnaitre correctement la librairie ndbm
    sur debian/woody et debian/unstable.

  • ocaml_arm.diff :
    1 patch pour reconnaitre egalement l'architecture armv3l. Je ne suis pas
    usr que cela marchera, mais j'ai eu un rapport de bug d'une personne qui
    essayait de construire le package ocaml sur un armv3l. J'attend de voir si
    ce patch marchera pour lui. Je ne connait pas assez l'architecture arm,
    pour savoir si la difference entre le armv3l et l'armv4l et sa110 sont
    assez petite pour permettre l'utilisation de ocaml sur armv3l sans
    probleme.

  • ocaml_clean.diff :
    1 patch qui rajoute les regles clean: necessaire a obtenir un repertoire
    ocaml aussi similaire que possible a celui d'origine. Il manque encore le
    traitement du repertoire boot, que je recopie de maniere externe pour le
    moment, ainsi que des choses dans le repertoire otherlibs/labltk/lib, que
    je ne comprend pas tres bien. (modules, .depend et labltk ne sont pas
    effacer).

Amcialement,

Sven Luther


--- ocaml-3.01.orig/configure
+++ ocaml-3.01/configure
@@ -883,6 +883,8 @@
dbm_link=""
elif sh ./hasgot -lndbm dbm_open; then
dbm_link="-cclib -lndbm"

  • elif sh ./hasgot -ldb1 dbm_open; then
  •  dbm_link="-cclib -ldb1"
    
    else
    dbm_include="not found"
    fi

--- ocaml-3.01.orig/config/auto-aux/config.guess
+++ ocaml-3.01/config/auto-aux/config.guess
@@ -354,6 +354,7 @@
elif test "${UNAME_MACHINE}" = "osfmach3_ppc" ; then
echo powerpc-unknown-linux ; exit 0
elif test "${UNAME_MACHINE}" = "sa110" ||

  •         test "${UNAME_MACHINE}" = "armv3l" ||
            test "${UNAME_MACHINE}" = "armv4l" ; then
         echo arm-unknown-linux ; exit 0
       else
    

--- ocaml-3.01.orig/asmrun/Makefile
+++ ocaml-3.01/asmrun/Makefile
@@ -136,7 +136,7 @@
LINKEDFILES=misc.c freelist.c major_gc.c minor_gc.c memory.c alloc.c array.c
compare.c ints.c floats.c str.c io.c extern.c intern.c hash.c sys.c
parsing.c gc_ctrl.c terminfo.c md5.c obj.c lexing.c printexc.c callback.c \

  • weak.c compact.c finalise.c meta.c
  • weak.c compact.c finalise.c meta.c custom.c main.c

clean::
rm -f $(LINKEDFILES)
--- ocaml-3.01.orig/Makefile
+++ ocaml-3.01/Makefile
@@ -448,6 +448,7 @@
clean::
cd byterun; $(MAKE) clean
rm -f stdlib/libcamlrun.a

  • rm -f stdlib/caml
    alldepend::
    cd byterun; $(MAKE) depend

--- ocaml-3.01.orig/lex/Makefile
+++ ocaml-3.01/lex/Makefile
@@ -37,7 +37,7 @@

clean::
rm -f ocamllex ocamllex.opt

  • rm -f *.cmo *.cmi
  • rm -f *.cmo *.cmi *.cmx *.o

parser.ml parser.mli: parser.mly
$(CAMLYACC) $(YACCFLAGS) parser.mly
--- ocaml-3.01.orig/otherlibs/bigarray/Makefile
+++ ocaml-3.01/otherlibs/bigarray/Makefile
@@ -50,10 +50,10 @@
cd $(LIBDIR); $(RANLIB) bigarray.a

partialclean:

  • rm -f .cm
  • rm -f .cm

clean: partialclean

  • rm -f libbigarray.a *.o
  • rm -f libbigarray.a *.o bigarray.a

.SUFFIXES: .ml .mli .cmo .cmi .cmx

--- ocaml-3.01.orig/otherlibs/systhreads/Makefile
+++ ocaml-3.01/otherlibs/systhreads/Makefile
@@ -61,7 +61,7 @@
rm -f .cm

clean: partialclean

  • rm -f libthreads*.a *.o
  • rm -f libthreads*.a .o threads.a
    rm -f $(GENFILES)

install:



@vicuna
Copy link
Author

vicuna commented Mar 30, 2001

Comment author: administrator

Bonjour Sven,

Merci pour les patches, je les ai appliqués dans les sources de
travail.

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Mar 30, 2001

Comment author: administrator

Patches merged in 2001-03-30 by XL.

@vicuna vicuna closed this as completed Mar 30, 2001
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant