aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2014-05-28 11:06:23 +0800
committerume <ume@FreeBSD.org>2014-05-28 11:06:23 +0800
commit73f1346a6f2113fdfa9f6d816bf4e2d4c77c2e33 (patch)
tree2063b17f0ca6e0ca8c32b92a5164c65c16c61cd4 /japanese
parentc7521773c395aa4bb2e5490149fef459af917201 (diff)
downloadfreebsd-ports-gnome-73f1346a6f2113fdfa9f6d816bf4e2d4c77c2e33.tar.gz
freebsd-ports-gnome-73f1346a6f2113fdfa9f6d816bf4e2d4c77c2e33.tar.zst
freebsd-ports-gnome-73f1346a6f2113fdfa9f6d816bf4e2d4c77c2e33.zip
Make password work again on recent 9-STABLE and later.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/tiarra/Makefile2
-rw-r--r--japanese/tiarra/files/patch-main__Crypt.pm13
2 files changed, 14 insertions, 1 deletions
diff --git a/japanese/tiarra/Makefile b/japanese/tiarra/Makefile
index c6602020ddfd..34125dad8f17 100644
--- a/japanese/tiarra/Makefile
+++ b/japanese/tiarra/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tiarra
PORTVERSION= 20100212
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese irc ipv6
MASTER_SITES= http://www.clovery.jp/tiarra/archive/2010/02/
diff --git a/japanese/tiarra/files/patch-main__Crypt.pm b/japanese/tiarra/files/patch-main__Crypt.pm
new file mode 100644
index 000000000000..93d4940759a6
--- /dev/null
+++ b/japanese/tiarra/files/patch-main__Crypt.pm
@@ -0,0 +1,13 @@
+Index: main/Crypt.pm
+diff -u main/Crypt.pm.orig main/Crypt.pm
+--- main/Crypt.pm.orig 2010-02-12 03:34:31.000000000 +0900
++++ main/Crypt.pm 2014-05-28 10:25:14.117593425 +0900
+@@ -25,7 +25,7 @@
+ # encryptedのsaltでrawをcrypt()してみて、一致したかどうかを真偽値で返す。
+ my ($raw,$encrypted) = @_;
+
+- return crypt($raw,substr($encrypted,0,2)) eq $encrypted;
++ return crypt($raw,$encrypted) eq $encrypted;
+ }
+
+ sub gen_salt {