SOURCES: ocaml-build.patch, ocaml-CFLAGS.patch, ocaml-db3.patch - ...
arekm
arekm at pld-linux.org
Sun Jul 15 20:47:12 CEST 2007
Author: arekm Date: Sun Jul 15 18:47:12 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 3.10.0
---- Files affected:
SOURCES:
ocaml-build.patch (1.3 -> 1.4) , ocaml-CFLAGS.patch (1.2 -> 1.3) , ocaml-db3.patch (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/ocaml-build.patch
diff -u SOURCES/ocaml-build.patch:1.3 SOURCES/ocaml-build.patch:1.4
--- SOURCES/ocaml-build.patch:1.3 Fri Apr 29 23:10:22 2005
+++ SOURCES/ocaml-build.patch Sun Jul 15 20:47:07 2007
@@ -1,27 +1,3 @@
-diff -ur ocaml-3.05/camlp4/meta/Makefile ocaml-3.05-/camlp4/meta/Makefile
---- ocaml-3.05/camlp4/meta/Makefile Fri Jul 19 16:53:49 2002
-+++ ocaml-3.05-/camlp4/meta/Makefile Thu Aug 8 13:19:11 2002
-@@ -2,7 +2,7 @@
-
- include ../config/Makefile
-
--INCLUDES=-I ../camlp4 -I ../boot -I $(OTOP)/utils
-+INCLUDES=-I ../camlp4 -I ../boot -I $(OTOP)/utils -I $(OTOP)/parsing
- OCAMLCFLAGS=-warn-error A $(INCLUDES)
- OBJS=q_MLast.cmo pa_r.cmo pa_rp.cmo pa_extend.cmo pa_extend_m.cmo pa_ifdef.cmo pr_dump.cmo
- CAMLP4RM=pa_r.cmo pa_rp.cmo pr_dump.cmo
-diff -ur ocaml-3.05/camlp4/ocaml_src/meta/Makefile ocaml-3.05-/camlp4/ocaml_src/meta/Makefile
---- ocaml-3.05/camlp4/ocaml_src/meta/Makefile Fri Jul 19 16:53:53 2002
-+++ ocaml-3.05-/camlp4/ocaml_src/meta/Makefile Thu Aug 8 13:19:37 2002
-@@ -2,7 +2,7 @@
-
- include ../../config/Makefile
-
--INCLUDES=-I ../camlp4 -I ../../boot -I $(OTOP)/utils
-+INCLUDES=-I ../camlp4 -I ../../boot -I $(OTOP)/utils -I $(OTOP)/parsing
- OCAMLCFLAGS=-warn-error A $(INCLUDES)
- OBJS=q_MLast.cmo pa_r.cmo pa_rp.cmo pa_extend.cmo pa_extend_m.cmo pa_ifdef.cmo pr_dump.cmo
- CAMLP4RM=pa_r.cmo pa_rp.cmo pr_dump.cmo
--- ocaml-3.08.3/configure.orig 2005-04-29 22:58:18.000000000 +0200
+++ ocaml-3.08.3/configure 2005-04-29 23:06:30.000000000 +0200
@@ -1322,6 +1322,7 @@
================================================================
Index: SOURCES/ocaml-CFLAGS.patch
diff -u SOURCES/ocaml-CFLAGS.patch:1.2 SOURCES/ocaml-CFLAGS.patch:1.3
--- SOURCES/ocaml-CFLAGS.patch:1.2 Sat Dec 10 01:24:33 2005
+++ SOURCES/ocaml-CFLAGS.patch Sun Jul 15 20:47:07 2007
@@ -172,10 +172,10 @@
# Compilation options
CC=$(BYTECC)
-CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-+override CFLAGS += -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
++override CFLAGS += -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
- CAMLC=../../ocamlcomp.sh -w s
- CAMLOPT=../../ocamlcompopt.sh -w s
+ CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../boot -w s
+ CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -w s
diff -Nur b.ocaml-3.08.4/otherlibs/num/Makefile.nt n.ocaml-3.08.4/otherlibs/num/Makefile.nt
--- b.ocaml-3.08.4/otherlibs/num/Makefile.nt 2004-11-29 09:50:23.000000000 +0100
+++ n.ocaml-3.08.4/otherlibs/num/Makefile.nt 2005-11-04 21:26:14.779320248 +0100
@@ -183,7 +183,7 @@
# Compilation options
CC=$(BYTECC)
--CFLAGS=-O -I../../byterun \
+-CFLAGS=-I../../byterun \
+override CFLAGS += -I../../byterun \
-DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../boot -w s
================================================================
Index: SOURCES/ocaml-db3.patch
diff -u SOURCES/ocaml-db3.patch:1.5 SOURCES/ocaml-db3.patch:1.6
--- SOURCES/ocaml-db3.patch:1.5 Sun Apr 23 00:38:22 2006
+++ SOURCES/ocaml-db3.patch Sun Jul 15 20:47:07 2007
@@ -1,13 +1,14 @@
---- ocaml-3.09.2/configure.orig 2006-04-19 22:15:48.276544500 +0200
-+++ ocaml-3.09.2/configure 2006-04-22 23:49:10.045620750 +0200
-@@ -1238,51 +1238,12 @@
+diff -urN ocaml-3.10.0.org/configure ocaml-3.10.0/configure
+--- ocaml-3.10.0.org/configure 2007-05-03 14:49:56.000000000 +0200
++++ ocaml-3.10.0/configure 2007-07-15 20:20:19.325848428 +0200
+@@ -1252,51 +1252,13 @@
# See if we can compile the dbm library
-dbm_include="not found"
-dbm_link="not found"
use_gdbm_ndbm=no
--
+
-for dir in /usr/include /usr/include/db1 /usr/include/gdbm; do
- if test -f $dir/ndbm.h; then
- dbm_include=$dir
@@ -42,8 +43,6 @@
- else
- dbm_include="-I$dbm_include"
- fi
-- echo "DBM_INCLUDES=$dbm_include" >> Makefile
-- echo "DBM_LINK=$dbm_link" >> Makefile
- if test "$use_gdbm_ndbm" = "yes"; then
- echo "#define DBM_USES_GDBM_NDBM" >> s.h
- fi
@@ -51,8 +50,8 @@
-fi
+dbm_include=""
+dbm_link="-ldb"
-+echo "DBM_INCLUDES=$dbm_include" >> Makefile
-+echo "DBM_LINK=$dbm_link" >> Makefile
+ echo "DBM_INCLUDES=$dbm_include" >> Makefile
+ echo "DBM_LINK=$dbm_link" >> Makefile
+otherlibraries="$otherlibraries dbm"
# Look for tcl/tk
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/ocaml-build.patch?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org/SOURCES/ocaml-CFLAGS.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/SOURCES/ocaml-db3.patch?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list