pkgsrc-Users archive

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

(x11/xwininfo) 'XCB_CONN_CLOSED_MEM_INSUFFICIENT' undeclared



I'm packaging meta-pkg for my desktop.

NetBSD/amd64 6.1.2. pbulk with limited_list and
X11_TYPE= native (actually not defined).

For x11/wininfo-1.1.3, I have following problem
and attached change fixed the problem.

--- dsimple.o ---
dsimple.c: In function 'Setup_Display_And_Screen':
dsimple.c:117:14: error: 'XCB_CONN_CLOSED_MEM_INSUFFICIENT' undeclared (first 
use in this function)
dsimple.c:117:14: note: each undeclared identifier is reported only once for 
each function it appears in
dsimple.c:119:14: error: 'XCB_CONN_CLOSED_PARSE_ERR' undeclared (first use in 
this function)
*** [dsimple.o] Error code 1

make: stopped in /WRKOBJDIR/x11/xwininfo/work/xwininfo-1.1.3
--- xwininfo.o ---
xwininfo.c: In function 'print_utf8.clone.5':
xwininfo.c:1831:19: warning: 'codepoint' may be used uninitialized in this 
function
xwininfo.c:1831:19: note: 'codepoint' was declared here
1 error

make: stopped in /WRKOBJDIR/x11/xwininfo/work/xwininfo-1.1.3
*** [all-recursive] Error code 1

Thanks for reading, and sorry if I'm wrong :-)
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: x11/xwininfo/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/xwininfo/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- x11/xwininfo/Makefile       18 May 2013 13:36:49 -0000      1.11
+++ x11/xwininfo/Makefile       22 Oct 2013 13:46:16 -0000
@@ -15,6 +15,7 @@
 CONFIGURE_ENV+=                APP_MAN_SUFFIX=1
 
 .include "../../x11/libXext/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libxcb+=  libxcb>=1.9
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index