pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/graphics/blender



On Mon, Dec 03, 2012 at 01:15:52PM +0000, Ryo ONODERA wrote:
 > Log Message:
 > Update to 2.64a
 > 
 > XXX This revision may build on NetBSD 6.* and Linux only.

It does not build on -current because (AFAICT) you patched it to use
__NetBSD_Version__ to decide that it has execinfo.h, down inside
extern/libmv/third_party/glog/src, but does not correspondingly add
-lexecinfo to the link.

The change below will probably fix this. I will test it, but
something's provoked my build machine into rebuild qt4-libs so it
won't be available for a few hours.

Adding -lexecinfo in the right place would be better, but because this
package uses scons I have no idea how to do that.


Index: patches/patch-extern_libmv_third__party_glog_src_config__netbsd.h
===================================================================
RCS file: 
/cvsroot/pkgsrc/graphics/blender/patches/patch-extern_libmv_third__party_glog_src_config__netbsd.h,v
retrieving revision 1.1
diff -u -r1.1 patch-extern_libmv_third__party_glog_src_config__netbsd.h
--- patches/patch-extern_libmv_third__party_glog_src_config__netbsd.h   3 Dec 
2012 13:15:51 -0000       1.1
+++ patches/patch-extern_libmv_third__party_glog_src_config__netbsd.h   1 Jan 
2013 23:52:14 -0000
@@ -20,7 +20,7 @@
 +#include <sys/param.h>
 +/* Define to 1 if you have the <execinfo.h> header file. */
 +#if __NetBSD_Version__ < 699001500
-+#define HAVE_EXECINFO_H 1
++#undef HAVE_EXECINFO_H        /* we have it, but need -lexecinfo too */
 +#else
 +#undef HAVE_EXECINFO_H
 +#endif

-- 
David A. Holland
dholland%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index