--- - branch: MAIN date: Wed Sep 28 15:34:54 UTC 2016 files: - new: '1.27' old: '1.26' path: pkgsrc/lang/g95/distinfo pathrev: pkgsrc/lang/g95/distinfo@1.27 type: modified - new: '1.1' old: '0' path: pkgsrc/lang/g95/patches/patch-libf95.a-0.93_runtime_mutex.c pathrev: pkgsrc/lang/g95/patches/patch-libf95.a-0.93_runtime_mutex.c@1.1 type: added id: 20160928T153454Z.58c8f3e4b1b716d7eb714a825e5d9526a52dfbad log: | lang/g95: blindly apply patch to help netbsd/mips build issues. netbsd/mips gcc defaults to -mips1 which lacks ll/sc instructions (or anything like them), and rejects the assembly code used here. switch to mips3 (bare minimum for synchronization primitives) for these instructions. this will result in runtime failures (illegal instruction) on mips1, but we're unlikely to see any such users (MIPS3 was released in 1992). I'm not comfortable using the proper fix of switching to using __sync_* because that seems to be a compiler builtin and gcc 4.1.2 might not have it. Also, that change requires careful testing that this 'dumb' change doesn't. Additionally, g95 is a dead end (upstream gone), so not worth the effort. PR pkg/44547: pkgsrc build failure for g95 on NetBSD/cobalt module: pkgsrc subject: 'CVS commit: pkgsrc/lang/g95' unixtime: '1475076894' user: maya