aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2009-03-12 16:01:19 +0800
committerbsam <bsam@FreeBSD.org>2009-03-12 16:01:19 +0800
commit4c222673cf38fc5d9c25fbd5b7bab6fdef0556f5 (patch)
tree8838b5dc66aee85583437aab366cae190237a265 /comms
parent01f98e4b89d7733818aba0618d10eec58c4c50be (diff)
downloadfreebsd-ports-gnome-4c222673cf38fc5d9c25fbd5b7bab6fdef0556f5.tar.gz
freebsd-ports-gnome-4c222673cf38fc5d9c25fbd5b7bab6fdef0556f5.tar.zst
freebsd-ports-gnome-4c222673cf38fc5d9c25fbd5b7bab6fdef0556f5.zip
. fix build at FreeBSD-6.x (add a variable initialization,
the patch submitted upstream); . bump PORTREVISION (the logic has changed).
Diffstat (limited to 'comms')
-rw-r--r--comms/gammu-devel/Makefile5
-rw-r--r--comms/gammu-devel/files/patch-gammu-backupsms.c11
-rw-r--r--comms/gammu/Makefile5
-rw-r--r--comms/gammu/files/patch-gammu-backupsms.c11
4 files changed, 24 insertions, 8 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
index 758d59a9ab99..534774da10ce 100644
--- a/comms/gammu-devel/Makefile
+++ b/comms/gammu-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 1.23.1
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com/gammu/releases/
@@ -49,8 +50,4 @@ post-patch:
@${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt
.endif
-.if ${OSVERSION} < 700000
-BROKEN= does not build at 6.x
-.endif
-
.include <bsd.port.post.mk>
diff --git a/comms/gammu-devel/files/patch-gammu-backupsms.c b/comms/gammu-devel/files/patch-gammu-backupsms.c
new file mode 100644
index 000000000000..e1299e151bb9
--- /dev/null
+++ b/comms/gammu-devel/files/patch-gammu-backupsms.c
@@ -0,0 +1,11 @@
+--- gammu/backupsms.c.orig 2009-03-12 10:06:22.000000000 +0300
++++ gammu/backupsms.c 2009-03-12 10:06:38.000000000 +0300
+@@ -23,7 +23,7 @@
+ GSM_SMSFolders folders;
+ bool BackupFromFolder[GSM_MAX_SMS_FOLDERS];
+ bool start = true;
+- bool DeleteAfter, askdelete = true;
++ bool DeleteAfter = false, askdelete = true;
+ int j, smsnum = 0;
+
+ if (argc == 4) {
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index 758d59a9ab99..534774da10ce 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 1.23.1
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com/gammu/releases/
@@ -49,8 +50,4 @@ post-patch:
@${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt
.endif
-.if ${OSVERSION} < 700000
-BROKEN= does not build at 6.x
-.endif
-
.include <bsd.port.post.mk>
diff --git a/comms/gammu/files/patch-gammu-backupsms.c b/comms/gammu/files/patch-gammu-backupsms.c
new file mode 100644
index 000000000000..e1299e151bb9
--- /dev/null
+++ b/comms/gammu/files/patch-gammu-backupsms.c
@@ -0,0 +1,11 @@
+--- gammu/backupsms.c.orig 2009-03-12 10:06:22.000000000 +0300
++++ gammu/backupsms.c 2009-03-12 10:06:38.000000000 +0300
+@@ -23,7 +23,7 @@
+ GSM_SMSFolders folders;
+ bool BackupFromFolder[GSM_MAX_SMS_FOLDERS];
+ bool start = true;
+- bool DeleteAfter, askdelete = true;
++ bool DeleteAfter = false, askdelete = true;
+ int j, smsnum = 0;
+
+ if (argc == 4) {