[ports-gcc] Unbreak net/valknut

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ports-gcc] Unbreak net/valknut

Charlene Wendling

> http://build-failures.rhaalovely.net/powerpc/last/net/valknut.log
> http://build-failures.rhaalovely.net/sparc64/last/net/valknut.log

Once again, it's because of a missing header. While here, i have
regenerated WANTLIB as some bits were missing.

It has been built on macppc without issues.

Any comment?

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/valknut/Makefile,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 Makefile
--- Makefile 24 Oct 2018 14:28:09 -0000 1.25
+++ Makefile 9 Mar 2019 14:57:57 -0000
@@ -3,7 +3,7 @@
 COMMENT= graphical Direct-Connect client
 
 DISTNAME= valknut-0.3.7
-REVISION= 8
+REVISION= 9
 CATEGORIES= net
 
 HOMEPAGE= http://wxdcgui.sourceforge.net/
@@ -11,11 +11,12 @@ HOMEPAGE= http://wxdcgui.sourceforge.net
 # GPLv2
 PERMIT_PACKAGE_CDROM=   Yes
 
-WANTLIB += GL ICE SM X11 Xcursor Xdamage Xext Xfixes Xft Xi Xinerama
-WANTLIB += Xmu Xrandr Xrender Xt Xxf86vm bz2 c crypto dc drm expat
-WANTLIB += fontconfig freetype iconv jpeg lcms m mng png pthread
-WANTLIB += ssl ${COMPILER_LIBCXX} xcb xml2 z
-WANTLIB += X11-xcb Xau Xdmcp glapi lzma xcb-dri2 xcb-glx
+WANTLIB += ${COMPILER_LIBCXX} GL ICE SM X11 X11-xcb Xcursor Xdamage
+WANTLIB += Xext Xfixes Xft Xi Xinerama Xmu Xrandr Xrender Xt Xxf86vm
+WANTLIB += bz2 c crypto dc drm expat fontconfig freetype glapi
+WANTLIB += iconv jpeg lcms lzma m mng png16 ssl xcb xcb-dri2 xcb-dri3
+WANTLIB += xcb-glx xcb-present xcb-sync xcb-xfixes xml2 xshmfence
+WANTLIB += z
 
 COMPILER = base-clang ports-gcc base-gcc
 
Index: patches/patch-valknut_dctransferview_h
===================================================================
RCS file: patches/patch-valknut_dctransferview_h
diff -N patches/patch-valknut_dctransferview_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-valknut_dctransferview_h 9 Mar 2019 14:57:57 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+ports-gcc:
+fix error: 'ptrdiff_t' does not name a type
+Index: valknut/dctransferview.h
+--- valknut/dctransferview.h.orig
++++ valknut/dctransferview.h
+@@ -22,6 +22,7 @@
+   *@author Mathias K_ster
+   */
+
++#include <stddef.h>
+ #include <qvaluevector.h>
+
+ #include <dclib/dcobject.h>