package/erlang-p1-sip: bump version to 1.0.38

upstream is finally using include_lib to include libraries. Adapt the patch
accordingly.

The hash of the license file has changed, due to:

-Copyright 2002-2019 ProcessOne SARL
+Copyright 2002-2020 ProcessOne SARL

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Johan Oudinet 2020-11-26 18:42:58 +01:00 committed by Thomas Petazzoni
parent c4bd3689ad
commit 26da19b7c5
4 changed files with 34 additions and 22 deletions

View File

@ -0,0 +1,31 @@
From 5ad4f871df7cbbc973708cb7380c3410b20bde1c Mon Sep 17 00:00:00 2001
From: Philipp Huebner <debalance@debian.org>
Date: Tue, 1 Dec 2020 23:07:51 +0100
Subject: [PATCH] correct include
This part of the code was moved into it's own project and was packaged
separately by me. To make the build process work, this small fix is
necessary.
Author: Philipp Huebner <debalance@debian.org>
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
---
src/esip_socket.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/esip_socket.erl b/src/esip_socket.erl
index 4154faa..db5fa92 100644
--- a/src/esip_socket.erl
+++ b/src/esip_socket.erl
@@ -37,7 +37,7 @@
-include("esip.hrl").
-include("esip_lib.hrl").
--include_lib("stun/include/stun.hrl").
+-include_lib("p1_stun/include/stun.hrl").
-define(TCP_SEND_TIMEOUT, 15000).
-define(CONNECT_TIMEOUT, 20000).
--
2.28.0

View File

@ -1,19 +0,0 @@
Description: correct include
This part of the code was moved into it's own project and was packaged
separately by me. To make the build process work, this small fix is
necessary.
Author: Philipp Huebner <debalance@debian.org>
Index: erlang-p1-sip/src/esip_socket.erl
===================================================================
--- erlang-p1-sip.orig/src/esip_socket.erl
+++ erlang-p1-sip/src/esip_socket.erl
@@ -22,7 +22,7 @@
-include("esip.hrl").
-include("esip_lib.hrl").
--include("stun.hrl").
+-include_lib("p1_stun/include/stun.hrl").
-define(TCP_SEND_TIMEOUT, 15000).
-define(CONNECT_TIMEOUT, 20000).

View File

@ -1,3 +1,3 @@
# Locally calculated
sha256 4c8dbba1dfcbb16a300fea5fd75f5ab2a145f011fa1ebff37e31e1672a9bc285 erlang-p1-sip-1.0.30.tar.gz
sha256 6e68ca4488fcdacf80ea0a3f5a6a294d48c2d8dc9de520cc3d6b3f3c1bc12847 LICENSE.txt
sha256 b46349a7077d8e5f36a216ada4a5c0b51ef3d66005606beb0ea3962069f215a7 erlang-p1-sip-1.0.38.tar.gz
sha256 6cd4871db940d055cf272c12c10e0c08febdc94362e404390758fde34b4ce01a LICENSE.txt

View File

@ -4,7 +4,7 @@
#
################################################################################
ERLANG_P1_SIP_VERSION = 1.0.30
ERLANG_P1_SIP_VERSION = 1.0.38
ERLANG_P1_SIP_SITE = $(call github,processone,esip,$(ERLANG_P1_SIP_VERSION))
ERLANG_P1_SIP_LICENSE = Apache-2.0
ERLANG_P1_SIP_LICENSE_FILES = LICENSE.txt