The changes made with r255426 make x11/nvdia-driver and emuldator/virtualbox-ose-kmod coredumping. Especially the virtualbox driver is a hard one. For the x11/nvidia-driver, I have a patch and it should be similar to the vbox driver, but I have massive problems understanding a sed error, which is: sed: 1: "s/\(&virtual_address, s ...": unescaped newline inside substitute pattern I use the following addition to the port's x11/nvidia-driver Makefile (see patch attached), starting at line 262 of the recent Makefile (I mark the newline break of claws-mail with a [\] sign): # Change of number of arguments (9 -> 10) in vm_map_find() due to [\] r255426 .if ${OSVERSION} > 1000053 ${REINPLACE_CMD} -e 's/\(&virtual_address, size,\) \(VMFS_ANY_SPACE,\)$/\1 0, \2/' \ ${WRKSRC}/src/nvidia_subr.c .endif This should change line 833 in the driver's nvidia_subr.c file. The (not so) funny part in this is that the patch drops out with the error mentioned above, but applying the very same substitution patter for sed on the command line via (make clean extract in x11/nvidia-driver) sed -i.bak -e 's/\(&virtual_address, size,\) \(VMFS_ANY_SPACE,\)$/\1 0, \2/' \ work/NVIDIA-FreeBSD-x86_64-325.15/src/nvidia_subr.c This works perfectly and makes in nvidia_subr.c, line 833, from: &virtual_address, size, VMFS_ANY_SPACE, to: &virtual_address, size, 0, VMFS_ANY_SPACE, which is exactly what I want to have. But why is this crap ${REINPLACE_CMD} stuff in the Makefile not working? Is the Makefile interpreting something within the substitution? I files a PR for that specific matter for the x11/nvidia-driver via ports/181972. The patch for the vbox mess should be similar, but since I'm to dumb to figure out why the sed string in the Makefile isn't working, there is no way to put effords in it. If someone could shed light on this, you're welcome. Oliver
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC