head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2010Q1:1.7.0.4 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.6.0.2 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.5.0.20 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.18 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.16 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.14 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.12 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.10 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.8 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.1.0.6 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.4 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2010.04.22.07.01.13; author wiz; state dead; branches; next 1.7; 1.7 date 2009.10.18.12.47.53; author tonio; state Exp; branches; next 1.6; 1.6 date 2009.09.07.21.48.14; author tonio; state Exp; branches; next 1.5; 1.5 date 2007.09.14.15.34.12; author adam; state Exp; branches; next 1.4; 1.4 date 2005.03.24.11.32.50; author adam; state Exp; branches; next 1.3; 1.3 date 2005.02.04.21.35.51; author adrianp; state Exp; branches; next 1.2; 1.2 date 2004.12.24.17.16.04; author jmmv; state Exp; branches; next 1.1; 1.1 date 2004.04.22.09.18.41; author tron; state Exp; branches; next ; desc @@ 1.8 log @Remove patch that was removed from distinfo during update to 3.11.2. @ text @$NetBSD: patch-ba,v 1.7 2009/10/18 12:47:53 tonio Exp $ --- otherlibs/unix/socketaddr.c.orig 2005-03-24 18:20:53.000000000 +0100 +++ otherlibs/unix/socketaddr.c @@@@ -80,6 +80,9 @@@@ void get_sockaddr(value mladr, adr->s_inet6.sin6_family = AF_INET6; adr->s_inet6.sin6_addr = GET_INET6_ADDR(Field(mladr, 0)); adr->s_inet6.sin6_port = htons(Int_val(Field(mladr, 1))); +#ifdef SIN6_LEN + adr->s_gen.sa_len = +#endif *adr_len = sizeof(struct sockaddr_in6); break; } @@@@ -88,6 +91,9 @@@@ void get_sockaddr(value mladr, adr->s_inet.sin_family = AF_INET; adr->s_inet.sin_addr = GET_INET_ADDR(Field(mladr, 0)); adr->s_inet.sin_port = htons(Int_val(Field(mladr, 1))); +#ifdef SIN6_LEN + adr->s_gen.sa_len = +#endif *adr_len = sizeof(struct sockaddr_in); break; } @ 1.7 log @Fix PR pkg/42190 Use #ifdef SIN6_LEN to know whether we have a 4.3 bsd or 4.4 bsd sockaddr structure. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update lang/ocaml to 3.11.1 [PR pkg/41695] (Changes that can break existing programs are marked with a "*" ) Language features: - Addition of lazy patterns: "lazy " matches suspensions whose values, after forcing, match the pattern . - Introduction of private abbreviation types "type t = private ", for abstracting the actual manifest type in type abbreviations. - Subtyping is now allowed between a private abbreviation and its definition, and between a polymorphic method and its monomorphic instance. Compilers: - The file name for a compilation unit should correspond to a valid identifier (Otherwise dynamic linking and other things can fail, and a warning is emitted.) * Revised -output-obj: the output name must now be provided; its extension must be one of .o/.obj, .so/.dll, or .c for the bytecode compiler. The compilers can now produce a shared library (with all the needed -ccopts/-ccobjs options) directly. - -dtypes renamed to -annot, records (in .annot files) which function calls are tail calls. - All compiler error messages now include a file name and location, for better interaction with Emacs' compilation mode. - Optimized compilation of "lazy e" when the argument "e" is already evaluated. - Optimized compilation of equality tests with a variant constant constructor. - The -dllib options recorded in libraries are no longer ignored when -use_runtime or -use_prims is used (unless -no_auto_link is explicitly used). - Check that at most one of -pack, -a, -shared, -c, -output-obj is given on the command line. - Optimized compilation of private types as regular manifest types (e.g. abbreviation to float, float array or record types with only float fields). Native-code compiler: - New port: Mac OS X / Intel in 64-bit mode (configure with -cc "gcc -m64"). - A new option "-shared" to produce a plugin that can be dynamically loaded with the native version of Dynlink. - A new option "-nodynlink" to enable optimizations valid only for code that is never dynlinked (no-op except for AMD64). - More aggressive unboxing of floats and boxed integers. - Can select which assembler and asm options to use at configuration time. Run-time system: - New implementation of the page table describing the heap (two-level array in 32 bits, sparse hashtable in 64 bits), fixes issues with address space randomization on 64-bit OS (PR#4448). - New "generational" API for registering global memory roots with the GC, enables faster scanning of global roots. (The functions are caml_*_generational_global_root in .) - New function "caml_raise_with_args" to raise an exception with several arguments from C. - Changes in implementation of dynamic linking of C code: under Win32, use Alain Frisch's flexdll implementation of the dlopen API; under MacOSX, use dlopen API instead of MacOSX bundle API. - Programs may now choose a first-fit allocation policy instead of the default next-fit. First-fit reduces fragmentation but is slightly slower in some cases. Standard library: - Parsing library: new function "set_trace" to programmatically turn on or off the printing of a trace during parsing. - Printexc library: new functions "print_backtrace" and "get_backtrace" to obtain a stack backtrace of the most recently raised exception. New function "record_backtrace" to turn the exception backtrace mechanism on or off from within a program. - Scanf library: fine-tuning of meta format implementation; fscanf behaviour revisited: only one input buffer is allocated for any given input channel; the %n conversion does not count a lookahead character as read. Other libraries: - Dynlink: on some platforms, the Dynlink library is now available in native code. The boolean Dynlink.is_native allows the program to know whether it has been compiled in bytecode or in native code. - Bigarrays: added "unsafe_get" and "unsafe_set" (non-bound-checking versions of "get" and "set"). - Bigarrays: removed limitation "array dimension < 2^31". - Labltk: added support for TK 8.5. - Num: added conversions between big_int and int32, nativeint, int64. More efficient implementation of Num.quo_num and Num.mod_num. - Threads: improved efficiency of mutex and condition variable operations; improved interaction with Unix.fork (PR#4577). - Unix: added getsockopt_error returning type Unix.error. Added support for TCP_NODELAY and IPV6_ONLY socket options. - Win32 Unix: "select" now supports all kinds of file descriptors. Improved emulation of "lockf" (PR#4609). Tools: - ocamldebug now supported under Windows (MSVC and Mingw ports), but without the replay feature. (Contributed by Dmitry Bely and Sylvain Le Gall at OCamlCore with support from Lexifi.) - ocamldoc: new option -no-module-constraint-filter to include functions hidden by signature constraint in documentation. - ocamlmklib and ocamldep.opt now available under Windows ports. - ocamlmklib no longer supports the -implib option. - ocamlnat: an experimental native toplevel (not built by default). Camlp4: * programs linked with camlp4lib.cma now also need dynlink.cma. @ text @d4 2 a5 2 +++ otherlibs/unix/socketaddr.c 2009-05-31 14:23:50.000000000 +0200 @@@@ -80,7 +80,7 @@@@ d9 4 a12 2 - *adr_len = sizeof(struct sockaddr_in6); + adr->s_gen.sa_len = *adr_len = sizeof(struct sockaddr_in6); d15 1 a15 2 #endif @@@@ -88,7 +88,7 @@@@ d19 4 a22 2 - *adr_len = sizeof(struct sockaddr_in); + adr->s_gen.sa_len = *adr_len = sizeof(struct sockaddr_in); a24 1 } @ 1.5 log @Changes 3.10.0: - New language features - New tools - Faster type-checking of functor applications. - Referencing an interface compiled with -rectypes from a module not compiled with -rectypes is now an error. - Revised the "fragile matching" warning. - Print a stack backtrace on an uncaught exception. - Stack overflow detection on MS Windows 32 bits. - Stack overflow detection on MacOS X PPC and Intel. - Intel/AMD 64 bits: generate position-independent code by default. - Fixed bug involving -for-pack and missing .cmx files. - Fixed bug causing duplication of literals. - C/Caml interface functions take "char const *" arguments instead of "char *" when appropriate. - Faster string comparisons (fast case if strings are ==). - Other @ text @d3 20 a22 35 --- otherlibs/graph/Makefile.orig 2007-01-29 13:11:16.000000000 +0100 +++ otherlibs/graph/Makefile @@@@ -18,10 +18,10 @@@@ include ../../config/Makefile CC=$(BYTECC) -CFLAGS=-I../../byterun $(X11_INCLUDES) -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -CAMLC=../../ocamlcomp.sh -CAMLOPT=../../ocamlcompopt.sh -MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib +CFLAGS=-I../../byterun $(X11_INCLUDES) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CAMLC=${PREFIX}/bin/ocamlc +CAMLOPT=${PREFIX}/bin/ocamlopt +MKLIB=${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlmklib COMPFLAGS=-warn-error A -g OBJS=open.o draw.o fill.o color.o text.o \ @@@@ -50,13 +50,13 @@@@ clean: partialclean rm -f *.a *.so *.o install: - if test -f dllgraphics.so; then cp dllgraphics.so $(STUBLIBDIR)/dllgraphics.so; fi - cp libgraphics.a $(LIBDIR)/libgraphics.a + if test -f dllgraphics.so; then ${BSD_INSTALL_DATA} dllgraphics.so $(STUBLIBDIR)/dllgraphics.so; fi + ${BSD_INSTALL_DATA} libgraphics.a $(LIBDIR)/libgraphics.a cd $(LIBDIR); $(RANLIB) libgraphics.a - cp graphics.cm[ia] graphicsX11.cmi graphics.mli graphicsX11.mli $(LIBDIR) + ${BSD_INSTALL_DATA} graphics.cm[ia] graphicsX11.cmi graphics.mli graphicsX11.mli $(LIBDIR) installopt: - cp graphics.cmx graphics.cmxa graphics.a $(LIBDIR) + ${BSD_INSTALL_DATA} graphics.cmxa graphics.a $(LIBDIR) cd $(LIBDIR); $(RANLIB) graphics.a .SUFFIXES: .ml .mli .cmo .cmi .cmx @ 1.4 log @Changes 3.08.3: New features: - support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320) - ignore unknown warning options for forward and backward compatibility - runtime: export caml_compare_unordered (PR#3479) - camlp4: install argl.* files (PR#3439) - ocamldoc: add -man-section option - labltk: add the "solid" relief option (PR#3343) - compiler: ocamlc -i now prints variance annotations Bug fixes: - typing: fix unsoundness in type declaration variance inference. Type parameters which are constrained must now have an explicit variant annotation, otherwise they are invariant. This is not backward compatible, so this might break code which either uses subtyping or uses the relaxed value restriction (i.e. was not typable before 3.07) - typing: erroneous partial match warning for polymorphic variants (PR#3424) - runtime: handle the case of an empty command line (PR#3409, PR#3444) - stdlib: make Sys.executable_name an absolute path in native code (PR#3303) - runtime: fix memory leak in finalise.c - runtime: auto-trigger compaction even if gc is called manually (PR#3392) - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406) - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469) - windows (MS tools): use link /lib instead of lib (PR#3333) - windows (MS tools): change default install destination - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330) - graphics: make close_graph close the X display as well as the window (PR#3312) - num: fix big_int_of_string (empty string) (PR#3483) - num: fix big bug on 64-bit architecture (PR#3299) - str: better documentation of string_match and string_partial_match (PR#3395) - unix: fix file descriptor leak in Unix.accept (PR#3423) - unix: miscellaneous clean-ups - unix: fix documentation of Unix.tm (PR#3341) - graphics: fix problem when allocating lots of images under Windows (PR#3433) - compiler: fix error message with -pack when .cmi is missing (PR#3028) - cygwin: fix problem with compilation of camlheader (PR#3485) - stdlib: Filename.basename doesn't return an empty string any more (PR#3451) - stdlib: better documentation of Open_excl flag (PR#3450) - ocamlcp: accept -thread option (PR#3511) - ocamldep: handle spaces in file names (PR#3370) - compiler: remove spurious warning in pattern-matching on variants (PR#3424) - windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432) @ text @d3 1 a3 1 --- otherlibs/graph/Makefile.orig 2003-08-05 13:39:33.000000000 +0000 d13 1 a13 1 +CFLAGS+=-I../../byterun $(X11_INCLUDES) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) d17 1 a17 1 COMPFLAGS=-warn-error A @ 1.3 log @- Update from 3.06 to 3.08.2 - Lots of changes/bugfixes - see Changes for all the details @ text @d3 4 a6 3 --- otherlibs/graph/Makefile.orig 2003-08-05 14:39:33.000000000 +0100 +++ otherlibs/graph/Makefile 2005-01-13 16:14:53.000000000 +0000 @@@@ -19,9 +19,9 @@@@ d9 1 a9 1 CFLAGS=-I../../byterun $(X11_INCLUDES) -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) d13 1 d20 1 a20 1 @@@@ -50,13 +50,13 @@@@ @ 1.2 log @Do not depend on Tk nor X11. Two new packages will be added to provide the missing bits, namely labltk and ocaml-graphics, respectively. To simplify this, add a Makefile.common. Bump PKGREVISION to 8. Per discussion with wiz@@ a while ago. @ text @d1 1 a1 1 $NetBSD: patch-ba,v 1.1 2004/04/22 09:18:41 tron Exp $ d3 3 a5 3 --- otherlibs/graph/Makefile.orig 2002-06-27 13:36:01.000000000 +0200 +++ otherlibs/graph/Makefile @@@@ -19,9 +19,9 @@@@ include ../../config/Makefile d12 3 a14 3 +CAMLC=ocamlc +CAMLOPT=ocamlopt +MKLIB=ocamlmklib d18 1 a18 1 @@@@ -50,13 +50,13 @@@@ clean: partialclean d31 1 a31 1 - cp graphics.cmxa graphics.a $(LIBDIR) @ 1.1 log @Fix various issues with this package: - split patches files - always enable threading which has various advantages - it fixes the build of the Tk library - it greatly simplifies the package list handling - it provides threading support under NetBSD 1.6/1.6.x - correct default dependence in "buildlink2.mk" to "build" Bump package revision because of all these changes. @ text @d1 1 a1 1 $NetBSD$ d3 16 a18 3 --- otherlibs/graph/Makefile.orig Thu Jun 27 13:36:01 2002 +++ otherlibs/graph/Makefile Thu Apr 22 10:34:37 2004 @@@@ -50,13 +50,13 @@@@ @