diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 17:13:03 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 17:13:03 +0000 |
commit | 9ee4c3a2650f7ad9508adf5a3e7fd1fe9d2971d0 (patch) | |
tree | edcdf31cb1cb57076aeac188e475d4f581205580 /comms | |
parent | 72a8db4870ec9d37f8cd846e39d3fdd2334b4e2d (diff) | |
download | pkgsrc-9ee4c3a2650f7ad9508adf5a3e7fd1fe9d2971d0.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/gammu/Makefile | 4 | ||||
-rw-r--r-- | comms/gammu/distinfo | 3 | ||||
-rw-r--r-- | comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c | 15 | ||||
-rw-r--r-- | comms/gsmlib/distinfo | 3 | ||||
-rw-r--r-- | comms/gsmlib/patches/patch-gsmlib_gsm__util.cc | 12 |
5 files changed, 34 insertions, 3 deletions
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index 49a1a8cbc85..7c989caaa54 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/04/22 13:43:09 obache Exp $ +# $NetBSD: Makefile,v 1.7 2012/02/16 17:13:03 hans Exp $ # .include "Makefile.common" @@ -33,6 +33,8 @@ REPLACE_BASH= utils/gammu-config utils/jadmaker # needed because of https://bugs.cihar.com/view.php?id=908 BUILDLINK_TRANSFORM+= rm:-Werror +LDFLAGS.SunOS+= -lintl + .include "../../devel/libusb/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/comms/gammu/distinfo b/comms/gammu/distinfo index 5b9002e4984..67771144b2a 100644 --- a/comms/gammu/distinfo +++ b/comms/gammu/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2009/09/09 13:34:54 wiz Exp $ +$NetBSD: distinfo,v 1.7 2012/02/16 17:13:03 hans Exp $ SHA1 (gammu-1.26.1.tar.bz2) = 122886f29c566f72020e91da119e1e04f7bfbec6 RMD160 (gammu-1.26.1.tar.bz2) = a913ac6c999f81ab4fda7c1656232484033ac540 Size (gammu-1.26.1.tar.bz2) = 2113622 bytes +SHA1 (patch-contrib_smscgi_sms__cgi.c) = c7f40671374294ce90f17541b15529ee4ee649aa diff --git a/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c b/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c new file mode 100644 index 00000000000..0af4693a8c6 --- /dev/null +++ b/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c @@ -0,0 +1,15 @@ +$NetBSD: patch-contrib_smscgi_sms__cgi.c,v 1.1 2012/02/16 17:13:03 hans Exp $ + +--- contrib/smscgi/sms_cgi.c.orig 2009-09-08 09:57:12.000000000 +0200 ++++ contrib/smscgi/sms_cgi.c 2012-01-25 19:47:48.177845692 +0100 +@@ -26,6 +26,10 @@ + #include <signal.h> + #include <sys/wait.h> + ++#ifdef __sun ++#include <alloca.h> ++#endif ++ + #include "sms_cgi.h" + + /* Some systems let waitpid(2) tell callers about stopped children. */ diff --git a/comms/gsmlib/distinfo b/comms/gsmlib/distinfo index bb049c5a734..54994d3e331 100644 --- a/comms/gsmlib/distinfo +++ b/comms/gsmlib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2011/11/24 14:17:05 joerg Exp $ +$NetBSD: distinfo,v 1.10 2012/02/16 17:17:08 hans Exp $ SHA1 (gsmlib-1.10.tar.gz) = 0f329f6185c0dd5221f85ee0af7d95dea23bed8f RMD160 (gsmlib-1.10.tar.gz) = 8abd1cdb4b61ddbb6fffd3a4100edcc0f079b845 @@ -11,3 +11,4 @@ SHA1 (patch-apps_gsmsmsd.cc) = c95f4e7083b04136195225e87a260cfe527296e3 SHA1 (patch-gsmlib_gsm__me__ta.cc) = ea7414ec1536e581c78c6418d029b8b754854fcb SHA1 (patch-gsmlib_gsm__sms__codec.cc) = 633d3bb0c592d96646566732a1fa61ddf1820769 SHA1 (patch-gsmlib_gsm__sorted__phonebook.cc) = 0d8a145a4ebcda8428ec5391571293d3e5f81bc5 +SHA1 (patch-gsmlib_gsm__util.cc) = dc50a452bbec427d7d5d918f720fe03e4a688019 diff --git a/comms/gsmlib/patches/patch-gsmlib_gsm__util.cc b/comms/gsmlib/patches/patch-gsmlib_gsm__util.cc new file mode 100644 index 00000000000..9b16e8b6308 --- /dev/null +++ b/comms/gsmlib/patches/patch-gsmlib_gsm__util.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-gsmlib_gsm__util.cc,v 1.1 2012/02/16 17:17:08 hans Exp $ + +--- gsmlib/gsm_util.cc.orig 2002-09-22 15:41:08.000000000 +0200 ++++ gsmlib/gsm_util.cc 2012-01-25 19:58:53.702987952 +0100 +@@ -37,6 +37,7 @@ + #endif + #include <stdio.h> + #include <sys/stat.h> ++#include <stdlib.h> + + using namespace std; + using namespace gsmlib; |