[Bug 51877] improve POSIX compatibility for wine-staging's patches/gitapply.sh

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 31 01:58:42 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51877

--- Comment #11 from Gerald Pfeifer <gerald at pfeifer.com> ---
(In reply to Zebediah Figura from comment #10)
>> Using Git doesn't seem possible when a parent directory in the path to
>> wine-staging is a git repository, eg. when FreeBSD's Ports is itself a Git
>> repo. Do you plan to remove support for that? 
> That is a really weird setup; are you actually creating a new repository
> with the files contained in wine-staging? So as to effectively reinvent its
> VCS?

The FreeBSD ports tree is maintained in Git. In Linux terms, think of this
being a tree of (unpacked) source RPMs that resides in Git. Additional changes
are stored as patches that are applied to the upstream archives after these
have been unpacked.

Doing this unpacking and patching in the tree is not what I have been doing,
but apparently it generally works.

> Maybe we could just use --no-index?

Damjan?

> But it's probably not really worth bothering about this; I guess the easiest
> thing to do is just take Damjan's patches as-is.

There's some parts of the currently proposed patch that are generic, such as
the hunks to remove the dependency on `du -b`, Lines 66-72 and Lines 135-141;
could you apply those for now?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list