Sir,

(i come from driving NetBSD having XV in pkgsrc.org)

now i have Ubuntu Linux too,
i wanted to have a XV on Ubuntu Linux as well.

To build XV on|with Ubuntu Linux i needed a patch.
Find the patch i did use to build XV driving Ubuntu
Linux attached.

The definition in the Ubuntu Linux header files
is there /usr/include/i386-linux-gnu/bits/sys_errlist.h

greetings,
noud


--- xv.h.orig	2014-08-13 08:07:16.722617119 +0200
+++ xv.h	2014-08-13 08:13:40.462631361 +0200
@@ -116,8 +116,12 @@
 #  include <errno.h>
    extern int   errno;             /* SHOULD be in errno.h, but often isn't */
 #  ifndef __NetBSD__
+#    ifdef __linux__
+     extern __const char *__const sys_errlist[];     /* this too... */
+#    else
      extern char *sys_errlist[];     /* this too... */
+#    endif
 #  endif
 #endif
 
 
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to