update to birda-1.3, fix commons

This commit is contained in:
sthen 2021-02-26 13:08:37 +00:00
parent 24fcb1bb5a
commit df80d334eb
4 changed files with 28 additions and 10 deletions

View File

@ -1,19 +1,19 @@
# $OpenBSD: Makefile,v 1.16 2020/01/26 11:14:30 jasper Exp $
# $RuOBSD: Makefile,v 1.7 2003/08/18 18:40:14 grange Exp $
# $OpenBSD: Makefile,v 1.17 2021/02/26 13:08:37 sthen Exp $
COMMENT= Bohlin's IrDA utilities
DISTNAME= birda-1.1
REVISION= 1
DISTNAME= birda-1.3
CATEGORIES= comms
MASTER_SITES= https://distfiles.sigtrap.nl/
MASTER_SITES= https://ftp.netbsd.org/pub/pkgsrc/distfiles/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= c
WANTLIB= c
FAKE_FLAGS= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man/man" \
LIBDIR="${PREFIX}/lib" DEBUGLIBS=No
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (birda-1.1.tar.gz) = Uvmo9KSP5/cuOjOn1zfioK9HEuSfDXFfRVoKitbPh8U=
SIZE (birda-1.1.tar.gz) = 56077
SHA256 (birda-1.3.tar.gz) = Fo7RatOsw9zksuh0P336bEz3IDwYkm4JMeSyYU6JyDM=
SIZE (birda-1.3.tar.gz) = 57848

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_irda_h,v 1.1 2021/02/26 13:08:37 sthen Exp $
Index: src/irda.h
--- src/irda.h.orig
+++ src/irda.h
@@ -437,8 +437,8 @@ void doOptions(int argc, char* const argv[],
int* verbosityp, const char* desc);
void doConnect(void);
-LAP* optLap;
-IASServer* optIas;
+extern LAP* optLap;
+extern IASServer* optIas;
-void (*optLapConnected)(LAP* lap);
-void (*optLapDisconnected)(LAP* lap);
+extern void (*optLapConnected)(LAP* lap);
+extern void (*optLapDisconnected)(LAP* lap);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2011/06/23 22:50:27 naddy Exp $
@comment $OpenBSD: PLIST,v 1.4 2021/02/26 13:08:38 sthen Exp $
@bin bin/ircomm
@bin bin/irobex
@bin bin/irs
@ -8,7 +8,7 @@
@bin bin/mkobexpdb
@bin bin/mkobextel
@bin bin/mkobextodo
lib/libirda.a
@static-lib lib/libirda.a
@man man/man1/ircomm.1
@man man/man1/irobex.1
@man man/man1/irs.1