aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/ljpms/Makefile1
-rw-r--r--www/ljpms/files/patch-ljpms.pl19
2 files changed, 20 insertions, 0 deletions
diff --git a/www/ljpms/Makefile b/www/ljpms/Makefile
index 3b0479bc6940..8738a3c566d9 100644
--- a/www/ljpms/Makefile
+++ b/www/ljpms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ljpms
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= www perl5 deskutils
MASTER_SITES= http://ljsm.feechki.org/
DISTFILES= ljpms-1_3.zip
diff --git a/www/ljpms/files/patch-ljpms.pl b/www/ljpms/files/patch-ljpms.pl
new file mode 100644
index 000000000000..4f8c03b08e7e
--- /dev/null
+++ b/www/ljpms/files/patch-ljpms.pl
@@ -0,0 +1,19 @@
+--- ljpms.pl.orig Fri Nov 17 17:12:34 2006
++++ ljpms.pl Sat Mar 24 22:53:07 2007
+@@ -217,7 +217,6 @@
+
+ sub post_event {
+ my ($entry) = @_;
+- my ($year, $month, $day, $hour, $min) = split(/\D+/, my_encode($entry->{'eventtime'}));
+
+ my $soap_message = &make_message($entry);
+ $soap_message->{'props'}->{'opt_backdated'} = 1;
+@@ -243,7 +242,7 @@
+
+ sub make_message {
+ my ($entry) = @_;
+- my ($year, $month, $day, $hour, $min) = split(/\D+/, ($entry->{'eventtime'} or $entry->{'logtime'}));
++ my ($year, $month, $day, $hour, $min) = split(/\D+/, ($entry->{'logtime'} or $entry->{'eventtime'}));
+ my $soap_message = {
+ 'ver' => 1,
+ 'lineendings' => "\n",