SOURCES: ocaml-CFLAGS.patch - updated for 3.11.0

baggins baggins at pld-linux.org
Mon Feb 16 13:03:29 CET 2009


Author: baggins                      Date: Mon Feb 16 12:03:29 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 3.11.0

---- Files affected:
SOURCES:
   ocaml-CFLAGS.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/ocaml-CFLAGS.patch
diff -u SOURCES/ocaml-CFLAGS.patch:1.3 SOURCES/ocaml-CFLAGS.patch:1.4
--- SOURCES/ocaml-CFLAGS.patch:1.3	Sun Jul 15 20:47:07 2007
+++ SOURCES/ocaml-CFLAGS.patch	Mon Feb 16 13:03:23 2009
@@ -6,24 +6,24 @@
 %{__sed} -i -e 's at -pg -O -DPROFILING@ $(CFLAGS) @' asmrun/Makefile
 %{__sed} -i -e 's at -O@$(CFLAGS)@' otherlibs/systhreads/Makefile
 
-diff -Nur b.ocaml-3.08.4/asmrun/Makefile n.ocaml-3.08.4/asmrun/Makefile
---- b.ocaml-3.08.4/asmrun/Makefile	2004-05-09 17:19:16.000000000 +0200
-+++ n.ocaml-3.08.4/asmrun/Makefile	2005-11-04 21:26:14.810315536 +0100
+diff -ur ocaml-3.11.0/asmrun/Makefile ocaml-3.11.0.CFLAGS/asmrun/Makefile
+--- ocaml-3.11.0/asmrun/Makefile	2007-11-15 14:21:15.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/asmrun/Makefile	2009-02-16 12:18:06.599221049 +0100
 @@ -18,9 +18,9 @@
  CC=$(NATIVECC)
  FLAGS=-I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE \
-       -DTARGET_$(ARCH) -DSYS_$(SYSTEM) 
+       -DTARGET_$(ARCH) -DSYS_$(SYSTEM) $(IFLEXDIR)
 -CFLAGS=$(FLAGS) -O $(NATIVECCCOMPOPTS)
 +override CFLAGS += $(FLAGS) $(NATIVECCCOMPOPTS)
  DFLAGS=$(FLAGS) -g -DDEBUG $(NATIVECCCOMPOPTS)
 -PFLAGS=$(FLAGS) -pg -O -DPROFILING $(NATIVECCPROFOPTS)
 +PFLAGS=$(FLAGS)  $(CFLAGS)  $(NATIVECCPROFOPTS)
  
- COBJS=startup.o main.o fail.o roots.o globroots.o signals.o \
+ COBJS=startup.o main.o fail.o roots.o globroots.o signals.o signals_asm.o \
    misc.o freelist.o major_gc.o minor_gc.o memory.o alloc.o compare.o ints.o \
-diff -Nur b.ocaml-3.08.4/asmrun/Makefile.nt n.ocaml-3.08.4/asmrun/Makefile.nt
---- b.ocaml-3.08.4/asmrun/Makefile.nt	2002-06-18 18:17:34.000000000 +0200
-+++ n.ocaml-3.08.4/asmrun/Makefile.nt	2005-11-04 21:26:14.407376792 +0100
+diff -ur ocaml-3.11.0/asmrun/Makefile.nt ocaml-3.11.0.CFLAGS/asmrun/Makefile.nt
+--- ocaml-3.11.0/asmrun/Makefile.nt	2007-11-15 14:21:15.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/asmrun/Makefile.nt	2009-02-16 12:18:01.212550815 +0100
 @@ -16,7 +16,7 @@
  include ../config/Makefile
  
@@ -31,178 +31,106 @@
 -CFLAGS=-I../byterun -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) $(NATIVECCCOMPOPTS)
 +override CFLAGS += -I../byterun -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) $(NATIVECCCOMPOPTS)
  
- COBJS=startup.$(O) main.$(O) fail.$(O) roots.$(O) signals.$(O) \
+ COBJS=startup.$(O) main.$(O) fail.$(O) roots.$(O) signals.$(O) signals_asm.$(O) \
    misc.$(O) freelist.$(O) major_gc.$(O) minor_gc.$(O) memory.$(O) alloc.$(O) \
