Commit Graph

22 Commits

Author SHA1 Message Date
Jan Beich
3dc7c09c80 comlang/rust-nightly: update to 1.38.0.20190907
Changes:	9af17757be...6e19f3f383
2019-09-07 00:52:29 +00:00
Jan Beich
293bd07785 lang/rust-nightly: reformat patch header after r509173 2019-08-17 21:14:13 +00:00
Jan Beich
f661d11a8a lang/rust-nightly: unbreak cargo git fetch after r507928
libgit2-sys 0.8.2 switched to libgit2 0.29 API without bumping minor
version and adjusting pkg-config check. devel/libgit2 is still at
0.28, so FFI silently fails with a confusing error e.g.,

  invalid version 3 on git_proxy_options; class=Invalid (3)

USES=cargo consumers are affected but none use libgit2-sys 0.8.2 yet.

PR:		239785
Reported by:	yuri
2019-08-17 21:04:21 +00:00
Tobias Kortkamp
bebaf73f0e lang/rust*: Add link to upstream issue for the LLVM STAGEDIR bug 2019-05-29 08:12:21 +00:00
Tobias Kortkamp
c237f167ef lang/rust-nightly: Fix check-plist same as lang/rust 1.35.0
Avoid staging the local copy of LLVM into ${STAGEDIR}${WRKDIR}
during install.
2019-05-24 05:58:28 +00:00
Jan Beich
4007ca8903 lang/rust-nightly: update to 1.33.0.20190127
Changes:	bf669d1e32...20c2cba61d
2019-01-27 00:56:22 +00:00
Jan Beich
fc076f39be lang/rust-nightly: update to 1.33.0.20190105
Changes:	ec194646fe...f381a96255
2019-01-05 00:37:40 +00:00
Jan Beich
6b7b53cc14 lang/rust-nightly: unbreak after r489123
error[E0621]: explicit lifetime required in the type of `msg`
   --> src/tools/rls/src/server/mod.rs:185:21
    |
