liblo: bump version

This commit is contained in:
Jerome Duval
2021-01-15 16:08:22 +01:00
parent 29b296425c
commit 082e188c83
2 changed files with 14 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2008-2012 Stephen Sinclair
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/liblo/liblo-$portVersion.tar.gz"
CHECKSUM_SHA256="30a7c9de49a25ed7f2425a7a7415f5b14739def62431423d3419ea26fb978d1b"
CHECKSUM_SHA256="2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750"
PATCHES="liblo-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
@@ -21,7 +21,7 @@ PROVIDES="
cmd:oscdump$secondaryArchSuffix
cmd:oscsend$secondaryArchSuffix
cmd:oscsendfile$secondaryArchSuffix
lib:liblo$secondaryArchSuffix = 7.4.0 compat >= 7
lib:liblo$secondaryArchSuffix = 7.4.1 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -29,7 +29,7 @@ REQUIRES="
PROVIDES_devel="
liblo${secondaryArchSuffix}_devel = $portVersion compat >= 0
devel:liblo$secondaryArchSuffix = 7.4.0 compat >= 7
devel:liblo$secondaryArchSuffix = 7.4.1 compat >= 7
"
REQUIRES_devel="
liblo$secondaryArchSuffix == $portVersion base

View File

@@ -1,11 +1,11 @@
From a8790a95d8b0abc23f0b179840806e9a25a475e7 Mon Sep 17 00:00:00 2001
From 941c9d0fef96e97eed30d44a6e86eb1c3ba41ce2 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 20 May 2014 16:30:21 +0000
Subject: haiku patch
diff --git a/configure.ac b/configure.ac
index 77c5070..8b5a914 100644
index ee9b93d..39114cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ else
@@ -18,31 +18,31 @@ index 77c5070..8b5a914 100644
AC_CHECK_FUNCS([getifaddrs])
--
2.24.0
2.30.0
From 8080968684051b36de32e18d3832ac63dc9074a0 Mon Sep 17 00:00:00 2001
From 5457650fef2a4da53054b6411f2bbae68872834b Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 20 May 2014 16:51:04 +0000
Subject: check getifaddrs
diff --git a/lo/lo_cpp.h b/lo/lo_cpp.h
index 11ddc8e..c3db879 100644
index e3044cb..4acd9a8 100644
--- a/lo/lo_cpp.h
+++ b/lo/lo_cpp.h
@@ -232,11 +232,19 @@ namespace lo {
@@ -284,11 +284,19 @@ namespace lo {
return result;
}
+#ifdef HAVE_GETIFADDRS
std::string iface() const
{ auto s(lo_address_get_iface(address)); return std::string(s?s:""); }
{ LO_CHECK_BEFORE; auto s(lo_address_get_iface(address)); return std::string(s?s:""); }
void set_iface(const string_type &iface, const string_type &ip)
{ lo_address_set_iface(address, iface, ip); }
{ LO_CHECK_BEFORE; lo_address_set_iface(address, iface, ip); }
+#else
+ std::string iface() const
+ std::string iface() const
+ { return std::string(""); }
+
+ void set_iface(const string_type &iface, const string_type &ip)
@@ -50,7 +50,7 @@ index 11ddc8e..c3db879 100644
+#endif
int set_tcp_nodelay(int enable)
{ return lo_address_set_tcp_nodelay(address, enable); }
{ LO_CHECK_BEFORE; return lo_address_set_tcp_nodelay(address, enable); }
--
2.24.0
2.30.0