argh. (or, "that should speed up bulk builds!") http://bazaar.launchpad.net/~maria-captains/maria/5.5-release/revision/2502.531.1
As they specifically mention lua coco (coco.luajit.org) maybe it's similar enough that coco's setjmp-based code could be borrowed... Landry Breuil <lan...@rhaalovely.net> wrote: >On Fri, May 24, 2013 at 06:33:11PM -0600, Brad Smith wrote: >> CVSROOT: /cvs >> Module name: ports >> Changes by: b...@cvs.openbsd.org 2013/05/24 18:33:11 >> >> Modified files: >> audio/squeezecenter: Makefile >> benchmarks/sysbench: Makefile >> databases : Makefile >> databases/dbic++: Makefile >> databases/hs-HDBC-mysql: Makefile >> databases/libdbi-drivers: Makefile >> databases/luadbi: Makefile >> databases/mysqlcc: Makefile >> databases/p5-Class-DBI-mysql: Makefile >> databases/p5-DBD-mysql: Makefile >> databases/py-mysql: Makefile >> databases/ruby-do_mysql: Makefile >> databases/ruby-mysql: Makefile >> databases/ruby-mysql2: Makefile >> databases/ruby-mysqlplus: Makefile >> devel/mysql++ : Makefile >> games/rftg : Makefile >> lang/io : Makefile >> lang/php : Makefile.inc >> lang/php/5.2 : Makefile >> lang/php/5.3 : Makefile >> mail/bmf : Makefile >> mail/courier-authlib: Makefile >> mail/dovecot : Makefile >> mail/dspam : Makefile >> mail/exim : Makefile >> mail/perdition : Makefile >> mail/postfix : Makefile.inc >> mail/postfix/snapshot: Makefile >> mail/postfix/stable: Makefile >> mail/zarafa/zarafa: Makefile >> net/freeradius : Makefile >> net/gnugk : Makefile >> net/jabberd : Makefile >> net/nagios/plugins: Makefile >> net/nedi : Makefile >> net/pmacct : Makefile >> net/poco : Makefile >> net/powerdns : Makefile >> net/pure-ftpd : Makefile >> net/rtg : Makefile >> net/zabbix : Makefile >> security/cvechecker: Makefile >> security/cyrus-sasl2: Makefile >> security/hydra : Makefile >> security/samhain: Makefile >> sysutils/bacula: Makefile >> sysutils/collectd: Makefile >> sysutils/rsyslog: Makefile >> telephony/asterisk: Makefile >> telephony/kamailio: Makefile >> textproc/redland: Makefile >> textproc/sphinx: Makefile >> www/cherokee : Makefile >> www/lighttpd : Makefile >> www/mod_auth_mysql: Makefile >> www/mod_log_sql: Makefile >> www/mod_mp3 : Makefile >> www/sope : Makefile >> www/squidguard : Makefile >> x11/gnome/libgda: Makefile >> x11/gnustep/sqlclient: Makefile >> x11/kde/office3: Makefile >> x11/qt3 : Makefile >> x11/qt4 : Makefile >> >> Log message: >> Switch from using MySQL to using MariaDB. MariaDB is a drop-in >replacement. >> >> ok sthen aja > >By the way, it doesnt build on hppa nor sparc64 (and maybe others) : > >In file included from >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:25: >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/include/my_context.h:53:22: >error: ucontext.h: No such file or directory >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c: In >function 'my_context_spawn_internal': >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:63: >warning: implicit declaration of function 'setcontext' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c: In >function 'my_context_continue': >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:77: >warning: implicit declaration of function 'swapcontext' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c: In >function 'my_context_spawn': >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:96: >warning: implicit declaration of function 'getcontext' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:99: >error: 'ucontext_t' has no member named 'uc_stack' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:100: >error: 'ucontext_t' has no member named 'uc_stack' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:101: >error: 'ucontext_t' has no member named 'uc_link' >/usr/obj/ports/mariadb-5.5.30/mariadb-5.5.30/mysys/my_context.c:106: >warning: implicit declaration of function 'makecontext' > >Given that in my_context.h : >#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) >#define MY_CONTEXT_USE_X86_64_GCC_ASM >#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__) >#define MY_CONTEXT_USE_I386_GCC_ASM >#else >#define MY_CONTEXT_USE_UCONTEXT >#endif > >I'm pretty sure it actually only builds on i386 & amd64. Nice. > >Fix welcome. > >Landry