-diff -Nur b.ocaml-3.08.4/byterun/Makefile n.ocaml-3.08.4/byterun/Makefile
---- b.ocaml-3.08.4/byterun/Makefile	2004-08-20 17:11:36.000000000 +0200
-+++ n.ocaml-3.08.4/byterun/Makefile	2005-11-04 21:26:14.408376640 +0100
-@@ -16,7 +16,7 @@
- include ../config/Makefile
- 
- CC=$(BYTECC)
--CFLAGS=-DCAML_NAME_SPACE -O $(BYTECCCOMPOPTS)
-+override CFLAGS += -DCAML_NAME_SPACE $(BYTECCCOMPOPTS)
- DFLAGS=-DCAML_NAME_SPACE -g -DDEBUG $(BYTECCCOMPOPTS)
- 
- OBJS=interp.o misc.o stacks.o fix_code.o startup.o main.o \
-diff -Nur b.ocaml-3.08.4/byterun/Makefile.nt n.ocaml-3.08.4/byterun/Makefile.nt
---- b.ocaml-3.08.4/byterun/Makefile.nt	2004-08-20 17:11:36.000000000 +0200
-+++ n.ocaml-3.08.4/byterun/Makefile.nt	2005-11-04 21:26:14.410376336 +0100
-@@ -16,7 +16,7 @@
- include ../config/Makefile
+diff -ur ocaml-3.11.0/byterun/Makefile ocaml-3.11.0.CFLAGS/byterun/Makefile
+--- ocaml-3.11.0/byterun/Makefile	2008-11-08 17:29:02.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/byterun/Makefile	2009-02-16 12:18:01.212550815 +0100
+@@ -15,7 +15,7 @@
  
- CC=$(BYTECC)
--CFLAGS=-DIN_OCAMLRUN -DOCAML_STDLIB_DIR='"$(LIBDIR)"'
-+override CFLAGS += -DIN_OCAMLRUN -DOCAML_STDLIB_DIR='"$(LIBDIR)"'
- 
- COMMONOBJS=interp.o misc.o stacks.o fix_code.o startup.o \
-   fail.o signals.o freelist.o major_gc.o minor_gc.o \
-diff -Nur b.ocaml-3.08.4/otherlibs/bigarray/Makefile n.ocaml-3.08.4/otherlibs/bigarray/Makefile
---- b.ocaml-3.08.4/otherlibs/bigarray/Makefile	2002-06-27 13:36:00.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/bigarray/Makefile	2005-11-04 21:26:14.722328912 +0100
-@@ -16,7 +16,7 @@
- include ../../config/Makefile
- 
- CC=$(BYTECC)
--CFLAGS=-I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+override CFLAGS += -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- CAMLC=../../ocamlcomp.sh -I ../unix
- CAMLOPT=../../ocamlcompopt.sh -I ../unix
- MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
-diff -Nur b.ocaml-3.08.4/otherlibs/bigarray/Makefile.nt n.ocaml-3.08.4/otherlibs/bigarray/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/bigarray/Makefile.nt	2003-07-08 16:24:07.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/bigarray/Makefile.nt	2005-11-04 21:26:14.723328760 +0100
-@@ -16,7 +16,7 @@
- include ../../config/Makefile
+ include Makefile.common
  
- CC=$(BYTECC)
--CFLAGS=-I../../byterun -I../win32unix -DIN_OCAML_BIGARRAY
-+override CFLAGS += -I../../byterun -I../win32unix -DIN_OCAML_BIGARRAY
- CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../stdlib -I ../win32unix
- CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../win32unix
+-CFLAGS=-DCAML_NAME_SPACE -O $(BYTECCCOMPOPTS) $(IFLEXDIR)
++override CFLAGS += -DCAML_NAME_SPACE $(BYTECCCOMPOPTS) $(IFLEXDIR)
+ DFLAGS=-DCAML_NAME_SPACE -g -DDEBUG $(BYTECCCOMPOPTS)
  
