summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-01 15:31:08 +0000
committerJustin Lecher <jlec@gentoo.org>2013-02-01 15:31:08 +0000
commitc60c6caff924f90509b8c52a01c3dd29bde655af (patch)
treeda9b6dd8ec1502ff20bf535ec9d31dcc76c9424f /dev-util
parentRemove check_wxuse. (diff)
downloadhistorical-c60c6caff924f90509b8c52a01c3dd29bde655af.tar.gz
historical-c60c6caff924f90509b8c52a01c3dd29bde655af.tar.bz2
historical-c60c6caff924f90509b8c52a01c3dd29bde655af.zip
dev-util/dirdiff: Add fix for tcl-8.6, #455032; get some fixes from debian
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/dirdiff/ChangeLog11
-rw-r--r--dev-util/dirdiff/Manifest19
-rw-r--r--dev-util/dirdiff/dirdiff-2.1-r2.ebuild40
-rw-r--r--dev-util/dirdiff/files/dirdiff-2.1-build.patch28
-rw-r--r--dev-util/dirdiff/files/dirdiff-2.1-funky-chars.patch201
-rw-r--r--dev-util/dirdiff/files/dirdiff-2.1-tcl8.6.patch16
-rw-r--r--dev-util/dirdiff/files/dirdiff-2.1-vcs.patch16
-rw-r--r--dev-util/dirdiff/metadata.xml6
8 files changed, 330 insertions, 7 deletions
diff --git a/dev-util/dirdiff/ChangeLog b/dev-util/dirdiff/ChangeLog
index 3dca373e0aea..4acb69d5fe07 100644
--- a/dev-util/dirdiff/ChangeLog
+++ b/dev-util/dirdiff/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/dirdiff
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/ChangeLog,v 1.12 2012/05/29 19:29:19 ranger Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/ChangeLog,v 1.13 2013/02/01 15:31:07 jlec Exp $
+
+*dirdiff-2.1-r2 (01 Feb 2013)
+
+ 01 Feb 2013; Justin Lecher <jlec@gentoo.org> +dirdiff-2.1-r2.ebuild,
+ +files/dirdiff-2.1-build.patch, +files/dirdiff-2.1-funky-chars.patch,
+ +files/dirdiff-2.1-tcl8.6.patch, +files/dirdiff-2.1-vcs.patch, metadata.xml:
+ Add fix for tcl-8.6, #455032; get some fixes from debian
29 May 2012; Brent Baude <ranger@gentoo.org> dirdiff-2.1-r1.ebuild:
Marking dirdiff-2.1-r1 ppc for bug 391617
diff --git a/dev-util/dirdiff/Manifest b/dev-util/dirdiff/Manifest
index 081d70f87d56..7f50538cb7d6 100644
--- a/dev-util/dirdiff/Manifest
+++ b/dev-util/dirdiff/Manifest
@@ -1,6 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX dirdiff-2.1-build.patch 764 SHA256 74a62531b1a7bb400fd2c3d06c2e40bfbc5d37342936602e408f7428e07f3e49 SHA512 7b192071c14fd72733fe250f7ee5fa651f98238eb3238a584039b2f39537f04ed4b1940e2dbfceedc81df6933504c275a9b635d02b34b44186ff73c9e909d077 WHIRLPOOL 788dc98cc38b5d96e3c87a2d382f3b0ddd8869a2b118b122e34d6d11f9a5f33d78bdc372eb75831127ff4aab96e4f8fe37f3054922f116e3e496d276129b7778
+AUX dirdiff-2.1-funky-chars.patch 7075 SHA256 a55cdde48007d3477a19c6428129b6e95bf61975c8d10967b6aa8ad761634fa2 SHA512 966e33714e7bfdf5ea1cd893c07e7305220282543a28bc7054fb59fb75f595ec50a5a4ac81ce3ff49b0bf4877de17075c575fb3ba9e7766f199dcdfc7e52f766 WHIRLPOOL 4c53d8d6fd89ff0b4ef83c3cc52c476689bdba665ed874b27417e40d5806c89e72cbedbbe728c2c6a58372c531640488e6a04438ec603873e66be9b590df261c
AUX dirdiff-2.1-include.patch 314 SHA256 faedaf8053619fb773aef44bfa55240910d10015d6a3f4cbdc6f45b81fb5e55d SHA512 a9fb10e5878f07d1f558810a0d34ba423f49c463f0ecf14ad5833b1ec1519ac0b467e387977a6da1bf48794a5dc3522c31f78b34731e61e39331d30c251da0bb WHIRLPOOL 39e7a151cf1b1cc4c2f3ae0bda9038226d67c9e24b3314c79e56d5248397b17e1e2f6e319807fea041b3f01cddc7f8c03d14396149a5f5c13ad4846c6a81975b
+AUX dirdiff-2.1-tcl8.6.patch 397 SHA256 3a5bfcec7e76e91c1a2664f3eb6bb306ff5b0269ecfe42bd23d161b0577db916 SHA512 938c6cf4f815f58f0de2c12b5bd19e8128615aba278c91e9c7a8e462f822b79d22f7d50ff331e095ff77ec979c9fc1a1a3a8bfd80f23c2f0e252a1e05098888e WHIRLPOOL 419041f7f5266cd103ecb6ebbb76ce1fb3ec2dc94454bad6e7a9f6be069d1f9f48165905cf1a11ca0ae8bdbfd339cbb77104d430843d34558a4e780e7980e7b9
+AUX dirdiff-2.1-vcs.patch 497 SHA256 92f15883cc407633eca8daf03403b4eddfe8832bc74522b2f82219a2ab5f7623 SHA512 27baa8b3e0710db7ae9b01c1c132681ee71e96e4d19585fe0bdd9584e182ff96e7358df6607a40af054fdb536275b9c5a49581cde2fa934d6cf7f39489eb3a98 WHIRLPOOL 0bb63bc51351f9e2d45f7c649a00ac475db775d05c2a43c23b6f583063aebf0048d67542f855cd256fcf1840dd4dc68443ca48b107d96fe9a1e178111e3fed10
DIST dirdiff-2.1.tar.gz 43105 SHA256 cb373654d5788027804355e355df0695862c3bfc1f6a3fc6014722b3156a9252 SHA512 826d5a7a633921bec7043c89ccdadff19b4a6328efd09913932b306a48242203fbf6b5bac69d72660acf2c76ce6c8c5e53be62c2e69bbf3e3717e21c544ca261 WHIRLPOOL db5342743f3c6719de6645e11f6eda883d27fc9fa83380022e4a11c5e897fd4a0066aa696316d9f262951a6500c8cfcd48afb3d59d2e9080823eda93f174cda5
EBUILD dirdiff-2.1-r1.ebuild 858 SHA256 82e93a5fbe80e0831d76dedd3f3104d41d6f1967f4f8ef84dc762fa79a9fb73f SHA512 9697f9921bd12e1fdd4d5b7ded4d054cbce2aab90173d29304605240935685f6dd28a720632054ef8b987277f234806ac9f3ee8fe57a2bc6506463128fc4f3bb WHIRLPOOL 3d93b022d4e34a169cab2798e48657b273665036ceb7a6de2dc0ffdc17f1e7697c466a892d4512f5ce2a70d254e163ea21c52fd8d519fa703cd496698e13bea0
+EBUILD dirdiff-2.1-r2.ebuild 1015 SHA256 92ac331532937e10c59e82f927da69fc5d70bbcd451e511c8a5f47070bdb1149 SHA512 eef33cf26258dd633048cfbf090d599c5fe77b89afd0d3cfec9d65e591279644035485a2fd20e7e07a6479d67c473fcff81f6848625cf797966dd107148a8c44 WHIRLPOOL 4041204abae4a8fd0912d5644342fa491dac4d6d1a7876084028997e88c3e2f9947da91f4ed7aba187f710cac7a0d506c43ecfbee8051f2a24c56e3f3f02aaba
EBUILD dirdiff-2.1.ebuild 698 SHA256 5d2e2305d65d59eecce1700fde5bc0d104e458c5fe157ce518d7948ff444f952 SHA512 c472e519ce10cbbd8cd5908e5b3c5796c1683a91b2ed6071c240c87602d9d93fcbd7277e866ba7e1e0e0addd09cc2739b8b506e84662814d3d3794bfb0002a8a WHIRLPOOL 6a10b36290c90d04301493d5df2a04301fe0aeb9c938bf02a9ac6fafc54fedeb00b493170fa82350a652a17bc7adf60a1b0119197dcc99a18cdf60d74695d598
-MISC ChangeLog 1961 SHA256 ef0ed0f43beb72987fb79f9447f7fb95b6430c8374373255c5d859ff28c22493 SHA512 e08f1a0ae1e46358fe83fad57a4fcfe5b8dc4a1fc0b8017ec56bf5b14cc44a17aa17dd9586dfa81415ca54b6c9d038e91151833f6bee6927398a0f665d624020 WHIRLPOOL 8765083f829f8baba7dce0d5f14db0470fa25d142ad667140383cfe53fbd704c82a803d53fa8725a3663b25d7ce82f0d6f87aebbf491102083e1208ebe9261ce
-MISC metadata.xml 211 SHA256 84ff2341253cdd21a6782e14ebc076a8bcae11428aacfe2454f4b32165504727 SHA512 a9385b7dc02a9537080a9b1bf59ae2caacd84cab2e3ef1fee15e4f10d5518ae9f71e4ce07d99104e643d18a79ca05116d74e97ec7d230d21b340656701547078 WHIRLPOOL 4309ff085fbfd1a91434c0a9dd4c23b7ad8b10b0559beedcb4d911745543745691abe91bb1e361dd88b6383678f020c95deb9359876319a6407ac0ef2dcbd221
+MISC ChangeLog 2272 SHA256 7f7dec86ac9b6db2e78ef7721576e99de971d9dea9a9ecd09bf7fe7482d15c1f SHA512 038eec55954a30526b7ea384306caccc35e1ebaf4adc4de783e2b9165960b3fbe080ef831a75c88c76a6a0fceb8a73ae7a13e5b47c440ec4797802ab46845fe4 WHIRLPOOL 5485254ad7c25b453b4100ba184e05b7791f52b46f59dea062f04ebd076f4242f45a1b2b41d24a4d238c3a8bf378f9c41fe3822e1107d9378a958afcebae2183
+MISC metadata.xml 218 SHA256 e124ad5b959f26606c176ee0a8cc3e59839b98e93c712fe4b699e7e4df11fd6b SHA512 d689950ba64adf80b0b7b667dfa81f230bc7ecf280eabba76ea3f4f0ecec3105d850cb24d34a88243debd08febe8bbd95e389fb8463f6aaeffe96a39a87d569b WHIRLPOOL 72aa8e8b9896ec82acedd6f4b4a1876861523430bc29bc96fcc03da4475e78ddb3802268b81d80d535d6942baad1508fe939a9a769b7635dfebbef7076962ee6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlEL37wACgkQgAnW8HDreRaZ7wCffw5nZgGZsHISLnSBM3OLTL8F
+zEkAnA6sJYP4teFWdMo6mwCbb0VDNTWW
+=FJL0
+-----END PGP SIGNATURE-----
diff --git a/dev-util/dirdiff/dirdiff-2.1-r2.ebuild b/dev-util/dirdiff/dirdiff-2.1-r2.ebuild
new file mode 100644
index 000000000000..8680e0f43a4e
--- /dev/null
+++ b/dev-util/dirdiff/dirdiff-2.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/dirdiff-2.1-r2.ebuild,v 1.1 2013/02/01 15:31:07 jlec Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="A tool for differing and merging directories"
+SRC_URI="http://samba.org/ftp/paulus/${P}.tar.gz"
+HOMEPAGE="http://samba.org/ftp/paulus/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="
+ dev-lang/tk
+ dev-lang/tcl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-include.patch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-vcs.patch \
+ "${FILESDIR}"/${P}-tcl8.6.patch \
+ "${FILESDIR}"/${P}-funky-chars.patch
+ tc-export CC
+ append-cppflags -I"${EPREFIX}"/usr/include/tcl
+}
+
+src_install() {
+ dobin dirdiff
+ dolib.so libfilecmp.so.0.0
+ dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so.0
+ dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so
+ dodoc README
+}
diff --git a/dev-util/dirdiff/files/dirdiff-2.1-build.patch b/dev-util/dirdiff/files/dirdiff-2.1-build.patch
new file mode 100644
index 000000000000..bb5010265196
--- /dev/null
+++ b/dev-util/dirdiff/files/dirdiff-2.1-build.patch
@@ -0,0 +1,28 @@
+ Makefile | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index b4a49f8..410e018 100644
+--- a/Makefile
++++ b/Makefile
+@@ -7,12 +7,17 @@ LIBDIR=$(DESTDIR)/usr/lib
+ INSTALL=install
+
+ # You may need to change the -I arguments depending on your system
+-CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
++#CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
++
++LIBS = -ltcl
+
+ all: libfilecmp.so.0.0
+
+-libfilecmp.so.0.0: filecmp.c
+- $(CC) $(CFLAGS) -shared -o $@ filecmp.c
++.c.o:
++ $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
++
++libfilecmp.so.0.0: filecmp.o
++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libfilecmp.so.0 -o $@ filecmp.o $(LIBS)
+
+ install: dirdiff libfilecmp.so.0.0
+ $(INSTALL) -c dirdiff $(BINDIR)
diff --git a/dev-util/dirdiff/files/dirdiff-2.1-funky-chars.patch b/dev-util/dirdiff/files/dirdiff-2.1-funky-chars.patch
new file mode 100644
index 000000000000..1d4f715ac167
--- /dev/null
+++ b/dev-util/dirdiff/files/dirdiff-2.1-funky-chars.patch
@@ -0,0 +1,201 @@
+--- cvs-local.orig/dirdiff
++++ cvs-local/dirdiff
+@@ -563,7 +563,7 @@
+ if {$d1 == $d2} continue
+ set any 1
+ $base.p.$sub1 add command -label "$d2" \
+- -command "makepatch \"$d1\" \"$d2\""
++ -command [list makepatch $d1 $d2]
+ }
+ if {$any} {
+ $base.p add cascade -label "$d1 ->" -menu $base.p.$sub1
+@@ -579,7 +579,7 @@
+ set i 0
+ foreach d $dirs {
+ if {!$dirreadonly($i)} {
+- $base.t add command -label $d -command "touchfiles \"$d\""
++ $base.t add command -label $d -command [list touchfiles $d]
+ }
+ incr i
+ }
+@@ -677,7 +677,7 @@
+ set i 0
+ foreach d $dirs {
+ .bar.options add checkbutton -label "Read-only $d" \
+- -variable dirreadonly($i) -command "readonlychange $i"
++ -variable dirreadonly($i) -command [list readonlychange $i]
+ incr i
+ }
+
+@@ -1153,7 +1153,7 @@
+ if {$xi != ""} {
+ set x [lindex $dirs $xi]
+ $diffbut add command -label "Show $x" \
+- -command "showfile \"$x\" \"$selfile\""
++ -command [list showfile $x $selfile]
+ }
+ } elseif {$numgroups > 1} {
+ if {$numgroups > 2} {
+@@ -1163,7 +1163,7 @@
+ lappend x [lindex $dirs $i]
+ }
+ $diffbut add command -label "$numgroups-way diff" \
+- -command "diffn {$x} {$selfile}"
++ -command [list diffn $x $selfile]
+ }
+ for {set gn 1} {$gn < $numgroups} {incr gn} {
+ set yi [lindex $groupelts($gn) 0]
+@@ -1184,7 +1184,7 @@
+ set xi [lindex $groupelts($go) 0]
+ if {$xi == ""} continue
+ set x [lindex $dirs $xi]
+- set cmd "diff2 \"$x\" \"$y\" \"$selfile\""
++ set cmd [list diff2 $x $y $selfile]
+ if {$numgroups <= 3} {
+ if {$compound_ok} {
+ $diffbut add command -label "$x vs. $y" \
+@@ -1283,7 +1283,7 @@
+ set cl2 [lindex $bgcolors($ng) $age]
+ if {$im2 == "ex"} {set im2 ""}
+ set y [lindex $dirs $dst]
+- set cmd "copyselfile \"$src\" \"$dst\" \"$selfile\" 0"
++ set cmd [list copyselfile $src $dst $selfile 0]
+ if {$any == 1} {
+ if {$compound_ok} {
+ $copybut add command -label "$x -> $y" \
+@@ -1346,7 +1346,7 @@
+ set im2 [lindex $agecolors($ng) $age]
+ set cl2 [lindex $bgcolors($ng) $age]
+ set y [lindex $dirs $dst]
+- set cmd "copyselfile \"$src\" \"$dst\" \"$selfile\" 1"
++ set cmd [list copyselfile $src $dst $selfile 1]
+ if {$any == 1} {
+ if {$compound_ok} {
+ $copybut add command -label "$x -> $y" \
+@@ -1392,10 +1392,10 @@
+ if {$compound_ok} {
+ $copybut add command -label "Remove from $x" \
+ -image ex -compound left \
+- -command "removeselfile \"$dst\" \"$selfile\""
++ -command [list removeselfile $dst $selfile]
+ } else {
+ $copybut add command -label "Remove from $x" \
+- -command "removeselfile \"$dst\" \"$selfile\""
++ -command [list removeselfile $dst $selfile]
+ }
+ }
+ }
+@@ -1415,7 +1415,7 @@
+ if {$dirreadonly($d)} continue
+ set y [lindex $dirs $d]
+ $copybut add command -label "$x -> $y" \
+- -command "copyselfile \"$s\" \"$d\" \"$selfile\" 0"
++ -command [list copyselfile $s $d $selfile 0]
+ }
+ }
+ set needsep 1
+@@ -1429,10 +1429,10 @@
+ if {$compound_ok} {
+ $copybut add command -label "Remove from $x" \
+ -image ex -compound left \
+- -command "removeselfile \"$s\" \"$selfile\""
++ -command [list removeselfile $s $selfile]
+ } else {
+ $copybut add command -label "Remove from $x" \
+- -command "removeselfile \"$s\" \"$selfile\""
++ -command [list removeselfile $s $selfile]
+ }
+ }
+ }
+@@ -1469,7 +1469,7 @@
+
+ # Show the file in an external viewer
+ if { [llength $showprogram] > 0} {
+- eval "exec $showprogram \"$fn\" &"
++ exec $showprogram $fn &
+ return
+ }
+ # Or make our own viewer
+@@ -1569,7 +1569,7 @@
+ set diffopts "-U $ctxlines $diffiflag $diffwflag $diffbflag $diffBflag $diffdflag"
+
+ if { [llength $diffprogram] > 0} {
+- eval "exec $diffprogram \"$path1\" \"$path2\" &"
++ exec $diffprogram $path1 $path2 &
+ return
+ }
+ # If we used an external diff program, its options are used. If we didn't,
+@@ -1750,7 +1750,7 @@
+ if {$gx == $g && !$dirreadonly($k)} {
+ set f [lindex $dirs $k]
+ $mergebut.m add command -label "update $f" \
+- -command "diffmerge $i \"$f\""
++ -command [list diffmerge $i $f]
+ set path [joinname $f $difffile]
+ set diffmtime($path) [file mtime $path]
+ }
+@@ -1770,7 +1770,7 @@
+ if {$gx == $g && !$dirreadonly($k)} {
+ set f [lindex $dirs $k]
+ $mpatchbut.m add command -label "for $f" \
+- -command "diffmpatch $i \"$f\""
++ -command [list diffmpatch $i $f]
+ }
+ incr k
+ }
+@@ -3424,7 +3424,7 @@
+ $w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
+ $w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
+ $w.bar.edit.m add command -label Find \
+- -command "difffind :merge:$di:$fi $w.t"
++ -command [list difffind :merge:$di:$fi $w.t]
+ pack $w.bar.edit -side left
+ frame $w.f -relief sunk -border 2
+ entry $w.f.filename
+@@ -3533,7 +3533,7 @@
+ $w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
+ $w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
+ $w.bar.edit.m add command -label Find \
+- -command "difffind :mpatch:$fi $w.t"
++ -command [list difffind :mpatch:$fi $w.t]
+ pack $w.bar.edit -side left
+ frame $w.f -relief sunk -border 2
+ entry $w.f.filename
+@@ -3993,7 +3993,7 @@
+ $w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
+ $w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
+ $w.bar.edit.m add command -label Find \
+- -command "difffind :patch:$patchnum $w.t"
++ -command [list difffind :patch:$patchnum $w.t]
+ pack $w.bar.edit -side left
+ frame $w.f -relief sunk -border 2
+ label $w.f.l -text "Filename: "
+@@ -4032,23 +4032,23 @@
+ set p1 [joinname $d1 $f]
+ set p2 [joinname $d2 $f]
+ if {[file exists $p1] && [file exists $p2]} {
+- set fh [open "|diff $contextopt $p1 $p2" r]
++ set fh [open [list |diff $contextopt $p1 $p2] r]
+ } elseif {[file exists $p1] && ! [file exists $p2]} {
+- set fh [open "|diff $contextopt $p1 $nullfile" r]
++ set fh [open [list |diff $contextopt $p1 $nullfile] r]
+ } elseif {! [file exists $p1] && [file exists $p2]} {
+- set fh [open "|diff $contextopt $nullfile $p2" r]
++ set fh [open [list |diff $contextopt $nullfile $p2] r]
+ } else {
+ continue
+ }
+ fconfigure $fh -blocking 0
+- fileevent $fh readable "readpatch $fh $pnum $w $d1 $d2 $i \"$f\""
++ fileevent $fh readable [list readpatch $fh $pnum $w $d1 $d2 $i $f]
+ return
+ }
+ if {[string match ".*" $w]} {
+ $w.t delete "end - 1c" end
+ } else {
+ close $w
+- eval "exec $showprogram \"$patch_outfile\" &"
++ exec $showprogram $patch_outfile &
+ # Should we remove the tempfile here? We don't have it if we used
+ # the internal viewer
+ }
diff --git a/dev-util/dirdiff/files/dirdiff-2.1-tcl8.6.patch b/dev-util/dirdiff/files/dirdiff-2.1-tcl8.6.patch
new file mode 100644
index 000000000000..39d930a51724
--- /dev/null
+++ b/dev-util/dirdiff/files/dirdiff-2.1-tcl8.6.patch
@@ -0,0 +1,16 @@
+ filecmp.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/filecmp.c b/filecmp.c
+index 673c1a8..fd4c6e5 100644
+--- a/filecmp.c
++++ b/filecmp.c
+@@ -341,7 +341,7 @@ FileCmpCmd(clientData, interp, argc, argv)
+ if (n1 < 0 || n2 < 0)
+ return TCL_ERROR;
+
+- sprintf(interp->result, "%d", same);
++ sprintf(Tcl_GetStringResult(interp), "%d", same);
+ return TCL_OK;
+ }
+
diff --git a/dev-util/dirdiff/files/dirdiff-2.1-vcs.patch b/dev-util/dirdiff/files/dirdiff-2.1-vcs.patch
new file mode 100644
index 000000000000..b8db24509eaa
--- /dev/null
+++ b/dev-util/dirdiff/files/dirdiff-2.1-vcs.patch
@@ -0,0 +1,16 @@
+ dirdiff | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dirdiff b/dirdiff
+index c5522b6..f470348 100755
+--- a/dirdiff
++++ b/dirdiff
+@@ -37,7 +37,7 @@ set nxdirmode 0
+ set docvsignore 0
+
+ set defaultcvsignore {
+- RCS SCCS CVS CVS.adm RCSLOG cvslog.* tags TAGS
++ RCS SCCS CVS CVS.adm RCSLOG cvslog.* .svn .git tags TAGS
+ .make.state .nse_depinfo *~ \#* .\#* ,* _$* *$
+ *.old *.bak *.BAK *.orig *.rej .del-* *.a *.olb
+ *.o *.obj *.so *.exe *.Z *.elc *.ln core
diff --git a/dev-util/dirdiff/metadata.xml b/dev-util/dirdiff/metadata.xml
index a40624fba8f0..1470e032181b 100644
--- a/dev-util/dirdiff/metadata.xml
+++ b/dev-util/dirdiff/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>maintainer-needed@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
</pkgmetadata>