Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67127 - screen enables nethack messages though corr. USE flag not set
Summary: screen enables nethack messages though corr. USE flag not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 11:08 UTC by Horst Schirmeier
Modified: 2004-10-15 14:04 UTC (History)
0 users

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


Attachments
ebuild patch to 4.0.2-r1 (screen-4.0.2.nethack.patch,418 bytes, patch)
2004-10-11 11:09 UTC, Horst Schirmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Schirmeier 2004-10-11 11:08:07 UTC
The ebuild author tried to address the "nethack" USE flag with

use nethack && append-flags "-DNETHACK"

though #define NETHACK is default anyways, resulting in screen being compiled with a config.h #define NETHACK though the corresponding USE flag is not set.

use nethack && append-flags "-DNETHACK" || append-flags "-DNONETHACK"

or

use nethack || append-flags "-DNONETHACK"

resolves the problem. See attached patch.

Reproducible: Always
Steps to Reproduce:
1. USE=-nethack emerge screen
2. touch ~/.nethackrc
3. screen -ls

Actual Results:  
Your inventory:
        9111.pts-0.nexus        (Attached)
        12057.pts-17.nexus      (Attached)
2 Sockets in /var/run/screen/S-bigfoot.

Expected Results:  
There are screens on:
        9111.pts-0.nexus        (Attached)
        12057.pts-17.nexus      (Attached)
2 Sockets in /var/run/screen/S-bigfoot.
Comment 1 Horst Schirmeier 2004-10-11 11:09:40 UTC
Created attachment 41553 [details, diff]
ebuild patch to 4.0.2-r1
Comment 2 Sven Wegener gentoo-dev 2004-10-15 14:04:47 UTC
Fixed in CVS. I did not bump the revision as this only affects a minority of users.