summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-28 18:39:11 +0000
committerijliao <ijliao@FreeBSD.org>2002-10-28 18:39:11 +0000
commit24ca1b02d8a387cbc997a4c1b0db13a885ed86d6 (patch)
tree1450268e4df0dd174e1c543cb67f1ab01066a2a0 /comms
parent67b8ba6fb9fd0fc73abc21cd0bd107cda6e573b0 (diff)
downloadFreeBSD-ports-24ca1b02d8a387cbc997a4c1b0db13a885ed86d6.zip
FreeBSD-ports-24ca1b02d8a387cbc997a4c1b0db13a885ed86d6.tar.gz
fix segfault
PR: 44049 Submitted by: Michael Hsin <mhsin@mhsin.org>
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile1
-rw-r--r--comms/gsmlib/files/patch-gsm_sms_codec.cc11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index f2633ef..8112933 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gsmlib
PORTVERSION= 1.9
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.pxh.de/fs/gsmlib/download/
diff --git a/comms/gsmlib/files/patch-gsm_sms_codec.cc b/comms/gsmlib/files/patch-gsm_sms_codec.cc
new file mode 100644
index 0000000..511c3ec
--- /dev/null
+++ b/comms/gsmlib/files/patch-gsm_sms_codec.cc
@@ -0,0 +1,11 @@
+--- gsmlib/gsm_sms_codec.cc.orig Tue Oct 29 02:33:19 2002
++++ gsmlib/gsm_sms_codec.cc Tue Oct 29 02:33:36 2002
+@@ -110,6 +110,8 @@
+ t.tm_isdst = -1;
+ t.tm_yday = 0;
+ t.tm_wday = 0;
++
++#define BROKEN_STRFTIME
+
+ #ifdef BROKEN_STRFTIME
+ char formattedTime[1024];
OpenPOWER on IntegriCloud