173 |       fn dispatch_message(&mut self, msg: &RawMessage) -> Result<(), jsonrpc::Error> {
    |                                           ----------- help: add explicit lifetime `'static` to the type of `msg`: `&'static server::message::RawMessage`
...
185 |                       <$n_action as LSPNotification>::METHOD => {
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required
...
259 | /         match_action!(
260 | |             msg.method;
261 | |             notifications:
262 | |                 notifications::Initialized,
...   |
287 | |                 requests::CodeLensRequest;
288 | |         );
    | |__________- in this macro invocation
2019-01-03 03:49:57 +00:00
Jan Beich
a2144b09cd lang/rust-nightly: update to 1.33.0.20190103
Changes:	9eac386342...ec194646fe
2019-01-03 00:40:37 +00:00
Jan Beich
25a046432e lang/rust-nightly: update to 1.33.0.20190101
Changes:	60e825389d...9eac386342
2019-01-01 00:48:30 +00:00
Jan Beich
f6bbdc4a0a lang/rust-nightly: unbreak after r488641
error[E0061]: this function takes 4 parameters but 2 parameters were supplied
   --> src/tools/clippy/clippy_lints/src/write.rs:295:26
    |
295 |     let mut fmt_parser = Parser::new(&tmp, None);
    |                          ^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters
2018-12-29 03:24:51 +00:00
Jan Beich
a25382c6fa lang/rust-nightly: update to 1.33.0.20181227
Changes:	f960f377fd...a7be40c65a
2018-12-27 00:57:05 +00:00
Jan Beich
4c515ab8c0 lang/rust-nightly: update to 1.32.0.20181214 2018-12-14 18:20:51 +00:00
Bryan Drewery
6e03832857 Update rust-nightly to 2018-03-21.
The ABI patch and bootstrap patching are no longer needed on head after
fixes fully upstreamed in https://github.com/rust-lang/rust/issues/42681.
2018-03-21 16:20:51 +00:00
Bryan Drewery
dd76289525 - Fix kevent on head by binding to the old ABI symbol version.
- Add some context in the patches for where they came from.  They need to be
  in 1 patch due to needing to use the .orig file for fixing up checksums.

Obtained from:	rust upstream
2018-03-09 02:54:10 +00:00
Bryan Drewery
56557a9744 Update to 2018-03-06 2018-03-08 23:39:37 +00:00
Bryan Drewery
41a3dec3c7 Update to 2018-02-28 2018-03-01 01:47:09 +00:00
Bryan Drewery
01b60efd6f Unbreak on i386/amd64 and update to 1.25.0-2018-02-19
- Stop using git to build as it is unmaintainable due to submodules,
  but more importantly because src/vendor is no longer bundled.  Just
  fetch the source already generated that has all dependencies bundled.
  It may be a bit slower to get updates but is far more maintainable.
- Copy all patches to lang/rust-nightly/files since they may not always
  apply exactly between both versions.
- Add in patch for llvm-config getting -lexecinfo wrong, this is in
  review with LLVM at https://reviews.llvm.org/D42702.
- Bring in other random updates from lang/rust.
2018-02-24 06:17:17 +00:00
Jean-Sébastien Pédron
8b84c255e7 lang/rust, lang/rust-nightly: Update to 1.15.1 and 1.17.0 respectively
Both versions of Rust seen changes to their build system. Now they
require a bootstrap of Cargo and thus, a snapshot of Cargo's registry.

Each library has its own suffix instead of a common suffix for a given
version of Rust. Thus all future updates of the ports will include
changes to their plist.

$DISTFILES are now all under the `rust` directory in `$DISTDIR`. A
similar change will be committed to devel/cargo later.

lang/rust-nightly is enabled on i386 (bugzilla 216143). The source
snapshot also contains everything to build it on aarch64, but enabling
it will be committed later.

PR:		216143
Approved by:	riggs, bapt (mentor), antoine (mentor)
Differential Revision:	https://reviews.freebsd.org/D9286
2017-02-22 19:04:03 +00:00
Jean-Sébastien Pédron
b3457490d0 lang/rust-nightly: Update to 1.12.0; snapshot from 2016-07-17
Reviewed by:	asomers, jbeich, riggs
Approved by:	jbeich, riggs
Differential Revision:	https://reviews.freebsd.org/D7275
2016-07-26 07:39:29 +00:00
Jean-Sébastien Pédron
23df892f4d lang/rust and lang/rust-nightly: Build-conflict with themselves
A newer version of Rust fails to build if an older version is installed
because the build process picks libraries in %%LOCALBASE%%/lib before
those from the build directory.

In the pkg-plist of both ports, `x86_64-unknown-freebsd` is now a
variable automatically set in the Makefile. This avoids the need for a
separate port for DragonFlyBSD. [1]

Still in the pkg-plist, RUST_VSN_HASH is automatically computed in the
lang/rust's Makefile, like it was already done for lang/rust-nightly.

lang/rust-nightly USES libedit. patch-mk_main.mk was copied from
lang/rust so the correct library is picked (ie. the one from Ports, not
the one from the base). This was already fixed in lang/rust.

lang/rust includes bsd.port.options.mk and bsd.port.mk, instead of
bsd.port.pre.mk and bsd.port.post.mk. This was already fixed in
lang/rust-nightly.

Both ports are now closer to each other.

PR:		202869 [1]
Submitted by:	Michael Neumann <mneumann@ntecs.de> [1]
Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D3234
2015-09-12 14:49:44 +00:00
Jean-Sébastien Pédron
647a98aff0 lang/rust-nightly: New port for the nightly version of Rust
Differential Revision:	https://reviews.freebsd.org/D2798
Reviewed by:	jonathan, kwm
Approved by:	jonathan
2015-07-14 22:36:53 +00:00