Denis F. Latypoff
2006-Oct-11 08:02 UTC
[compiz] screenshot plugin compile fails on freebsd
Hello list, there is no `versionsort' implementation in the dirent.h on standard installation of freebsd 6.x. I have replaced `versionsort' with `alphasort' in screenshot.c, but I don't know whether that fix will cause crash screenshot plugin since I have not yet ran the latest git xgl/compiz/mesa on my freebsd. -- Best regards, Denis mailto:latypoff@yandex.ru
Just replacing it with alphasort is not going to work as screenshot2.png will be sorted as greater than screenshot10.png. I've added a shotSort to the screenshot plugin that should work OK. -David On Wed, 2006-10-11 at 21:53 +0700, Denis F. Latypoff wrote:> Hello list, > > there is no `versionsort' implementation in the dirent.h on standard > installation of freebsd 6.x. > I have replaced `versionsort' with `alphasort' in screenshot.c, but I > don't know whether that fix will cause crash screenshot plugin since I have > not yet ran the latest git xgl/compiz/mesa on my freebsd. >