ports/179853: New port: devel/libsigrok

Uffe Jakobsen uffe at uffe.org
Sun Jun 23 21:40:01 UTC 2013


The following reply was made to PR ports/179853; it has been noted by GNATS.

From: Uffe Jakobsen <uffe at uffe.org>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/179853: New port: devel/libsigrok
Date: Sun, 23 Jun 2013 23:37:32 +0200

 This is a multi-part message in MIME format.
 --------------060802040505050608000209
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Doh - wrong pkg-plist - New shar attached to this email
 
 /Uffe
 
 
 --------------060802040505050608000209
 Content-Type: text/plain; charset=UTF-8;
  name="freebsd-port-libsigrok.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="freebsd-port-libsigrok.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	libsigrok
 #	libsigrok/pkg-plist
 #	libsigrok/pkg-descr
 #	libsigrok/distinfo
 #	libsigrok/Makefile
 #	libsigrok/files
 #	libsigrok/files/patch-hardware-victor-dmm-api.c
 #	libsigrok/files/patch-hardware-lascar-el-usb-protocol.c
 #
 echo c - libsigrok
 mkdir -p libsigrok > /dev/null 2>&1
 echo x - libsigrok/pkg-plist
 sed 's/^X//' >libsigrok/pkg-plist << '3a94c2b6a9b86a15c23082131f60af5d'
 Xinclude/libsigrok/libsigrok.h
 Xinclude/libsigrok/proto.h
 Xinclude/libsigrok/version.h
 Xlib/libsigrok.a
 Xlib/libsigrok.la
 Xlib/libsigrok.so
 Xlib/libsigrok.so.1
 Xlib/pkgconfig/libsigrok.pc
 X at dirrm lib/pkgconfig
 X at dirrm include/libsigrok
 3a94c2b6a9b86a15c23082131f60af5d
 echo x - libsigrok/pkg-descr
 sed 's/^X//' >libsigrok/pkg-descr << '1dd8ad2225647652e2c0f8ffa603b722'
 XThe sigrok project aims at creating a portable, cross-platform,
 XFree/Libre/Open-Source signal analysis software suite that supports
 Xvarious device types, such as logic analyzers, MSOs, oscilloscopes,
 Xmultimeters, LCR meters, sound level meters, thermometers, 
 Xhygrometers, anemometers, light meters, DAQs, dataloggers, 
 Xfunction generators, spectrum analyzers, power supplies,
 XGPIB interfaces, and more. 
 X
 XWWW: http://sigrok.org/
 1dd8ad2225647652e2c0f8ffa603b722
 echo x - libsigrok/distinfo
 sed 's/^X//' >libsigrok/distinfo << 'f4f3cec5eb62941ef0b1bce131730814'
 XSHA256 (libsigrok-0.2.0.tar.gz) = 25b7930b7f5f0c3f8a8151e511cbffb97985f365fce338bb66f7bf111243b1de
 XSIZE (libsigrok-0.2.0.tar.gz) = 852744
 f4f3cec5eb62941ef0b1bce131730814
 echo x - libsigrok/Makefile
 sed 's/^X//' >libsigrok/Makefile << '073e2789db80640f8f775ecbe3f3ed36'
 X# Created by: Uffe Jakobsen <uffe at uffe.org>
 X# $FreeBSD: $
 X
 XPORTNAME=	libsigrok
 XPORTVERSION=	0.2.0
 XPORTREVISION=	1
 XCATEGORIES=	devel
 XMASTER_SITES= http://sigrok.org/download/source/libsigrok/
 XEXTRACT_SUFX=	.tar.gz
 X
 XMAINTAINER=	uffe at uffe.org
 XCOMMENT=	Framework for hardware logic analyzers, core library
 X
 XBUILD_DEPENDS=	libzip:${PORTSDIR}/archivers/libzip
 XRUN_DEPENDS=	${BUILD_DEPDENDS}
 X
 XGNU_CONFIGURE=	yes
 XUSE_GMAKE=	yes
 XMAKE_JOBS_UNSAFE=yes
 X
 X# Workaround FreeBSD 9.1 libusb not knowing LIBUSB_CLASS_APPLICATION
 XCFLAGS+= -DLIBUSB_CLASS_APPLICATION=0xfe
 X
 X.include <bsd.port.mk>
 073e2789db80640f8f775ecbe3f3ed36
 echo c - libsigrok/files
 mkdir -p libsigrok/files > /dev/null 2>&1
 echo x - libsigrok/files/patch-hardware-victor-dmm-api.c
 sed 's/^X//' >libsigrok/files/patch-hardware-victor-dmm-api.c << 'b96841fcc47074285ef2e221586528fa'
 X--- ./hardware/victor-dmm/api.c.orig	2013-06-22 17:57:10.000000000 +0200
 X+++ ./hardware/victor-dmm/api.c	2013-06-22 17:57:36.000000000 +0200
 X@@ -379,8 +379,7 @@
 X 	}
 X 
 X 	memset(&tv, 0, sizeof(struct timeval));
 X-	libusb_handle_events_timeout_completed(drvc->sr_ctx->libusb_ctx, &tv,
 X-					       NULL);
 X+	libusb_handle_events_timeout(drvc->sr_ctx->libusb_ctx, &tv);
 X 
 X 	return TRUE;
 X }
 b96841fcc47074285ef2e221586528fa
 echo x - libsigrok/files/patch-hardware-lascar-el-usb-protocol.c
 sed 's/^X//' >libsigrok/files/patch-hardware-lascar-el-usb-protocol.c << 'd6bf37de142ab19c82d2e782ccc2d034'
 X--- ./hardware/lascar-el-usb/protocol.c.orig	2013-06-22 17:57:14.000000000 +0200
 X+++ ./hardware/lascar-el-usb/protocol.c	2013-06-22 17:57:56.000000000 +0200
 X@@ -512,8 +512,7 @@
 X 	}
 X 
 X 	memset(&tv, 0, sizeof(struct timeval));
 X-	libusb_handle_events_timeout_completed(drvc->sr_ctx->libusb_ctx, &tv,
 X-					       NULL);
 X+	libusb_handle_events_timeout(drvc->sr_ctx->libusb_ctx, &tv);
 X 
 X 	return TRUE;
 X }
 d6bf37de142ab19c82d2e782ccc2d034
 exit
 
 
 --------------060802040505050608000209--
 
 


More information about the freebsd-ports-bugs mailing list