aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch13
-rw-r--r--network/skylable-sx/skylable-sx.SlackBuild5
-rw-r--r--network/skylable-sx/skylable-sx.info6
3 files changed, 20 insertions, 4 deletions
diff --git a/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch
new file mode 100644
index 000000000000..00d9f683c3e6
--- /dev/null
+++ b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch
@@ -0,0 +1,13 @@
+diff --git a/libsxclient/src/openssl.c b/libsxclient/src/openssl.c
+index 62bfc01..666430a 100644
+--- a/libsxclient/src/openssl.c
++++ b/libsxclient/src/openssl.c
+@@ -98,6 +98,8 @@ int sxi_sslctxfun(sxc_client_t *sx, curlev_t *ev, const struct curl_tlssessionin
+ return -1;
+ }
+ SSL_CTX *ctx = (SSL_CTX*)info->internals;
++ if (!ctx)
++ return -EAGAIN;
+ SSL_CTX_set_cert_verify_callback(ctx, ssl_verify_hostname, ev);
+ return 0;
+ }
diff --git a/network/skylable-sx/skylable-sx.SlackBuild b/network/skylable-sx/skylable-sx.SlackBuild
index 20cdfd94d544..cd16f14cc3d9 100644
--- a/network/skylable-sx/skylable-sx.SlackBuild
+++ b/network/skylable-sx/skylable-sx.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skylable-sx
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix a curl-7.45 compatibility issue
+patch -p1 < $CWD/patch/skylable-sx-1.2-fix-curl-7.45.patch
+
# CLIENT_ONLY="--disable-server"
CFLAGS="$SLKCFLAGS" \
diff --git a/network/skylable-sx/skylable-sx.info b/network/skylable-sx/skylable-sx.info
index 311f38af6d2a..bd3f143e6014 100644
--- a/network/skylable-sx/skylable-sx.info
+++ b/network/skylable-sx/skylable-sx.info
@@ -1,8 +1,8 @@
PRGNAM="skylable-sx"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="http://www.skylable.com"
-DOWNLOAD="http://cdn.skylable.com/source/sx-1.1.tar.gz"
-MD5SUM="d8ac16ad3afbe6fe5489b926ee7ae914"
+DOWNLOAD="http://cdn.skylable.com/source/sx-1.2.tar.gz"
+MD5SUM="1a23ff4fc1a8f8d60306f55d8af2ae50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl fcgi"