-diff -Nur b.ocaml-3.08.4/otherlibs/dbm/Makefile n.ocaml-3.08.4/otherlibs/dbm/Makefile
---- b.ocaml-3.08.4/otherlibs/dbm/Makefile	2002-06-27 13:36:01.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/dbm/Makefile	2005-11-04 21:26:14.724328608 +0100
-@@ -24,7 +24,7 @@
- MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
- COMPFLAGS=-warn-error A
+ OBJS=$(COMMONOBJS) unix.o main.o
+diff -ur ocaml-3.11.0/byterun/Makefile.nt ocaml-3.11.0.CFLAGS/byterun/Makefile.nt
+--- ocaml-3.11.0/byterun/Makefile.nt	2008-11-26 14:26:53.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/byterun/Makefile.nt	2009-02-16 12:18:01.215883365 +0100
+@@ -15,7 +15,7 @@
+ 
+ include Makefile.common
+ 
+-CFLAGS=-DOCAML_STDLIB_DIR='"$(LIBDIR)"' $(IFLEXDIR)
++override CFLAGS += -DOCAML_STDLIB_DIR='"$(LIBDIR)"' $(IFLEXDIR)
+ 
+ DBGO=d.$(O)
+ OBJS=$(COMMONOBJS:.o=.$(O)) win32.$(O) main.$(O)
+diff -ur ocaml-3.11.0/otherlibs/Makefile ocaml-3.11.0.CFLAGS/otherlibs/Makefile
+--- ocaml-3.11.0/otherlibs/Makefile	2007-11-08 10:17:47.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/otherlibs/Makefile	2009-02-16 12:18:01.282552384 +0100
+@@ -17,7 +17,7 @@
  
--CFLAGS=$(DBM_INCLUDES) -I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+override CFLAGS += $(DBM_INCLUDES) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- COBJS=cldbm.o
- 
- all: libmldbm.a dbm.cmi dbm.cma
-diff -Nur b.ocaml-3.08.4/otherlibs/graph/Makefile n.ocaml-3.08.4/otherlibs/graph/Makefile
---- b.ocaml-3.08.4/otherlibs/graph/Makefile	2005-06-22 17:47:33.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/graph/Makefile	2005-11-04 21:26:14.727328152 +0100
-@@ -18,7 +18,7 @@
- include ../../config/Makefile
+ CAMLC=$(ROOTDIR)/ocamlcomp.sh
+ CAMLOPT=$(ROOTDIR)/ocamlcompopt.sh
+-CFLAGS=-I$(ROOTDIR)/byterun -O $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
++override CFLAGS += -I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
+ 
+ include ../Makefile.shared
+ # Note .. is the current directory (this makefile is included from
+diff -ur ocaml-3.11.0/otherlibs/Makefile.nt ocaml-3.11.0.CFLAGS/otherlibs/Makefile.nt
+--- ocaml-3.11.0/otherlibs/Makefile.nt	2007-11-08 10:17:48.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/otherlibs/Makefile.nt	2009-02-16 12:18:01.282552384 +0100
+@@ -17,7 +17,7 @@
  
- CC=$(BYTECC)
--CFLAGS=-I../../byterun $(X11_INCLUDES) -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+override CFLAGS += -I../../byterun $(X11_INCLUDES) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- CAMLC=../../ocamlcomp.sh
- CAMLOPT=../../ocamlcompopt.sh
- MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
-diff -Nur b.ocaml-3.08.4/otherlibs/labltk/browser/Makefile.nt n.ocaml-3.08.4/otherlibs/labltk/browser/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/labltk/browser/Makefile.nt	2005-06-27 09:01:40.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/labltk/browser/Makefile.nt	2005-11-04 21:26:14.730327696 +0100
-@@ -4,7 +4,7 @@
+ CAMLC=$(CAMLRUN) $(ROOTDIR)/ocamlc -nostdlib -I $(ROOTDIR)/stdlib -w s
+ CAMLOPT=$(CAMLRUN) $(ROOTDIR)/ocamlopt -nostdlib -I $(ROOTDIR)/stdlib -w s
+-CFLAGS=-I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
++override CFLAGS += -I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
+ 
+ include ../Makefile.shared
+ # Note .. is the current directory (this makefile is included from
+diff -ur ocaml-3.11.0/otherlibs/labltk/browser/Makefile.nt ocaml-3.11.0.CFLAGS/otherlibs/labltk/browser/Makefile.nt
+--- ocaml-3.11.0/otherlibs/labltk/browser/Makefile.nt	2008-12-03 14:03:18.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/otherlibs/labltk/browser/Makefile.nt	2009-02-16 12:18:01.272552219 +0100
+@@ -1,6 +1,6 @@
  OTHERSLIB=-I $(OTHERS)/win32unix -I $(OTHERS)/str -I $(OTHERS)/systhreads
