1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00

fix segfault

PR:		44049
Submitted by:	Michael Hsin <mhsin@mhsin.org>
This commit is contained in:
Ying-Chieh Liao 2002-10-28 18:39:11 +00:00
parent 8117446b64
commit 5d8aaaa374
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69047
2 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= gsmlib
PORTVERSION= 1.9
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.pxh.de/fs/gsmlib/download/

View File

@ -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];