First pass at pre-entively fixing ports that would break once guenther's header

pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
This commit is contained in:
ajacoutot 2016-09-10 13:03:40 +00:00
parent 6690eaa769
commit 5558c792d3
95 changed files with 705 additions and 102 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2015/05/18 11:29:37 jasper Exp $
# $OpenBSD: Makefile,v 1.7 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT = decoder, encoder and replaygain for musepack files
V = 475
DISTNAME = musepack_src_r${V}
PKGNAME = musepack-${V}
REVISION = 1
REVISION = 2
CATEGORIES = audio
HOMEPAGE = http://www.musepack.net/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpcenc_keyboard_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- mpcenc/keyboard.c.orig Sat Sep 10 10:40:09 2016
+++ mpcenc/keyboard.c Sat Sep 10 10:40:48 2016
@@ -16,6 +16,8 @@
* -
*/
+#include <sys/select.h> /* tv */
+
#include "mpcenc.h"
#if defined _WIN32 || defined __TURBOC__

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.21 2016/03/09 18:31:36 jasper Exp $
# $OpenBSD: Makefile,v 1.22 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= opensource Napster(tm) server
DISTNAME= opennap-0.44
REVISION= 2
REVISION= 3
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}

View File

@ -1,7 +1,16 @@
$OpenBSD: patch-opennap_h,v 1.2 2009/02/14 09:41:35 jasper Exp $
$OpenBSD: patch-opennap_h,v 1.3 2016/09/10 13:03:41 ajacoutot Exp $
--- opennap.h.orig Mon Oct 1 00:12:37 2001
+++ opennap.h Sat Feb 14 10:40:49 2009
@@ -143,9 +143,26 @@ struct _user
+++ opennap.h Sat Sep 10 10:44:09 2016
@@ -16,6 +16,8 @@
#endif
#include <stdarg.h>
+/* fd_set */
+#include <sys/select.h>
#include <sys/types.h>
#include <zlib.h>
#include "hash.h"
@@ -143,9 +145,26 @@ struct _user
NOTE. this is a pointer to an entry in
Server_Names, and not malloc'd. */
@ -28,7 +37,7 @@ $OpenBSD: patch-opennap_h,v 1.2 2009/02/14 09:41:35 jasper Exp $
unsigned int level:3; /* user level */
unsigned int speed:4; /* link speed */
unsigned int local:1; /* nonzero if locally connected */
@@ -154,20 +171,6 @@ struct _user
@@ -154,20 +173,6 @@ struct _user
unsigned int unsharing:1;
unsigned int cloaked:1;
unsigned int xxx:4; /* unused */
@ -49,7 +58,7 @@ $OpenBSD: patch-opennap_h,v 1.2 2009/02/14 09:41:35 jasper Exp $
};
enum
@@ -486,6 +489,7 @@ extern HASH *MD5;
@@ -486,6 +491,7 @@ extern HASH *MD5;
extern int Stats_Port;
#endif
@ -57,7 +66,7 @@ $OpenBSD: patch-opennap_h,v 1.2 2009/02/14 09:41:35 jasper Exp $
extern HASH *Channel_Db;
extern int Client_Queue_Length;
extern HASH *Client_Versions;
@@ -835,6 +839,7 @@ int config (int);
@@ -835,6 +841,7 @@ int config (int);
void config_defaults (void);
USERDB *create_db (USER *);
void destroy_connection (CONNECTION *);

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.217 2016/09/01 10:53:26 jasper Exp $
# $OpenBSD: Makefile,v 1.218 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT-main= PostgreSQL RDBMS (client)
COMMENT-server= PostgreSQL RDBMS (server)
@ -16,6 +16,11 @@ PKGNAME-server= postgresql-server-${VERSION}
PKGNAME-docs= postgresql-docs-${VERSION}
PKGNAME-contrib=postgresql-contrib-${VERSION}
PKGNAME-plpython=postgresql-plpython-${VERSION}
REVISION-contrib= 0
REVISION-docs= 0
REVISION-main= 0
REVISION-plpython= 0
REVISION-server=0
CATEGORIES= databases
SHARED_LIBS= ecpg 7.7 \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_bin_scripts_vacuumdb_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- src/bin/scripts/vacuumdb.c.orig Sat Sep 10 10:37:08 2016
+++ src/bin/scripts/vacuumdb.c Sat Sep 10 10:38:12 2016
@@ -10,6 +10,8 @@
*-------------------------------------------------------------------------
*/
+#include <sys/select.h> /* FD_SETSIZE */
+
#include "postgres_fe.h"
#include "common.h"

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2016/03/11 19:59:13 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= client library for accessing NFS
DISTNAME= libnfs-1.9.8
CATEGORIES= devel net
MASTER_SITES= https://sites.google.com/site/libnfstarballs/li/
REVISION= 0
SHARED_LIBS= nfs 0.0

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-include_nfsc_libnfs_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- include/nfsc/libnfs.h.orig Sat Sep 10 10:44:50 2016
+++ include/nfsc/libnfs.h Sat Sep 10 10:45:59 2016
@@ -31,6 +31,9 @@
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/time.h>
#endif
+#if defined(__OpenBSD__)
+#include <sys/time.h> /* gettimeofday */
+#endif
#ifdef __cplusplus
extern "C" {

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.25 2016/03/11 19:59:13 naddy Exp $
# $OpenBSD: Makefile,v 1.26 2016/09/10 13:03:40 ajacoutot Exp $
COMMENT = library for USB device access from userspace
VERSION = 1.0.20
DISTNAME = libusb-${VERSION}
PKGNAME = libusb1-${VERSION}
REVISION = 0
SHARED_LIBS += usb-1.0 1.1 # 1.0

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-libusb_libusb_h,v 1.1 2016/09/10 13:03:40 ajacoutot Exp $
--- libusb/libusb.h.orig Sat Sep 10 11:00:40 2016
+++ libusb/libusb.h Sat Sep 10 11:00:56 2016
@@ -58,6 +58,7 @@ typedef unsigned __int32 uint32_t;
#include <sys/time.h>
#endif
+#include <sys/select.h> /* timeval */
#include <time.h>
#include <limits.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2013/09/05 06:21:53 landry Exp $
# $OpenBSD: Makefile,v 1.12 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= Small Device C Compiler
BROKEN-sparc64= illegal operands building SDCCval.c
@ -8,7 +8,7 @@ DISTNAME= sdcc-src-2.8.0
PKGNAME= ${DISTNAME:S/-src//}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= devel
REVISION= 1
REVISION= 2
HOMEPAGE= http://sdcc.sourceforge.net/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-sim_ucsim_cmd_src_newcmdposixcl_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- sim/ucsim/cmd.src/newcmdposixcl.h.orig Sat Sep 10 10:48:28 2016
+++ sim/ucsim/cmd.src/newcmdposixcl.h Sat Sep 10 10:48:45 2016
@@ -29,6 +29,7 @@ Software Foundation, 59 Temple Place - Suite 330, Bost
#ifndef CMD_NEWCMDFDCL_HEADER
#define CMD_NEWCMDFDCL_HEADER
+#include <sys/select.h> /* fd_set */
#include "newcmdcl.h"
#include "cmdutil.h"

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.14 2016/01/11 09:35:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.15 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= ex/vi text editor with wide character support
V = 2.1.3
DISTNAME = nvi-$V
CATEGORIES= editors
REVISION = 0
REVISION = 1
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-common_exf_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- common/exf.h.orig Sat Sep 10 10:53:06 2016
+++ common/exf.h Sat Sep 10 10:52:38 2016
@@ -9,6 +9,9 @@
* $Id: patch-common_exf_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
*/
/* Undo direction. */
+
+#include <sys/select.h> /* timespec */
+
/*
* exf --
* The file structure.

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2015/03/27 08:11:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.17 2016/09/10 13:03:41 ajacoutot Exp $
BROKEN-powerpc = error: invalid 'asm': invalid %k value
BROKEN-alpha = error: invalid 'asm': invalid %xn code
@ -9,7 +9,7 @@ V = 2.4.0
MODPY_EGG_VERSION = ${V}
DISTNAME = fs-uae-$V
CATEGORIES = emulators
REVISION = 0
REVISION = 1
HOMEPAGE = http://fengestad.no/fs-uae/
MAINTAINER = Edd Barrett <edd@openbsd.org>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libfsemu_src_ml_manymouse_x11_xinput2_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- libfsemu/src/ml/manymouse/x11_xinput2.c.orig Sat Sep 10 10:56:39 2016
+++ libfsemu/src/ml/manymouse/x11_xinput2.c Sat Sep 10 10:57:12 2016
@@ -7,6 +7,8 @@
* This file written by Ryan C. Gordon.
*/
+#include <sys/select.h> /* timeval */
+
#include "manymouse.h"
/* Try to use this on everything but Windows and Mac OS by default... */
#ifndef SUPPORT_XINPUT2

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.25 2013/10/11 20:39:24 naddy Exp $
# $OpenBSD: Makefile,v 1.26 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= concurrent multi-player battle strategy game
DISTNAME= xbattle-5.4.1
REVISION = 2
REVISION = 3
CATEGORIES= games
MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-command_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- command.c.orig Sat Sep 10 11:18:46 2016
+++ command.c Sat Sep 10 11:19:03 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h> /* strcpy */
#include "constant.h"

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-draw_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- draw.c.orig Sat Sep 10 11:14:36 2016
+++ draw.c Sat Sep 10 11:14:48 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h> /* strlen */
#include "constant.h"

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-edit_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- edit.c.orig Sat Sep 10 11:19:12 2016
+++ edit.c Sat Sep 10 11:19:26 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h> /* exit */
#include "constant.h"

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-error_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- error.c.orig Sat Sep 10 11:15:10 2016
+++ error.c Sat Sep 10 11:15:38 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h> /* exit */
#include "constant.h"

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-extern_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- extern.h.orig Sat Sep 10 11:13:39 2016
+++ extern.h Sat Sep 10 11:13:49 2016
@@ -1,4 +1,6 @@
+#include <sys/select.h> /* fd_set */
+
#include "macro.h"
typedef unsigned char n_char;

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-init_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- init.c.orig Sat Sep 10 11:19:36 2016
+++ init.c Sat Sep 10 11:19:58 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h> /* exit, malloc */
#include <math.h>
#include "constant.h"

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-main_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- main.c.orig Sat Sep 10 11:20:08 2016
+++ main.c Sat Sep 10 11:20:29 2016
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h> /* exit */
+#include <string.h> /* strcpy */
/**** x include files ****/
#include <X11/Xlib.h>

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-replay_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- replay.c.orig Sat Sep 10 11:20:38 2016
+++ replay.c Sat Sep 10 11:20:58 2016
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h> /* exit */
+#include <string.h> /* strlen */
#include "constant.h"

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-shape_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- shape.c.orig Sat Sep 10 11:22:31 2016
+++ shape.c Sat Sep 10 11:22:41 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h> /* malloc */
#include "constant.h"

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-utils_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- utils.c.orig Sat Sep 10 11:21:10 2016
+++ utils.c Sat Sep 10 11:21:28 2016
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h> /* strlen */
#include "constant.h"

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-window_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- window.c.orig Sat Sep 10 11:21:37 2016
+++ window.c Sat Sep 10 11:22:02 2016
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h> /* malloc */
+#include <string.h> /* strcpy */
#include "constant.h"

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2016/05/05 19:52:28 naddy Exp $
# $OpenBSD: Makefile,v 1.13 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT = geometry viewer for OOGL file formats
V = 1.9.4
DISTNAME = geomview-$V
REVISION = 6
REVISION = 7
SHARED_LIBS = geomview 0.0
CATEGORIES = graphics

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-include_streampool_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- include/streampool.h.orig Sat Sep 10 11:26:03 2016
+++ include/streampool.h Sat Sep 10 11:26:44 2016
@@ -29,8 +29,8 @@
# include "config.h"
#endif
-#ifdef AIX
-# include <sys/select.h> /* RS-6000 needs this */
+#if defined(AIX) || defined(__OpenBSD__)
+# include <sys/select.h> /* fd_set */
#endif
#include <sys/types.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.57 2016/05/27 17:04:35 jeremy Exp $
# $OpenBSD: Makefile,v 1.58 2016/09/10 13:03:41 ajacoutot Exp $
# Runtime failures on i386 in IO#pos and IO#rewind
ONLY_FOR_ARCHS = amd64
@ -12,6 +12,7 @@ CATEGORIES = lang lang/ruby
DISTFILES = ${DISTNAME}.tar.gz \
jnr-jffi-1.2.2-0-g4c196bb.tar.gz:0 \
${JRUBY_LAUNCHER_GEM}:1
REVISION = 0
HOMEPAGE = http://www.jruby.org/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-jruby-launcher_ng_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- jruby-launcher/ng.c.orig Sat Sep 10 11:31:48 2016
+++ jruby-launcher/ng.c Sat Sep 10 11:32:03 2016
@@ -28,6 +28,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
+ #include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <sys/types.h>
#endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.51 2016/08/25 15:59:58 jasper Exp $
# $OpenBSD: Makefile,v 1.52 2016/09/10 13:03:41 ajacoutot Exp $
# XXX:
# - Needs __ARM_NR_cacheflush (or the like) to work on arm-based ports.
@ -11,7 +11,7 @@ USE_WXNEEDED = Yes
COMMENT= V8 JavaScript for clients and servers
NODE_VERSION= v4.4.7
REVISION= 1
REVISION= 2
PLEDGE_VER= 1.1.0
DISTFILES= node-pledge-{}${PLEDGE_VER}.tar.gz:0 ${DISTNAME}.tar.gz

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-deps_cares_include_ares_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- deps/cares/include/ares.h.orig Sat Sep 10 12:04:56 2016
+++ deps/cares/include/ares.h Sat Sep 10 12:05:08 2016
@@ -32,6 +32,7 @@
/* Data type definition of ares_socklen_t. */
typedef unsigned ares_socklen_t;
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2016/03/23 21:58:11 naddy Exp $
# $OpenBSD: Makefile,v 1.23 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT = smalltalk system, vm
@ -6,7 +6,7 @@ SRCV = 1
DISTFILES = Squeak-$V-${SRCV}.src.tar.gz
PKGNAME = squeak-vm-$V.${SRCV}
REVISION = 5
REVISION = 6
WRKDIST = ${WRKDIR}/Squeak-$V-${SRCV}
WRKSRC = ${WRKDIST}/platforms/unix/config

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-platforms_unix_plugins_AsynchFilePlugin_sqUnixAsynchFile_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c.orig Sat Sep 10 11:36:52 2016
+++ platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c Sat Sep 10 11:37:15 2016
@@ -71,6 +71,7 @@
#include "sqVirtualMachine.h"
#include "sqaio.h"
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
#include <unistd.h>
#include <time.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.66 2016/05/12 01:17:13 naddy Exp $
# $OpenBSD: Makefile,v 1.67 2016/09/10 13:03:42 ajacoutot Exp $
BROKEN-arm = undefined reference to `__sync_fetch_and_add_4'
BROKEN-hppa = undefined reference to `__sync_fetch_and_add_4'
@ -7,7 +7,7 @@ BROKEN-sparc64 = infinite loop or aborts during build
COMMENT = Prolog for the real world
V = 6.6.4
REVISION = 8
REVISION = 9
DISTNAME = pl-$V
PKGNAME = swi-prolog-$V
CATEGORIES = lang

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-packages_clib_nonblockio_h,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- packages/clib/nonblockio.h.orig Sat Sep 10 11:42:58 2016
+++ packages/clib/nonblockio.h Sat Sep 10 11:43:31 2016
@@ -52,6 +52,7 @@
#else /*__WINDOWS__*/
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2015/02/16 22:57:09 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT= small and secure POP3 daemon
DISTNAME= akpop3d-0.7.7
REVISION = 1
REVISION = 2
CATEGORIES= mail
HOMEPAGE= http://www.synflood.at/akpop3d.html

View File

@ -1,7 +1,12 @@
$OpenBSD: patch-tcp_listen_c,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
$OpenBSD: patch-tcp_listen_c,v 1.2 2016/09/10 13:03:42 ajacoutot Exp $
--- tcp_listen.c.orig Sun May 4 10:26:14 2003
+++ tcp_listen.c Fri Aug 27 01:45:07 2004
@@ -10,6 +10,11 @@
+++ tcp_listen.c Sat Sep 10 11:45:32 2016
@@ -6,10 +6,16 @@
#include <netdb.h>
#include <string.h>
#include <syslog.h>
+#include <sys/select.h> /* fd_set */
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
@ -13,7 +18,7 @@ $OpenBSD: patch-tcp_listen_c,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
static void Setsockopt(int fd, int level, int optname, const void * optval, socklen_t optlen) {
if (setsockopt(fd,level,optname,optval,optlen) < 0) {
syslog(LOG_WARNING,"%s: %s","setsockopt failed",strerror(errno));
@@ -29,8 +34,8 @@ static void Listen(int fd, int backlog)
@@ -29,8 +35,8 @@ static void Listen(int fd, int backlog) {
}
}
@ -24,7 +29,7 @@ $OpenBSD: patch-tcp_listen_c,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
const int on = 1;
struct addrinfo hints, * res, * ressave;
struct linger sl = { 1, 5 };
@@ -39,37 +44,37 @@ static int tcp_listen(const char * host,
@@ -39,37 +45,37 @@ static int tcp_listen(const char * host, const char *
hints.ai_flags = AI_PASSIVE;
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2016/01/08 10:37:34 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2016/09/10 13:03:42 ajacoutot Exp $
PORTROACH = skipv:initial
@ -7,6 +7,7 @@ COMMENT = bgp filtering automation for Cisco and Juniper routers
VERSION = 0.1.32-rc6
DISTNAME = bgpq3-${VERSION}
PKGNAME = ${DISTNAME:S/-rc/rc/}
REVISION = 0
CATEGORIES = net

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-bgpq_expander_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- bgpq_expander.c.orig Sat Sep 10 11:46:59 2016
+++ bgpq_expander.c Sat Sep 10 11:47:15 2016
@@ -15,6 +15,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/select.h> /* fd_set */
#include <unistd.h>
#include "bgpq3.h"

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.44 2016/08/17 20:58:19 sthen Exp $
# $OpenBSD: Makefile,v 1.45 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT-main= BIRD internet routing daemon
COMMENT-doc= BIRD internet routing daemon (documentation)
V= 1.6.0
REVISION= 0
REVISION= 1
DISTNAME= bird-$V
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/-/-doc-/}${EXTRACT_SUFX}

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-client_client_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- client/client.c.orig Sat Sep 10 11:48:54 2016
+++ client/client.c Sat Sep 10 11:49:11 2016
@@ -27,6 +27,7 @@
#include <errno.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
#include "nest/bird.h"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2016/05/06 21:39:03 sthen Exp $
# $OpenBSD: Makefile,v 1.40 2016/09/10 13:03:42 ajacoutot Exp $
# Much help came from Alexandre Anriot, Robert Nagy, Bernd Ahlers,
# and, last but not least, Pedro la Peu.
@ -10,8 +10,8 @@ NOT_FOR_ARCHS= m88k
V= 2008-05-R1
DISTNAME= kismet-${V}
REVISION-main= 5
REVISION-gpsmap= 7
REVISION-main= 6
REVISION-gpsmap= 8
PKGNAME-main= kismet-${V:S,-,,g}
PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}
CATEGORIES= net security

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-gpsd_h,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- gpsd.h.orig Sat Sep 10 11:52:50 2016
+++ gpsd.h Sat Sep 10 11:53:11 2016
@@ -22,6 +22,7 @@
#include "config.h"
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2016/03/11 19:59:15 naddy Exp $
# $OpenBSD: Makefile,v 1.17 2016/09/10 13:03:40 ajacoutot Exp $
COMMENT= asynchronous resolver library
@ -7,7 +7,7 @@ DISTNAME= c-ares-${V}
PKGNAME= libcares-${V}
CATEGORIES= net devel
MASTER_SITES= ${HOMEPAGE}download/
REVISION= 0
REVISION= 1
SHARED_LIBS= cares 2.5

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-ares_h,v 1.1 2016/09/10 13:03:40 ajacoutot Exp $
--- ares.h.orig Sat Sep 10 12:52:43 2016
+++ ares.h Sat Sep 10 12:53:10 2016
@@ -31,6 +31,7 @@
# define WIN32
#endif
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2016/03/11 20:28:29 naddy Exp $
# $OpenBSD: Makefile,v 1.22 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT= implementation of Gadu-Gadu IM protocol
@ -7,6 +7,7 @@ DISTNAME= libgadu-${VER}
EPOCH= 0
CATEGORIES= net
MASTER_SITES= http://github.com/wojtekka/libgadu/releases/download/${VER}/
REVISION= 0
SHARED_LIBS= gadu 7.0

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-examples_conn-async_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- examples/conn-async.c.orig Sat Sep 10 11:56:38 2016
+++ examples/conn-async.c Sat Sep 10 11:57:03 2016
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
+#include <sys/select.h> /* fd_set */
#include <errno.h>
#include <string.h>
#include <time.h>

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2015/10/05 16:29:02 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT= UPnP IGD daemon
DISTNAME= miniupnpd-1.9
REVISION= 0
REVISION= 1
WANTLIB += c crypto kvm ssl

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-asyncsendto_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- asyncsendto.c.orig Sat Sep 10 12:01:40 2016
+++ asyncsendto.c Sat Sep 10 12:01:47 2016
@@ -6,6 +6,7 @@
* in the LICENCE file provided within the distribution */
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/queue.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-minissdp_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- minissdp.c.orig Sat Sep 10 12:02:27 2016
+++ minissdp.c Sat Sep 10 12:02:37 2016
@@ -10,6 +10,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
+#include <sys/select.h> /* fd_set */
#include <sys/un.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-natpmp_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- natpmp.c.orig Sat Sep 10 12:02:47 2016
+++ natpmp.c Sat Sep 10 12:02:53 2016
@@ -11,6 +11,7 @@
#include <errno.h>
#include <time.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-portinuse_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- portinuse.c.orig Sat Sep 10 12:03:59 2016
+++ portinuse.c Sat Sep 10 12:04:12 2016
@@ -17,6 +17,7 @@
#include <errno.h>
#include <time.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-upnpevents_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- upnpevents.c.orig Sat Sep 10 12:01:20 2016
+++ upnpevents.c Sat Sep 10 12:01:32 2016
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-upnppinhole_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- upnppinhole.c.orig Sat Sep 10 12:03:05 2016
+++ upnppinhole.c Sat Sep 10 12:03:10 2016
@@ -9,6 +9,7 @@
#include <string.h>
#include <syslog.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-upnpredirect_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- upnpredirect.c.orig Sat Sep 10 12:02:08 2016
+++ upnpredirect.c Sat Sep 10 12:02:15 2016
@@ -9,6 +9,7 @@
#include <string.h>
#include <syslog.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2014/12/17 14:53:43 sthen Exp $
# $OpenBSD: Makefile,v 1.21 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT-main = tools to collect and process netflow data
COMMENT-nfprofile = filters data from nfdump according to profiles
@ -7,6 +7,8 @@ V = 1.6.13
DISTNAME = nfdump-$V
FULLPKGNAME-main = nfdump-$V
FULLPKGNAME-nfprofile = nfprofile-$V
REVISION-main = 0
REVISION-nfprofile = 0
CATEGORIES = net
HOMEPAGE = http://nfdump.sourceforge.net/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-bin_util_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- bin/util.c.orig Sat Sep 10 10:34:01 2016
+++ bin/util.c Sat Sep 10 10:35:46 2016
@@ -41,6 +41,7 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
+#include <sys/select.h> /* tv */
#include <time.h>
#include <string.h>
#include <errno.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2016/03/05 12:58:20 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT-main= SSH and telnet client
COMMENT-gui= PuTTY GUI clients
@ -8,6 +8,8 @@ DISTNAME= putty-$V
PKGNAME-main= ${DISTNAME}
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
CATEGORIES= net security
REVISION-gui= 0
REVISION-main= 0
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
MASTER_SITES= http://the.earth.li/~sgtatham/putty/$V/ \

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-unix_uxcons_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- unix/uxcons.c.orig Sat Sep 10 12:06:10 2016
+++ unix/uxcons.c Sat Sep 10 12:06:24 2016
@@ -6,6 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <sys/select.h> /* fd_set */
#include <assert.h>
#include <errno.h>

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2016/08/14 15:35:14 jca Exp $
# $OpenBSD: Makefile,v 1.7 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT= simple irc client
DISTNAME= sic-1.2
REVISION= 0
REVISION= 1
CATEGORIES= net

View File

@ -1,7 +1,15 @@
$OpenBSD: patch-sic_c,v 1.3 2016/08/14 15:35:14 jca Exp $
--- sic.c.orig Fri Aug 12 21:45:07 2016
+++ sic.c Fri Aug 12 21:54:39 2016
@@ -173,6 +173,8 @@ main(int argc, char *argv[]) {
$OpenBSD: patch-sic_c,v 1.4 2016/09/10 13:03:42 ajacoutot Exp $
--- sic.c.orig Sun Jun 16 08:03:32 2013
+++ sic.c Sat Sep 10 12:08:39 2016
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/select.h> /* fd_set */
#include <time.h>
#include <unistd.h>
@@ -173,6 +174,8 @@ main(int argc, char *argv[]) {
fflush(srv);
setbuf(stdout, NULL);
setbuf(srv, NULL);

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2016/05/09 23:01:45 jca Exp $
# $OpenBSD: Makefile,v 1.5 2016/09/10 13:03:42 ajacoutot Exp $
COMMENT= socks proxy and tls support for ucspi
DISTNAME= ucspi-tools-1.4
CATEGORIES= net
REVISION= 0
GH_ACCOUNT= younix
GH_PROJECT= ucspi

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-tlss_c,v 1.1 2016/09/10 13:03:42 ajacoutot Exp $
--- tlss.c.orig Sat Sep 10 12:10:01 2016
+++ tlss.c Sat Sep 10 12:10:11 2016
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/select.h> /* fd_set */
#include <unistd.h>
#include <tls.h>

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.11 2016/03/09 21:15:35 naddy Exp $
# $OpenBSD: Makefile,v 1.12 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT= stub DNS resolver library
DISTNAME= udns-0.4
CATEGORIES= net
REVISION= 0
SHARED_LIBS+= udns 1.0

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-Makefile_in,v 1.2 2016/03/09 18:36:26 jasper Exp $
$OpenBSD: patch-Makefile_in,v 1.3 2016/09/10 13:03:43 ajacoutot Exp $
run ranlib to fix build on m88k
--- Makefile.in.orig Sat Oct 23 11:42:57 2010
+++ Makefile.in Sat Oct 23 11:43:17 2010
@@ -65,6 +65,7 @@ staticlib: $(LIB)
--- Makefile.in.orig Thu Jan 23 11:45:31 2014
+++ Makefile.in Sat Sep 10 12:09:19 2016
@@ -68,6 +68,7 @@ staticlib: $(LIB)
$(LIB): $(OBJS)
-rm -f $@
$(AR) rv $@ $(OBJS)

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-rblcheck_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- rblcheck.c.orig Sat Sep 10 12:09:30 2016
+++ rblcheck.c Sat Sep 10 12:09:50 2016
@@ -32,6 +32,7 @@
#else
# include <unistd.h>
# include <sys/types.h>
+# include <sys/select.h> /* fd_set */
# include <sys/socket.h>
# include <netinet/in.h>
#endif

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2016/01/10 16:23:17 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT= client and servers for the WIDE DHCPv6 protocol
DISTNAME= wide-dhcpv6-20080615
REVISION= 6
REVISION= 7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wide-dhcpv6/}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-config_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- config.c.orig Sat Sep 10 12:14:03 2016
+++ config.c Sat Sep 10 12:14:03 2016
@@ -48,7 +48,7 @@
#include <string.h>
#include <ifaddrs.h>
#include <errno.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
#define __USE_XOPEN
#include <time.h>
#endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.144 2016/08/29 07:48:20 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.145 2016/09/10 13:03:43 ajacoutot Exp $
PORTROACH= skipv:${V}_py2.5
@ -20,6 +20,13 @@ PKGNAME-hpcups= hpcups-${V}
PKGNAME-hpijs= hpijs-${V}
PKGNAME-gui= hplip-gui-${V}
REVISION-main= 0
REVISION-common= 0
REVISION-hpaio= 0
REVISION-hpcups= 0
REVISION-hpijs= 0
REVISION-gui= 0
SHARED_LIBS += hpdiscovery 0.0 # 0.1
SHARED_LIBS += hpmud 2.0 # 0.6
SHARED_LIBS += hpipp 0.0 # 0.1

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-protocol_discovery_mdns_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- protocol/discovery/mdns.c.orig Sat Sep 10 12:16:35 2016
+++ protocol/discovery/mdns.c Sat Sep 10 12:16:26 2016
@@ -24,9 +24,11 @@
Author: Sanjay Kumar
\*****************************************************************************/
-//#include <stdio.h>
+#include <stdio.h> /* sprintf */
+#include <stdlib.h> /* malloc */
#include <string.h>
#include <syslog.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2015/09/11 16:23:01 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT= 802.11 WEP and WPA-PSK keys cracking program
DISTNAME= aircrack-ng-1.1
REVISION= 10
REVISION= 11
CATEGORIES= security
HOMEPAGE= http://www.aircrack-ng.org/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_osdep_openbsd_c,v 1.4 2015/09/11 16:23:02 sthen Exp $
--- src/osdep/openbsd.c.orig Tue Feb 26 11:12:19 2008
+++ src/osdep/openbsd.c Fri Sep 11 10:21:51 2015
@@ -19,26 +19,25 @@
$OpenBSD: patch-src_osdep_openbsd_c,v 1.5 2016/09/10 13:03:43 ajacoutot Exp $
--- src/osdep/openbsd.c.orig Tue Feb 26 19:12:19 2008
+++ src/osdep/openbsd.c Sat Sep 10 12:18:30 2016
@@ -19,26 +19,26 @@
*/
#include <sys/types.h>
#include <sys/endian.h>
@ -10,6 +10,7 @@ $OpenBSD: patch-src_osdep_openbsd_c,v 1.4 2015/09/11 16:23:02 sthen Exp $
-#include <sys/param.h>
#include <sys/sysctl.h>
-#include <net/bpf.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
+#include <sys/timeout.h>
+#include <sys/ioctl.h>
@ -35,7 +36,7 @@ $OpenBSD: patch-src_osdep_openbsd_c,v 1.4 2015/09/11 16:23:02 sthen Exp $
#include <assert.h>
#include <ifaddrs.h>
@@ -273,7 +272,7 @@ static int obsd_write(struct wif *wi, unsigned char *h
@@ -273,7 +273,7 @@ static int obsd_write(struct wif *wi, unsigned char *h
if (rc == -1)
return rc;
@ -44,7 +45,7 @@ $OpenBSD: patch-src_osdep_openbsd_c,v 1.4 2015/09/11 16:23:02 sthen Exp $
}
static void do_free(struct wif *wi)
@@ -303,7 +302,7 @@ static int do_obsd_open(struct wif *wi, char *iface)
@@ -303,7 +303,7 @@ static int do_obsd_open(struct wif *wi, char *iface)
int s;
unsigned int flags;
struct ifmediareq ifmr;
@ -53,7 +54,7 @@ $OpenBSD: patch-src_osdep_openbsd_c,v 1.4 2015/09/11 16:23:02 sthen Exp $
struct priv_obsd *po = wi_priv(wi);
unsigned int size=sizeof(po->po_buf);
@@ -339,7 +338,7 @@ static int do_obsd_open(struct wif *wi, char *iface)
@@ -339,7 +339,7 @@ static int do_obsd_open(struct wif *wi, char *iface)
assert(ifmr.ifm_count != 0);

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.25 2016/09/02 15:42:07 sthen Exp $
# $OpenBSD: Makefile,v 1.26 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT = network switch style shell
DISTNAME = nsh-1.0.20160605
REVISION = 0
REVISION = 1
GH_ACCOUNT = yellowman
GH_PROJECT = nsh

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-ieee80211_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- ieee80211.c.orig Sat Sep 10 12:25:32 2016
+++ ieee80211.c Sat Sep 10 12:26:19 2016
@@ -65,6 +65,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/limits.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2016/08/03 09:34:39 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT = lightweight shipper for hw.sensors data
BEAT = hwsensorsbeat
VERSION = 0.1.2
REVISION = 0
REVISION = 1
GH_ACCOUNT = jasperla
GH_PROJECT = ${BEAT}

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-beater_hwsensorsbeat_go,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
/usr/include/sys/sensors.h:110: error: field 'tv' has incomplete type
--- beater/hwsensorsbeat.go.orig Sat Sep 10 12:22:39 2016
+++ beater/hwsensorsbeat.go Sat Sep 10 12:22:47 2016
@@ -2,6 +2,7 @@ package beater
/*
#include <sys/types.h>
+#include <sys/select.h>
#include <sys/sysctl.h>
#include <sys/sensors.h>
*/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.49 2016/08/16 09:10:36 sthen Exp $
# $OpenBSD: Makefile,v 1.50 2016/09/10 13:03:43 ajacoutot Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
@ -7,7 +7,7 @@ COMMENT= light-weight system monitor
DISTNAME= conky-1.9.0
CATEGORIES= sysutils
HOMEPAGE= http://conky.sourceforge.net/
REVISION= 9
REVISION= 10
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=conky/}

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_read_tcp_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- src/read_tcp.c.orig Sat Sep 10 12:27:11 2016
+++ src/read_tcp.c Sat Sep 10 12:27:20 2016
@@ -34,6 +34,7 @@
#include <netdb.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/select.h> /* fd_set */
#include <unistd.h>
#include <netinet/in.h>

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.38 2016/04/12 15:19:40 naddy Exp $
# $OpenBSD: Makefile,v 1.39 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT= utilities to manipulate ext2 filesystems
DISTNAME= e2fsprogs-1.42.12
REVISION= 3
REVISION= 4
CATEGORIES= sysutils devel
SHARED_LIBS= blkid 0.0 \
com_err 21.0 \

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-lib_ext2fs_blkmap64_rb_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- lib/ext2fs/blkmap64_rb.c.orig Sat Sep 10 12:30:47 2016
+++ lib/ext2fs/blkmap64_rb.c Sat Sep 10 12:31:10 2016
@@ -15,6 +15,7 @@
#include <unistd.h>
#endif
#include <fcntl.h>
+#include <sys/select.h> /* timeval */
#include <time.h>
#if HAVE_SYS_STAT_H
#include <sys/stat.h>

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.69 2015/10/06 09:06:38 sthen Exp $
# $OpenBSD: Makefile,v 1.70 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT-main= active host monitoring tool
COMMENT-mux= symon data gatherer
V= 2.87
REVISION-main= 3
REVISION-mux= 0
REVISION-main= 4
REVISION-mux= 1
DISTNAME= symon-$V
WRKDIST= ${WRKDIR}/symon
PKGNAME-main= ${DISTNAME}

View File

@ -1,15 +1,18 @@
$OpenBSD: patch-platform_OpenBSD_platform_h,v 1.4 2014/09/17 05:28:40 espie Exp $
--- platform/OpenBSD/platform.h.orig Wed Sep 17 07:23:52 2014
+++ platform/OpenBSD/platform.h Wed Sep 17 07:25:14 2014
@@ -3,10 +3,10 @@
$OpenBSD: patch-platform_OpenBSD_platform_h,v 1.5 2016/09/10 13:03:43 ajacoutot Exp $
--- platform/OpenBSD/platform.h.orig Sat Jan 14 15:05:06 2012
+++ platform/OpenBSD/platform.h Sat Sep 10 12:43:05 2016
@@ -3,11 +3,13 @@
#include "conf.h"
-#include <sys/dkstat.h>
#include <sys/queue.h>
#include <sys/types.h>
+#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
+#include <sys/sched.h>
#include <sys/syslimits.h>
+#include <time.h>
#include <net/if.h>
#include "sylimits.h"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2016/08/20 15:20:01 jca Exp $
# $OpenBSD: Makefile,v 1.11 2016/09/10 13:03:43 ajacoutot Exp $
ONLY_FOR_ARCHS = amd64 i386
USE_WXNEEDED = Yes
@ -10,7 +10,7 @@ COMMENT = convert HTML to PDF using Webkit
GH_ACCOUNT = wkhtmltopdf
GH_PROJECT = wkhtmltopdf
GH_TAGNAME = 0.12.3.2
REVISION = 0
REVISION = 1
QT_COMMIT = 8dae19a82231e87366d81c683bafcb025aea9c1d
MASTER_SITES0 = https://github.com/wkhtmltopdf/qt/archive/
DISTFILES = ${DISTNAME}.tar.gz \

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-qt_src_corelib_concurrent_qtconcurrentiteratekernel_cpp,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- qt/src/corelib/concurrent/qtconcurrentiteratekernel.cpp.orig Sat Sep 10 12:41:36 2016
+++ qt/src/corelib/concurrent/qtconcurrentiteratekernel.cpp Sat Sep 10 12:45:05 2016
@@ -46,8 +46,8 @@
#include <mach/mach_time.h>
#include <unistd.h>
#elif defined(Q_OS_UNIX)
-#if defined(Q_OS_HURD)
-#include <sys/time.h>
+#if defined(Q_OS_HURD) || defined(__OpenBSD__)
+#include <sys/time.h> /* gettimeofday */
#endif
#include <time.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2016/08/19 19:36:01 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2016/09/10 13:03:43 ajacoutot Exp $
USE_WXNEEDED = Yes # bundled webkit
@ -9,7 +9,7 @@ DPB_PROPERTIES = parallel nojunk
COMMENT = headless WebKit scriptable with a JavaScript API
DISTNAME = phantomjs-1.9.8
REVISION = 0
REVISION = 1
CATEGORIES = www
HOMEPAGE = http://phantomjs.org/

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_qt_src_corelib_concurrent_qtconcurrentiteratekernel_cpp,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- src/qt/src/corelib/concurrent/qtconcurrentiteratekernel.cpp.orig Sat Sep 10 12:56:45 2016
+++ src/qt/src/corelib/concurrent/qtconcurrentiteratekernel.cpp Sat Sep 10 12:57:21 2016
@@ -46,8 +46,8 @@
#include <mach/mach_time.h>
#include <unistd.h>
#elif defined(Q_OS_UNIX)
-#if defined(Q_OS_HURD)
-#include <sys/time.h>
+#if defined(Q_OS_HURD) || defined(__OpenBSD__)
+#include <sys/time.h> /* gettimeofday */
#endif
#include <time.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.67 2016/06/29 16:14:45 espie Exp $
# $OpenBSD: Makefile,v 1.68 2016/09/10 13:03:43 ajacoutot Exp $
COMMENT= themed window manager
@ -7,7 +7,7 @@ DISTNAME= e16-$V
PKGNAME= enlightenment-$V
DOCS= e16-docs-0.16.8.0.2
THEMES= e16-themes-1.0.1
REVISION= 5
REVISION= 6
CATEGORIES= x11

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-eesh_main_c,v 1.1 2016/09/10 13:03:44 ajacoutot Exp $
--- eesh/main.c.orig Sat Sep 10 12:58:44 2016
+++ eesh/main.c Sat Sep 10 12:59:08 2016
@@ -21,6 +21,7 @@
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <sys/select.h> /* fd_set */
#include "E.h"
/* Global vars */

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2014/01/01 20:46:29 naddy Exp $
# $OpenBSD: Makefile,v 1.19 2016/09/10 13:03:44 ajacoutot Exp $
COMMENT= minimalist window manager for the X Window System
DISTNAME= evilwm-1.0.1
CATEGORIES= x11
REVISION= 0
HOMEPAGE= http://www.6809.org.uk/evilwm/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-events_c,v 1.1 2016/09/10 13:03:44 ajacoutot Exp $
--- events.c.orig Sat Sep 10 13:00:37 2016
+++ events.c Sat Sep 10 13:00:44 2016
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <string.h>
+#include <sys/select.h> /* fd_set */
#include <errno.h>
#include "evilwm.h"
#include "log.h"

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.39 2016/08/16 09:10:36 sthen Exp $
# $OpenBSD: Makefile,v 1.40 2016/09/10 13:03:44 ajacoutot Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
DISTNAME= i3status-2.10
REVISION= 0
REVISION= 1
CATEGORIES= x11 sysutils
HOMEPAGE= http://i3wm.org/i3status/

View File

@ -1,7 +1,13 @@
$OpenBSD: patch-src_print_wireless_info_c,v 1.9 2016/01/04 22:31:17 jasper Exp $
--- src/print_wireless_info.c.orig Sun Jan 3 12:55:52 2016
+++ src/print_wireless_info.c Sun Jan 3 12:58:06 2016
@@ -50,6 +50,7 @@
$OpenBSD: patch-src_print_wireless_info_c,v 1.10 2016/09/10 13:03:44 ajacoutot Exp $
--- src/print_wireless_info.c.orig Fri Jan 1 19:51:19 2016
+++ src/print_wireless_info.c Sat Sep 10 13:02:08 2016
@@ -45,11 +45,13 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
+#include <sys/select.h> /* fd_set */
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <net80211/ieee80211.h>
#include <net80211/ieee80211_ioctl.h>