- OCAMLTOPLIB=-I $(TOPDIR)/parsing -I $(TOPDIR)/utils -I $(TOPDIR)/typing
- INCLUDES=$(OTHERSLIB) $(LABLTKLIB) $(OCAMLTOPLIB)
+ 
 -CCFLAGS=-I../../../byterun $(TK_DEFS)
 +override CCFLAGS += -I../../../byterun $(TK_DEFS) $(CFLAGS)
  
- ifeq ($(CCOMPTYPE),cc)
- WINDOWS_APP=-cclib "-Wl,--subsystem,windows"
-diff -Nur b.ocaml-3.08.4/otherlibs/labltk/support/Makefile n.ocaml-3.08.4/otherlibs/labltk/support/Makefile
---- b.ocaml-3.08.4/otherlibs/labltk/support/Makefile	2002-06-27 13:36:01.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/labltk/support/Makefile	2005-11-04 21:26:14.772321312 +0100
-@@ -11,7 +11,7 @@
- COBJS=cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o \
-       cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o
+ include ../support/Makefile.common
+ 
+diff -ur ocaml-3.11.0/otherlibs/labltk/support/Makefile ocaml-3.11.0.CFLAGS/otherlibs/labltk/support/Makefile
+--- ocaml-3.11.0/otherlibs/labltk/support/Makefile	2008-04-22 09:38:07.000000000 +0200
++++ ocaml-3.11.0.CFLAGS/otherlibs/labltk/support/Makefile	2009-02-16 12:18:01.282552384 +0100
+@@ -12,7 +12,7 @@
+       cltkFile.$(O) cltkMain.$(O) cltkMisc.$(O) cltkTimer.$(O) \
+       cltkVar.$(O) cltkWait.$(O) cltkImg.$(O)
  
 -CCFLAGS=-I../../../byterun $(TK_DEFS) $(SHAREDCCCOMPOPTS)
 +override CCFLAGS += -I../../../byterun $(TK_DEFS) $(SHAREDCCCOMPOPTS) $(CFLAGS)
  
- COMPFLAGS=-I $(OTHERS)/unix
- 
-diff -Nur b.ocaml-3.08.4/otherlibs/labltk/support/Makefile.nt n.ocaml-3.08.4/otherlibs/labltk/support/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/labltk/support/Makefile.nt	2003-07-10 11:18:02.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/labltk/support/Makefile.nt	2005-11-04 21:26:14.774321008 +0100
-@@ -13,7 +13,7 @@
- DCOBJS=$(COBJS:.o=.$(DO))
- SCOBJS=$(COBJS:.o=.$(SO))
- 
--CCFLAGS=-I../../../byterun -I../../win32unix $(TK_DEFS) -DIN_CAMLTKSUPPORT
-+override CCFLAGS += -I../../../byterun -I../../win32unix $(TK_DEFS) -DIN_CAMLTKSUPPORT $(CFLAGS)
- 
- COMPFLAGS=-I $(OTHERS)/win32unix
- 
-diff -Nur b.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile n.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile
---- b.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile	2004-05-08 18:04:39.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile	2005-11-04 21:26:14.776320704 +0100
-@@ -1,7 +1,7 @@
+ COMPFLAGS=-I $(OTHERS)/win32unix -I $(OTHERS)/unix
+ THFLAGS=-I $(OTHERS)/systhreads -I $(OTHERS)/threads
+diff -ur ocaml-3.11.0/otherlibs/labltk/tkanim/Makefile ocaml-3.11.0.CFLAGS/otherlibs/labltk/tkanim/Makefile
+--- ocaml-3.11.0/otherlibs/labltk/tkanim/Makefile	2007-12-12 15:09:45.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/otherlibs/labltk/tkanim/Makefile	2009-02-16 12:18:01.282552384 +0100
+@@ -4,7 +4,7 @@
  include ../support/Makefile.common
  
