Ticket #36634: tig-1.1.patch
File tig-1.1.patch, 1.3 KB (added by robsonpeixoto@…, 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup jonas tig 1. 0tig-7 github.setup jonas tig 1.1 tig- 8 8 categories devel 9 9 maintainers cal openmaintainer 10 10 description A text interface to git repositories … … 13 13 homepage http://jonas.nitro.dk/tig/ 14 14 platforms darwin 15 15 16 checksums sha1 090830c1b3d2d979e2986ff7f089f3365e5a2e9d\17 rmd160 ff12c694cfc1de38349c644980eb9cdbe9b147fb16 checksums sha1 dbf33e3329e4e84e518910080b9fc97305f0fe91 \ 17 rmd160 b2a32bba14a359115461a5ff89493d5ac0cebf60 18 18 19 19 depends_lib port:git-core \ 20 20 port:libiconv \ … … 23 23 port:asciidoc \ 24 24 port:xmlto 25 25 26 # Just a small patch: graph->position is type size_t which on my machine is unsigned.27 # so clang happily detects an expression which is always false and dies with an error.28 post-patch {29 reinplace "s/graph->position < 0/false/" $worksrcpath/graph.c30 }31 32 26 # We need to create the configure file, 33 27 # the github version does not contain it. 34 28 pre-configure {