Bug 203325 - x11-wm/dwm: invalid checksum and size of patch for XFT support in distinfo
Summary: x11-wm/dwm: invalid checksum and size of patch for XFT support in distinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL: http://lists.suckless.org/dev/1511/27...
Keywords:
Depends on: 204658
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-25 06:34 UTC by raviqqe
Modified: 2015-12-07 05:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raviqqe 2015-09-25 06:34:23 UTC
x11-wm/dwm cannot be compiled with XFT support option. 

The cause is that SHA256 and SIZE records in distinfo file of the patch, dwm-6.0-xft.diff, which is applied only if you enable XFT option in configuration are wrong.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2015-11-18 12:38:26 UTC
Xft support was mainlined in dwm-6.1. I'm not sure if the syntax is same as dwm-6.0-xft.diff but the patch is no longer available. And it wasn't mirrored due to XFT option being off by default.

http://lists.suckless.org/dev/1511/27504.html
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-18 15:55:51 UTC
To clarify (I believe), the update to 6.1 in bug 204658 resolves this issue when it is committed. If so, I don't believe maintainer-feedback is required here Jan, please unset the flag if that's correct.

Reporter is committer, assign accordingly
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-12-07 04:59:21 UTC
A commit references this bug:

Author: jbeich
Date: Mon Dec  7 04:58:49 UTC 2015
New revision: 403178
URL: https://svnweb.freebsd.org/changeset/ports/403178

Log:
  x11-wm/dwm: update to 6.1

  Drop unused dependencies likely from overlinking in the past.

  $ readelf -d /usr/local/bin/dwm | fgrep NEEDED
   0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libXinerama.so.1]
   0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.1]
   0x0000000000000001 (NEEDED)             Shared library: [libXft.so.2]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]

  Changes:	http://lists.suckless.org/dev/1511/27504.html
  PR:		203325, 204658
  Approved by:	maintainer timeout (18 days)

Changes:
  head/x11-wm/dwm/Makefile
  head/x11-wm/dwm/distinfo
  head/x11-wm/dwm/files/patch-config.mk