- COMPFLAGS=-I ../../../byterun -I ../support -I ../camltk -I ../../unix
+ COMPFLAGS=-I ../support -I ../camltk -I ../../unix -I ../../win32unix
 -CCFLAGS=-I../../../byterun -I../support $(TK_DEFS) $(SHAREDCCCOMPOPTS)
 +override CCFLAGS += -I../../../byterun -I../support $(TK_DEFS) $(SHAREDCCCOMPOPTS) $(CFLAGS)
  
- all: tkanim.cma libtkanim.a
- opt: tkanim.cmxa libtkanim.a
-diff -Nur b.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile.nt n.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile.nt	2002-06-27 13:36:01.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/labltk/tkanim/Makefile.nt	2005-11-04 21:26:14.777320552 +0100
-@@ -1,6 +1,6 @@
- include ../support/Makefile.common.nt
- 
--CCFLAGS=-I../support -I../../../byterun $(TK_DEFS)
-+override CCFLAGS += -I../support -I../../../byterun $(TK_DEFS) $(CFLAGS)
- 
- COMPFLAGS=-I $(OTHERS)/win32unix -I ../support -I ../camltk
- 
-diff -Nur b.ocaml-3.08.4/otherlibs/num/Makefile n.ocaml-3.08.4/otherlibs/num/Makefile
---- b.ocaml-3.08.4/otherlibs/num/Makefile	2003-10-24 11:17:31.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/num/Makefile	2005-11-04 21:26:14.778320400 +0100
-@@ -19,7 +19,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-+override CFLAGS += -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-           -DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
- 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
-@@ -19,7 +19,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--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
- CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -w s
-diff -Nur b.ocaml-3.08.4/otherlibs/num/test/Makefile n.ocaml-3.08.4/otherlibs/num/test/Makefile
---- b.ocaml-3.08.4/otherlibs/num/test/Makefile	2003-10-24 11:17:46.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/num/test/Makefile	2005-11-04 21:26:14.781319944 +0100
+ all: tkanim.cma libtkanim.$(A)
+ opt: tkanim.cmxa libtkanim.$(A)
+diff -ur ocaml-3.11.0/otherlibs/num/test/Makefile ocaml-3.11.0.CFLAGS/otherlibs/num/test/Makefile
+--- ocaml-3.11.0/otherlibs/num/test/Makefile	2008-09-10 18:02:52.000000000 +0200
++++ ocaml-3.11.0.CFLAGS/otherlibs/num/test/Makefile	2009-02-16 12:18:01.285892127 +0100
 @@ -18,7 +18,7 @@
- CAMLC=../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib
+ CAMLC=../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib -w A -warn-error A
  CAMLOPT=../../../boot/ocamlrun ../../../ocamlopt -I ../../../stdlib
  CC=$(BYTECC)
 -CFLAGS=-I.. -I../../../byterun $(BYTECCCOMPOPTS)
 +override CFLAGS += -I.. -I../../../byterun $(BYTECCCOMPOPTS)
  
- test: test.byt test.opt
- 	if $(SUPPORTS_SHARED_LIBRARIES); then ../../../byterun/ocamlrun -I .. ./test.byt; else ./test.byt; fi
-diff -Nur b.ocaml-3.08.4/otherlibs/num/test/Makefile.nt n.ocaml-3.08.4/otherlibs/num/test/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/num/test/Makefile.nt	2004-04-01 15:10:12.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/num/test/Makefile.nt	2005-11-04 21:26:14.782319792 +0100
+ test: test.byt test.opt test_pi
+ 	if $(SUPPORTS_SHARED_LIBRARIES); \
+diff -ur ocaml-3.11.0/otherlibs/num/test/Makefile.nt ocaml-3.11.0.CFLAGS/otherlibs/num/test/Makefile.nt
+--- ocaml-3.11.0/otherlibs/num/test/Makefile.nt	2004-04-01 15:10:12.000000000 +0200
++++ ocaml-3.11.0.CFLAGS/otherlibs/num/test/Makefile.nt	2009-02-16 12:18:01.285892127 +0100
 @@ -18,7 +18,7 @@
  CAMLC=../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib -I ..
  CAMLOPT=../../../boot/ocamlrun ../../../ocamlopt -I ../../../stdlib -I ..
