Bug 229010

Summary: devel/pijul: Unbreak on i386
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Carlo Strub <cs>
Status: Closed FIXED    
Severity: Affects Only Me CC: cs
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (cs)
Hardware: Any   
OS: Any   
Description Flags
pijul.diff tobik: maintainer-approval? (cs)

Description Tobias Kortkamp freebsd_committer 2018-06-14 11:21:03 UTC
Created attachment 194246 [details]

Pijul currently fails to build on i386 [1,2] with

error[E0308]: mismatched types
 --> line/src/unix.rs:9:27
9 |         if libc::ioctl(1, libc::TIOCGWINSZ as u64, &mut size) == 0 {
  |                           ^^^^^^^^^^^^^^^^^^^^^^^ expected u32, found u64

line >= 0.1.3 fixes this by using libc::c_ulong instead of u64, so to fix the
build we could manually patch this or bump the line crate to the latest
version 0.1.7.

[1] https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20180611/805169.html
[2] https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20180611/805175.html
Comment 1 Carlo Strub freebsd_committer 2018-06-14 20:18:01 UTC
committed. thanks a lot!
Comment 2 commit-hook freebsd_committer 2018-06-14 20:18:11 UTC
A commit references this bug:

Author: cs
Date: Thu Jun 14 20:17:43 UTC 2018
New revision: 472396
URL: https://svnweb.freebsd.org/changeset/ports/472396

  Unbreak i386

  PR:		229010
  Submitted by:	tobik@