gammu: update to 1.40.0.

This commit is contained in:
maxice8 2019-02-16 03:18:34 -02:00 committed by maxice8
parent aa86725b4b
commit 33d6d89985
2 changed files with 43 additions and 5 deletions

View File

@ -0,0 +1,37 @@
diff --git a/libgammu/device/devfunc.c b/libgammu/device/devfunc.c
index e751cd3..631afb5 100644
--- libgammu/device/devfunc.c
+++ libgammu/device/devfunc.c
@@ -24,6 +24,7 @@
# include <signal.h>
# include <sys/socket.h>
# include <sys/stat.h>
+# include <sys/select.h>
#endif
#include "devfunc.h"
diff --git a/libgammu/device/proxy/proxy.c b/libgammu/device/proxy/proxy.c
index c68e00e..57f3c4d 100644
--- libgammu/device/proxy/proxy.c
+++ libgammu/device/proxy/proxy.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <sys/select.h>
#include <unistd.h>
#include "../../gsmcomon.h"
diff --git a/libgammu/device/serial/ser_unx.c b/libgammu/device/serial/ser_unx.c
index c0fbd57..5699238 100644
--- libgammu/device/serial/ser_unx.c
+++ libgammu/device/serial/ser_unx.c
@@ -28,6 +28,7 @@
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
+#include <sys/select.h>
#ifdef HAVE_I_SETSIG
#include <stropts.h>
#endif

View File

@ -1,16 +1,17 @@
# Template file for 'gammu' # Template file for 'gammu'
pkgname=gammu pkgname=gammu
version=1.39.0 version=1.40.0
revision=1 revision=1
build_style=cmake build_style=cmake
hostmakedepends="pkg-config intltool bash-completion" hostmakedepends="pkg-config intltool"
makedepends="libbluetooth-devel libusb-devel" makedepends="libbluetooth-devel libusb-devel bash-completion
libglib-devel"
short_desc="Cell phone connectivity and management tool" short_desc="Cell phone connectivity and management tool"
maintainer="Jakub Skrzypnik <jakub.skrzypnik@interia.pl>" maintainer="Jakub Skrzypnik <jakub.skrzypnik@interia.pl>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="https://wammu.eu" homepage="https://wammu.eu"
distfiles="https://dl.cihar.com/gammu/releases/gammu-${version}.tar.bz2" distfiles="https://dl.cihar.com/gammu/releases/gammu-${version}.tar.bz2"
checksum="f20ca4e2367cd0beb33e49027e7e8e4b884ee9ed15d4a5353eb08e8bc269f8e2" checksum=07691cfbf082038b6d8d4ad418ac34c983de551902b1cbd777f09350657b8a9f
gammu-devel_package() { gammu-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"