@@ -212,33 +140,9 @@
  
  test: test.byt test.opt
  	../../../byterun/ocamlrun -I .. ./test.byt
-diff -Nur b.ocaml-3.08.4/otherlibs/str/Makefile n.ocaml-3.08.4/otherlibs/str/Makefile
---- b.ocaml-3.08.4/otherlibs/str/Makefile	2002-12-09 15:05:18.000000000 +0100
-+++ n.ocaml-3.08.4/otherlibs/str/Makefile	2005-11-04 21:26:14.784319488 +0100
-@@ -19,7 +19,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+override CFLAGS += -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- CAMLC=../../ocamlcomp.sh
- CAMLOPT=../../ocamlcompopt.sh
- COMPFLAGS=-warn-error A
-diff -Nur b.ocaml-3.08.4/otherlibs/str/Makefile.nt n.ocaml-3.08.4/otherlibs/str/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/str/Makefile.nt	2002-12-09 15:05:18.000000000 +0100
-+++ n.ocaml-3.08.4/otherlibs/str/Makefile.nt	2005-11-04 21:26:14.786319184 +0100
-@@ -19,7 +19,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-I../../byterun
-+override CFLAGS += -I../../byterun
- CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../boot
- CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib
- DCOBJS=strstubs.$(DO)
-diff -Nur b.ocaml-3.08.4/otherlibs/systhreads/Makefile n.ocaml-3.08.4/otherlibs/systhreads/Makefile
---- b.ocaml-3.08.4/otherlibs/systhreads/Makefile	2003-08-21 15:52:07.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/systhreads/Makefile	2005-11-04 21:26:14.815314776 +0100
+diff -ur ocaml-3.11.0/otherlibs/systhreads/Makefile ocaml-3.11.0.CFLAGS/otherlibs/systhreads/Makefile
+--- ocaml-3.11.0/otherlibs/systhreads/Makefile	2008-07-15 17:31:32.000000000 +0200
++++ ocaml-3.11.0.CFLAGS/otherlibs/systhreads/Makefile	2009-02-16 12:18:13.469214951 +0100
 @@ -35,7 +35,7 @@
  	$(MKLIB) -o threads $(BYTECODE_C_OBJS)
  
@@ -257,9 +161,21 @@
  	mv posix.o posix_n.o
  
  threads.cma: $(THREAD_OBJS)
-diff -Nur b.ocaml-3.08.4/otherlibs/threads/Makefile n.ocaml-3.08.4/otherlibs/threads/Makefile
---- b.ocaml-3.08.4/otherlibs/threads/Makefile	2003-07-17 10:38:28.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/threads/Makefile	2005-11-04 21:26:14.790318576 +0100
+diff -ur ocaml-3.11.0/otherlibs/systhreads/Makefile.nt ocaml-3.11.0.CFLAGS/otherlibs/systhreads/Makefile.nt
+--- ocaml-3.11.0/otherlibs/systhreads/Makefile.nt	2007-11-06 16:16:56.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/otherlibs/systhreads/Makefile.nt	2009-02-16 12:18:01.285892127 +0100
+@@ -20,7 +20,7 @@
+ CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../win32unix
+ COMPFLAGS=-warn-error A -g
+ MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
+-CFLAGS=-I../../byterun $(EXTRACFLAGS)
++override CFLAGS += -I../../byterun $(EXTRACFLAGS)
+ 
+ CAMLOBJS=thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
+ CMIFILES=$(CAMLOBJS:.cmo=.cmi)
+diff -ur ocaml-3.11.0/otherlibs/threads/Makefile ocaml-3.11.0.CFLAGS/otherlibs/threads/Makefile
+--- ocaml-3.11.0/otherlibs/threads/Makefile	2008-10-08 15:07:13.000000000 +0200
++++ ocaml-3.11.0.CFLAGS/otherlibs/threads/Makefile	2009-02-16 12:18:01.285892127 +0100
 @@ -16,7 +16,7 @@
  include ../../config/Makefile
  
