diff --git a/srcpkgs/gammu/patches/fix-musl.patch b/srcpkgs/gammu/patches/fix-musl.patch new file mode 100644 index 00000000000..58ecfb7ae12 --- /dev/null +++ b/srcpkgs/gammu/patches/fix-musl.patch @@ -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 + # include + # include ++# include + #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 + #include + #include ++#include + #include + + #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 + #include + #include ++#include + #ifdef HAVE_I_SETSIG + #include + #endif + diff --git a/srcpkgs/gammu/template b/srcpkgs/gammu/template index 0df8d167518..869d4d6d35d 100644 --- a/srcpkgs/gammu/template +++ b/srcpkgs/gammu/template @@ -1,16 +1,17 @@ # Template file for 'gammu' pkgname=gammu -version=1.39.0 +version=1.40.0 revision=1 build_style=cmake -hostmakedepends="pkg-config intltool bash-completion" -makedepends="libbluetooth-devel libusb-devel" +hostmakedepends="pkg-config intltool" +makedepends="libbluetooth-devel libusb-devel bash-completion + libglib-devel" short_desc="Cell phone connectivity and management tool" maintainer="Jakub Skrzypnik " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://wammu.eu" distfiles="https://dl.cihar.com/gammu/releases/gammu-${version}.tar.bz2" -checksum="f20ca4e2367cd0beb33e49027e7e8e4b884ee9ed15d4a5353eb08e8bc269f8e2" +checksum=07691cfbf082038b6d8d4ad418ac34c983de551902b1cbd777f09350657b8a9f gammu-devel_package() { depends="${sourcepkg}>=${version}_${revision}"