From 56d91231da05abae3c8f1c7eb2543731300f8d29 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 18 Feb 2009 11:02:23 +0000 Subject: [PATCH] - fix potential 64-bit issue due to missing header - add license marker --- comms/hamlib/Makefile | 7 ++++--- comms/hamlib/patches/patch-rpcrot_rpcrot_proc_c | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 comms/hamlib/patches/patch-rpcrot_rpcrot_proc_c diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile index 876a80c96f1..a41460e1785 100644 --- a/comms/hamlib/Makefile +++ b/comms/hamlib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2008/10/28 12:14:00 steven Exp $ +# $OpenBSD: Makefile,v 1.10 2009/02/18 11:02:23 jasper Exp $ COMMENT-main= radio/rotator control library COMMENT-python= python bindings for hamlib @@ -6,7 +6,7 @@ COMMENT-tcl= tcl bindings for hamlib VERSION= 1.2.6 DISTNAME= hamlib-${VERSION} -PKGNAME-main= hamlib-${VERSION}p2 +PKGNAME-main= hamlib-${VERSION}p3 PKGNAME-python= hamlib-python-${VERSION}p2 PKGNAME-tcl= hamlib-tcl-${VERSION}p2 CATEGORIES= comms hamradio @@ -22,6 +22,7 @@ MAINTAINER= Jason Wright MODULES= lang/python lang/tcl +# GPLv2/LGPLv2.1 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes @@ -39,7 +40,7 @@ LIB_DEPENDS-python= hamlib::${BUILD_PKGPATH} \ LIB_DEPENDS-tcl= hamlib::${BUILD_PKGPATH} \ ${MODTCL_LIB_DEPENDS} -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hamlib/} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hamlib/} USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu diff --git a/comms/hamlib/patches/patch-rpcrot_rpcrot_proc_c b/comms/hamlib/patches/patch-rpcrot_rpcrot_proc_c new file mode 100644 index 00000000000..a7db7664a65 --- /dev/null +++ b/comms/hamlib/patches/patch-rpcrot_rpcrot_proc_c @@ -0,0 +1,14 @@ +$OpenBSD: patch-rpcrot_rpcrot_proc_c,v 1.1 2009/02/18 11:02:23 jasper Exp $ + +Fix 64-bit issues. + +--- rpcrot/rpcrot_proc.c.orig Wed Feb 18 11:55:21 2009 ++++ rpcrot/rpcrot_proc.c Wed Feb 18 11:56:01 2009 +@@ -25,6 +25,7 @@ + #include "config.h" + #endif + ++#include + + #include + #include "rpcrot.h"