head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2012.08.30.11.56.07; author he; state dead; branches; next 1.1; 1.1 date 2012.07.31.08.16.07; author he; state Exp; branches; next ; desc @@ 1.2 log @Upgrade parrot to version 4.7.0. Pkgsrc changes: o Simplify the patch to remove the work-directory rpath. Upstream changes: - Core + Added .all_tags() and .all_tagged_pmcs() methods to PackfileView PMC + Several build and coding standards fixes @ text @$NetBSD: patch-ao,v 1.1 2012/07/31 08:16:07 he Exp $ Add Parrot_get_cpu_type() from generic/, since we have a local misc.c for netbsd. --- src/platform/netbsd/misc.c.orig 2012-06-06 18:03:39.000000000 +0000 +++ src/platform/netbsd/misc.c @@@@ -22,6 +22,10 @@@@ Miscellaneous helper functions that are #include "parrot/parrot.h" +#ifdef PARROT_HAS_HEADER_SYSUTSNAME +# include +#endif + /* HEADERIZER HFILE: none */ /* @@@@ -53,6 +57,33 @@@@ Parrot_platform_init_code(void) /* +=item C + +Fetch CPU type for non-win32 systems +For win32, look in platform/win32/misc.c + +=back + +=cut + +*/ + +STRING * +Parrot_get_cpu_type(Parrot_Interp interp) { + struct utsname uname_info; + char *proc_arch = ""; + +#ifdef PARROT_HAS_HEADER_SYSUTSNAME + uname(&uname_info); + proc_arch = uname_info.machine; +#endif + return Parrot_str_new_init(interp, proc_arch, strlen(proc_arch), + Parrot_ascii_encoding_ptr, 0); + +} + +/* + =back =cut @ 1.1 log @Upgrade parrot to version 4.5.0. Pkgsrc changes: - Add a patch to track the addition of Parrot_get_cpu_type() to misc.c, which is platform-dependent on NetBSD. - Fix pbc_to_exec.winxed so that there are no rpath build-directory references in installed executables. Reported upstream as issue #803. - Adjust PLIST to match installed files. Upstream changes: - Core + Added .write_bytes and .read_bytes methods to FileHandle and Socket PMCs. + Added Parrot_api_set_stdhandle, Parrot_api_new_call_object and Parrot_api_setup_signature functions to the embedding API + Removed the "can" VTABLE - Languages + Winxed snapshot updated to 1.9.1 - New syntax for parameters in multi - New syntax for initalization with new - Cast to var improved - IMCC + Removed .line, .file, setline and setfile directives from IMCC - Documentation + Fixed up Pod in 240 files to pass 't/codingstd/pod_description.t'. - Tests + Added 'docs/pdds' and 'docs/pdds/draft' as files for 'Parrot::Test::Pod.pm' to exclude. - Build + Reduced number of packages under 'lib/Parrot/Pmc2c/'. + Added method-level documentation to several of the remaining packages. + Added 'docs/pdds' and 'docs/pdds/draft' as files for 'Parrot::Test::Pod.pm' to exclude. - Community + M1, a C-like language that targets M0 had a burst of development and now has many working examples such as recursive Fibonacci and recursive factorial : https://github.com/parrot/m1 + Parrot bindings to LAPACK are being worked on as part of Google Summer of Code: https://github.com/leto/parrot-lapack @ text @d1 1 a1 1 $NetBSD$ @