Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540874 - www-client/surf-9999 - Failed Patch: surf-9999-gentoo.patch
Summary: www-client/surf-9999 - Failed Patch: surf-9999-gentoo.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-21 06:18 UTC by Justin Keogh
Modified: 2015-02-21 10:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
replacement file for surf-9999-gentoo.patch (surf-9999-gentoo.patch.fixed,3.82 KB, patch)
2015-02-21 06:18 UTC, Justin Keogh
Details | Diff
failed emerge log (surf-9999_emerge_failure,3.68 KB, text/plain)
2015-02-21 06:19 UTC, Justin Keogh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Keogh 2015-02-21 06:18:34 UTC
Created attachment 397110 [details, diff]
replacement file for surf-9999-gentoo.patch

surf-9999-gentoo.patch fails to apply to config.mk because line 21 of:
http://git.suckless.org/surf/tree/config.mk

was changed from: 
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
to:
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE

(thanks to yngwin for finding)

corrected surf-9999-gentoo.patch attached.
Comment 1 Justin Keogh 2015-02-21 06:19:36 UTC
Created attachment 397112 [details]
failed emerge log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 10:18:15 UTC
Fixed. Thanks for the patch!