devel/libserialport: Update version 0.1.1=>0.1.2

- Pet portclippy

Changelog: https://www.sigrok.org/blog/libserialport-012-released
This commit is contained in:
Muhammad Moinur Rahman 2024-10-15 07:30:55 +02:00
parent 0e77064a28
commit add75df273
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
4 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= libserialport PORTNAME= libserialport
PORTVERSION= 0.1.1 DISTVERSION= 0.1.2
PORTREVISION= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= http://sigrok.org/download/source/libserialport/ MASTER_SITES= http://sigrok.org/download/source/libserialport/
@ -10,11 +9,12 @@ WWW= https://sigrok.org/
LICENSE= LGPL3 LICENSE= LGPL3
USE_LDCONFIG= yes
USES= libtool pathfix pkgconfig USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1468437932 TIMESTAMP = 1728969985
SHA256 (libserialport-0.1.1.tar.gz) = 4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d SHA256 (libserialport-0.1.2.tar.gz) = 5deb92b5ca72c0347b07b786848350deca2dcfd975ce613b8e0e1d947a4b4ca9
SIZE (libserialport-0.1.1.tar.gz) = 405251 SIZE (libserialport-0.1.2.tar.gz) = 470818

View file

@ -1,9 +1,9 @@
--- freebsd.c.orig 2018-07-17 13:22:11 UTC --- freebsd.c.orig 2017-04-29 08:27:51 UTC
+++ freebsd.c +++ freebsd.c
@@ -327,9 +327,8 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***li @@ -326,9 +326,8 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***li
{
DIR *dir; DIR *dir;
struct dirent entry; struct dirent *entry;
struct dirent *result;
- struct termios tios; - struct termios tios;
char name[PATH_MAX]; char name[PATH_MAX];
- int fd, ret; - int fd, ret;
@ -11,7 +11,7 @@
DEBUG("Enumerating tty devices"); DEBUG("Enumerating tty devices");
if (!(dir = opendir("/dev"))) if (!(dir = opendir("/dev")))
@@ -353,21 +352,10 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***li @@ -352,21 +351,10 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***li
DEBUG_FMT("Found device %s", name); DEBUG_FMT("Found device %s", name);
/* Check that we can open tty/cua device in rw mode - we need that. */ /* Check that we can open tty/cua device in rw mode - we need that. */
@ -34,4 +34,4 @@
- continue; - continue;
DEBUG_FMT("Found port %s", name); DEBUG_FMT("Found port %s", name);
DBG("%s: %s\n", __func__, entry.d_name); DBG("%s: %s\n", __func__, entry->d_name);

View file

@ -2,5 +2,5 @@ include/libserialport.h
lib/libserialport.a lib/libserialport.a
lib/libserialport.so lib/libserialport.so
lib/libserialport.so.0 lib/libserialport.so.0
lib/libserialport.so.0.1.0 lib/libserialport.so.0.1.1
libdata/pkgconfig/libserialport.pc libdata/pkgconfig/libserialport.pc