Ticket #53712: patchattempt

File patchattempt, 4.3 KB (added by tomemm, 8 years ago)

lion 10.7.5 patch attemp

Line 
114:24-161> sudo git apply ~/patchdir/libarchive_fix_from_3.3.1_try_2.diff
2Password:
3/Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:59: trailing whitespace.
4   
5/Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:61: trailing whitespace.
6   
7/Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:63: trailing whitespace.
8   
9/Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:65: trailing whitespace.
10   
11/Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:67: trailing whitespace.
12   
13warning: squelched 849 whitespace errors
14warning: 854 lines add whitespace errors.
1514:34-162> cd  /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/files
1614:37-163> ls
17patch-3.3.1_to_master.diff
18patch-Makefile.am.diff
19patch-libarchive__archive_read_support_format_lha.c.diff
20patch-libarchive__archive_read_support_format_lha.c_p1.diff
2114:37-164> cd
2214:38-165> port info libarchive
23Error: Unable to open port: couldn't read file "Portfile": permission denied
2414:38-166> sudo port info libarchive
25libarchive @3.3.1_1 (archivers)
26Variants:             universal
27
28Description:          Libarchive is a programming library that can create and
29                      read several different streaming archive formats,
30                      including most popular tar variants, several cpio formats,
31                      7zip and rar. It can also write shar archives.
32Homepage:             http://libarchive.org/
33
34Build Dependencies:   autoconf, automake, libtool
35Library Dependencies: bzip2, zlib, libxml2, xz, lzo2, libiconv, lz4, expat
36Platforms:            darwin
37License:              BSD
38Maintainers:          Email: toby@macports.org
39                      Policy: openmaintainer
4014:38-167> sudo port install libarchive                                         Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile
4114:39-168> cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/
4214:44-169> ls
43Portfile        files           work
4414:44-170> cd Portfile
45Portfile: Not a directory.
4614:45-171> ll Portfile
47-rw-------  1 root  505  1818 Mar 22 14:34 Portfile
4814:45-172> sudo cat /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile
49Password:
50# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
51
52PortSystem 1.0
53name             libarchive
54homepage         http://libarchive.org/
55master_sites     ${homepage}downloads/
56version          3.3.1
57categories       archivers
58license          BSD
59maintainers      toby openmaintainer
60description      functions for reading and writing streaming archives
61long_description \
62        Libarchive is a programming library that can create and \
63        read several different streaming archive formats, including \
64        most popular tar variants, several cpio formats, 7zip and rar. It can \
65        also write shar archives.
66platforms        darwin
67
68checksums        rmd160  229d68a81b7b4e5b7b12d5da88522e04974328b4 \
69                 sha256  29ca5bd1624ca5a007aa57e16080262ab4379dbf8797f5c52f7ea74a3b0424e7
70
71depends_lib      port:bzip2 port:zlib port:libxml2 port:xz \
72                 port:lzo2 port:libiconv \
73                 port:lz4 port:expat
74
75# patchfiles       patch-libarchive__archive_read_support_format_lha.c.diff
76
77####
78# the following section is to be removed when 3.3.2 is released. it is
79# a temporary fix for older Mac OS X versions, and is already upstream.
80# comment back in the above patchfile, too.
81
82revision         1
83
84patchfiles-append \
85    patch-3.3.1_to_master.diff \
86    patch-Makefile.am.diff \
87    patch-libarchive__archive_read_support_format_lha.c_p1.diff
88patch.pre_args   -p1
89
90depends_build    port:autoconf port:automake port:libtool
91
92post-patch {
93    system -W ${worksrcpath} "build/autogen.sh"
94}
95
96####
97
98configure.args   --enable-bsdtar=shared --enable-bsdcpio=shared \
99                 --disable-silent-rules --without-nettle \
100                 --without-openssl
101
102livecheck.type  regex
103livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz
10415:13-173> sudo port install libarchive                                         Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile
10515:15-174>