libpurple, bump version (#6277)

This commit is contained in:
Schrijvers Luc
2021-10-15 11:15:23 +02:00
committed by GitHub
parent d16f8d1588
commit 7e6f7f9bc5
2 changed files with 3 additions and 47 deletions

View File

@@ -3,18 +3,17 @@ DESCRIPTION="libpurple is a library for IM communication used by many open \
source IM clients. It implements a variety of protocols, for example IRC, \
Jabber or ICQ."
HOMEPAGE="https://pidgin.im/"
COPYRIGHT="1998-2021 Rob Flynn et al."
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/project/pidgin/Pidgin/$portVersion/pidgin-$portVersion.tar.bz2"
CHECKSUM_SHA256="bb45f7c032f9efd6922a5dbf2840995775e5584771b23992d04f6eff7dff5336"
COPYRIGHT="1998-2021 Rob Flynn et al."
CHECKSUM_SHA256="3f8085c0211c4ca1ba9f8a03889b3d60738432c1673b57b0086070ef6e094cca"
SOURCE_DIR="pidgin-$portVersion"
PATCHES="libpurple-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion=0.14.6
libVersion=0.14.8
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="

View File

@@ -1,43 +0,0 @@
From 985fb364d36a7d35a73c7c29b5e4da6c0009957e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 26 Aug 2018 10:24:31 +0200
Subject: SIOCGIFCONF on Haiku resides in sockio.h
diff --git a/libpurple/network.c b/libpurple/network.c
index c43e3c7..f5dcc02 100644
--- a/libpurple/network.c
+++ b/libpurple/network.c
@@ -57,6 +57,12 @@
#include <idna.h>
#endif
+#ifdef __HAIKU__
+# ifndef SIOCGIFCONF
+# include <sys/sockio.h>
+# endif
+#endif
+
/*
* Calling sizeof(struct ifreq) isn't always correct on
* Mac OS X (and maybe others).
diff --git a/libpurple/stun.c b/libpurple/stun.c
index 96bacda..c6eaaf4 100644
--- a/libpurple/stun.c
+++ b/libpurple/stun.c
@@ -39,6 +39,12 @@
#include <sys/sockio.h>
#endif
+#ifdef __HAIKU__
+# ifndef SIOCGIFCONF
+# include <sys/sockio.h>
+# endif
+#endif
+
#include "debug.h"
#include "account.h"
#include "dnsquery.h"
--
2.16.4