Package: conky
Severity: important
Version: 1.7.0-1
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs a small fix as the "optreset" variable is related to user space, not kernel space, so please just drop "|| defined(__FreeBSD_kernel__)"
at shown bellow. That is all.

Petr

only in patch2:
unchanged:
--- conky-1.7.0.orig/src/conky.c
+++ conky-1.7.0/src/conky.c
@@ -7462,7 +7462,7 @@

        /* handle other command line arguments */

-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || 
defined(__OpenBSD__) \
+#if defined(__FreeBSD__) || defined(__OpenBSD__) \
                || defined(__NetBSD__)
        optind = optreset = 1;
 #else




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to