@@ -269,45 +185,9 @@
  CAMLC=../../ocamlcomp.sh -I ../unix
  MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
  COMPFLAGS=-warn-error A
-diff -Nur b.ocaml-3.08.4/otherlibs/unix/Makefile n.ocaml-3.08.4/otherlibs/unix/Makefile
---- b.ocaml-3.08.4/otherlibs/unix/Makefile	2004-04-09 15:25:20.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/unix/Makefile	2005-11-04 21:26:14.792318272 +0100
-@@ -19,7 +19,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+override CFLAGS += -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- CAMLC=../../ocamlcomp.sh
- CAMLOPT=../../ocamlcompopt.sh
- MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib
-diff -Nur b.ocaml-3.08.4/otherlibs/win32graph/Makefile.nt n.ocaml-3.08.4/otherlibs/win32graph/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/win32graph/Makefile.nt	2004-06-21 17:31:58.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/win32graph/Makefile.nt	2005-11-04 21:26:14.793318120 +0100
-@@ -17,7 +17,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-I../../byterun
-+override CFLAGS += -I../../byterun
- CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../stdlib
- CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib
- COMPFLAGS=-warn-error A
-diff -Nur b.ocaml-3.08.4/otherlibs/win32unix/Makefile.nt n.ocaml-3.08.4/otherlibs/win32unix/Makefile.nt
---- b.ocaml-3.08.4/otherlibs/win32unix/Makefile.nt	2004-05-30 10:17:06.000000000 +0200
-+++ n.ocaml-3.08.4/otherlibs/win32unix/Makefile.nt	2005-11-04 21:26:14.794317968 +0100
-@@ -17,7 +17,7 @@
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-I../../byterun -I../unix
-+override CFLAGS += -I../../byterun -I../unix
- CAMLC=../../boot/ocamlrun ../../ocamlc -I ../../stdlib
- CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib
- COMPFLAGS=-warn-error A
-diff -Nur b.ocaml-3.08.4/win32caml/Makefile n.ocaml-3.08.4/win32caml/Makefile
---- b.ocaml-3.08.4/win32caml/Makefile	2004-06-17 09:33:44.000000000 +0200
-+++ n.ocaml-3.08.4/win32caml/Makefile	2005-11-04 21:26:14.803316600 +0100
+diff -ur ocaml-3.11.0/win32caml/Makefile ocaml-3.11.0.CFLAGS/win32caml/Makefile
+--- ocaml-3.11.0/win32caml/Makefile	2007-11-15 14:21:15.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/win32caml/Makefile	2009-02-16 12:18:01.289259949 +0100
 @@ -16,7 +16,7 @@
  include ../config/Makefile
  
@@ -317,9 +197,9 @@
  
  OBJS=startocaml.$(O) ocamlres.$(O) ocaml.$(O) menu.$(O) \
    history.$(O) editbuffer.$(O)
-diff -Nur b.ocaml-3.08.4/yacc/Makefile n.ocaml-3.08.4/yacc/Makefile
---- b.ocaml-3.08.4/yacc/Makefile	2000-08-10 11:58:08.000000000 +0200
-+++ n.ocaml-3.08.4/yacc/Makefile	2005-11-04 21:26:14.803316600 +0100
+diff -ur ocaml-3.11.0/yacc/Makefile ocaml-3.11.0.CFLAGS/yacc/Makefile
+--- ocaml-3.11.0/yacc/Makefile	2007-02-07 15:49:42.000000000 +0100
++++ ocaml-3.11.0.CFLAGS/yacc/Makefile	2009-02-16 12:18:01.289259949 +0100
 @@ -17,7 +17,7 @@
  include ../config/Makefile
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ocaml-CFLAGS.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list