Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2018 17:31:48 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474393 - in head/lang/mosh: . files
Message-ID:  <201807101731.w6AHVm4C095543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Tue Jul 10 17:31:48 2018
New Revision: 474393
URL: https://svnweb.freebsd.org/changeset/ports/474393

Log:
  lang/mosh: Unbreak build on 12-CURRENT
  
  PR:	229540
  Submitted by:	mjt@cltn.org (maintainer)

Added:
  head/lang/mosh/files/patch-src_bsd_kqueue_kqueue__stubs.c   (contents, props changed)
Modified:
  head/lang/mosh/Makefile

Modified: head/lang/mosh/Makefile
==============================================================================
--- head/lang/mosh/Makefile	Tue Jul 10 17:06:52 2018	(r474392)
+++ head/lang/mosh/Makefile	Tue Jul 10 17:31:48 2018	(r474393)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mosh
 PORTVERSION=	0.2.7
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	lang
 MASTER_SITES=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mosh-scheme/
 PKGNAMESUFFIX=	-scheme

Added: head/lang/mosh/files/patch-src_bsd_kqueue_kqueue__stubs.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/mosh/files/patch-src_bsd_kqueue_kqueue__stubs.c	Tue Jul 10 17:31:48 2018	(r474393)
@@ -0,0 +1,29 @@
+--- src/bsd/kqueue/kqueue_stubs.c.orig	2011-05-30 02:53:09 UTC
++++ src/bsd/kqueue/kqueue_stubs.c
+@@ -44,22 +44,22 @@ kevent_dispose(void* p){
+ 
+ void
+ kevent_set_readevent(void* ke,int fd){
+-    EV_SET(ke,fd,EVFILT_READ,EV_ADD,0,0,NULL);
++    EV_SET((struct kevent*)ke,fd,EVFILT_READ,EV_ADD,0,0,NULL);
+ }
+ 
+ void
+ kevent_set_writeevent(void* ke,int fd){
+-    EV_SET(ke,fd,EVFILT_WRITE,EV_ADD,0,0,NULL);
++    EV_SET((struct kevent*)ke,fd,EVFILT_WRITE,EV_ADD,0,0,NULL);
+ }
+ 
+ void
+ kevent_set_enableuserevent(void* ke,int id){
+-    EV_SET(ke,id,EVFILT_USER,EV_ADD,0,0,NULL);
++    EV_SET((struct kevent*)ke,id,EVFILT_USER,EV_ADD,0,0,NULL);
+ }
+ 
+ void
+ kevent_set_triggeruserevent(void* ke,int id){
+-    EV_SET(ke,id,EVFILT_USER,0,NOTE_TRIGGER,0,NULL);
++    EV_SET((struct kevent*)ke,id,EVFILT_USER,0,NOTE_TRIGGER,0,NULL);
+ }
+ 
+ int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807101731.w6AHVm4C095543>