Ticket #11962: patch-11962-7333

File patch-11962-7333, 4.0 KB (added by bryan@…, 17 years ago)

patch, including the fix for ticket #7333

Line 
1diff --git a/git-core/Portfile b/git-core/Portfile
2index bdbe78b..095e41c 100644
3--- a/git-core/Portfile
4+++ b/git-core/Portfile
5@@ -2,12 +2,12 @@
6 
7 PortSystem 1.0
8 name           git-core
9-version         1.5.1.3
10+version         1.5.2
11 description    The stupid content tracker.
12 long_description       A stupid (but extremely fast) directory \
13                        content manager. It doesn't do a whole lot, \
14                        but what it _does_ do is track directory contents \
15-                       efficiently.
16+                       efficiently.
17 maintainers    bryan@larsen.st
18 categories     devel
19 platforms      darwin
20@@ -18,13 +18,12 @@ distname        git-${version}
21 distfiles       git-${version}${extract.suffix} \
22                 git-manpages-${version}${extract.suffix}
23 
24-checksums       git-${version}${extract.suffix} sha1 673bbd457e713251a7fbf54369150dd760c5606d \
25-                git-manpages-${version}${extract.suffix} sha1 3a5ecaa36fb5b7c3dba9a96240016fcccac6cfc0
26-depends_run    port:curl port:diffutils \
27-               port:openssh port:rsync port:gsed
28+checksums       git-${version}${extract.suffix} sha1 f60d8dbf0926a3c12a1658bac177b383939d8e54 \
29+                git-manpages-${version}${extract.suffix} sha1 025a4a65e6a1c9aa1abfd64007ba3559655bb629
30+depends_run    port:curl port:openssh port:rsync
31 depends_lib    port:curl port:zlib port:openssl port:expat port:libiconv
32 
33-patchfiles     patch-Makefiles patch-curl patch-t4200 patch-ld-R patch-perl-path
34+patchfiles     patch-Makefiles patch-curl patch-ld-R
35 
36 use_configure  no
37 
38@@ -43,28 +42,24 @@ destroot.args       prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=$
39 
40 post-destroot {
41        cd ${workpath}
42-       foreach f {1 7} {
43+       foreach f {1 5 7} {
44                xinstall -d ${destroot}${prefix}/share/man/man${f}
45                foreach m [glob man${f}/*.${f}] {
46                        xinstall ${m} ${destroot}${prefix}/share/man/man${f}
47                }
48        }
49-       if {[variant_isset no_svn]} {
50+       if {![variant_isset svn]} {
51                system "rm ${destroot}${prefix}/bin/git-svn*"
52        }
53 }
54 
55 variant doc {
56-       depends_build           port:asciidoc port:xmlto
57+       depends_build-append            port:asciidoc port:xmlto
58+       build.args-append       XML_CATALOG_FILES=${prefix}/etc/xml/catalog
59        build.target-append     doc
60        destroot.target-append  install-doc
61 }
62 
63-variant svn conflicts no_svn {
64+variant svn {
65        depends_run             port:p5-svn-simple port:subversion port:perl port:p5-libwww-perl
66 }
67-
68-variant no_svn conflicts svn {
69-}
70-
71-default_variants +no_svn
72diff --git a/git-core/files/patch-curl b/git-core/files/patch-curl
73index b407ca3..6390305 100644
74--- a/git-core/files/patch-curl
75+++ b/git-core/files/patch-curl
76@@ -1,10 +1,12 @@
77---- http.h.orig   2007-02-18 13:08:46.000000000 -0500
78-+++ http.h 2007-02-18 13:08:54.000000000 -0500
79+diff --git http.h http.h
80+index 69b6b66..b33fe7b 100644
81+--- http.h
82++++ http.h
83 @@ -7,7 +7,6 @@
84  #include <curl/easy.h>
85-
86- #if LIBCURL_VERSION_NUM >= 0x070908
87+
88+ #if LIBCURL_VERSION_NUM >= 0x071000
89 -#define USE_CURL_MULTI
90  #define DEFAULT_MAX_REQUESTS 5
91  #endif
92-
93+
94diff --git a/git-core/files/patch-perl-path b/git-core/files/patch-perl-path
95deleted file mode 100644
96index 7039257..0000000
97--- a/git-core/files/patch-perl-path
98+++ /dev/null
99@@ -1,13 +0,0 @@
100-diff --git perl/Makefile perl/Makefile
101-index 17d004e..2832cb4 100644
102---- perl/Makefile
103-+++ perl/Makefile
104-@@ -33,7 +33,7 @@ $(makfile): ../GIT-CFLAGS Makefile
105-       echo '  echo $(instdir_SQ)' >> $@
106- else
107- $(makfile): Makefile.PL ../GIT-CFLAGS
108--      '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
109-+      $(PERL_PATH_SQ) $< PREFIX='$(prefix_SQ)'
110- endif
111-
112- # this is just added comfort for calling make directly in perl dir
113diff --git a/git-core/files/patch-t4200 b/git-core/files/patch-t4200
114deleted file mode 100644
115index f4aad47..0000000
116--- a/git-core/files/patch-t4200
117+++ /dev/null
118@@ -1,13 +0,0 @@
119-diff --git t/t4200-rerere.sh t/t4200-rerere.sh
120-index 6ba63d7..300e90e 100755
121---- t/t4200-rerere.sh
122-+++ t/t4200-rerere.sh
123-@@ -44,7 +44,7 @@ mkdir .git/rr-cache
124-
125- test_expect_failure 'conflicting merge' 'git pull . first'
126-
127--sha1=$(sed -e 's/\t.*//' .git/rr-cache/MERGE_RR)
128-+sha1=$(sed -e 's/[[:space:]].*//' .git/rr-cache/MERGE_RR)
129- rr=.git/rr-cache/$sha1
130- test_expect_success 'recorded preimage' "grep ======= $rr/preimage"
131-