pkgsrc-Users archive

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

Compiling libkver in current



Hi

The following stuff was neccesary to compile libkver in current:

· Setting PKG_INSTALLATION_TYPE
===> PKG_INSTALLATION_TYPE must be ``pkgviews'' or ``overwrite''.
===> This package doesn't support PKG_INSTALLATION_TYPE=none.
Otherwise pkg_comp enters into a loop looking for gcc3-c .

· The following patch, according to the latest sysctl.h:
--- lib/kver.c.orig     2006-04-08 22:57:36.000000000 -0400
+++ lib/kver.c  2006-04-08 22:58:03.000000000 -0400
@@ -153,7 +153,7 @@
 }
 
 int
-sysctl(int *name, u_int namelen, void *oldp, size_t * oldlenp, const void 
*newp,
+sysctl(const int *name, u_int namelen, void *oldp, size_t * oldlenp, const 
void *newp,
     size_t newlen)
 {
        _DIAGASSERT(name != NULL);

Regards

--
César Catrián Carreño
http://mioficina.cjc.cl/

Attachment: pgpe9HNQO9kBR.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index