[Slackbuilds-users] Updates - 20070822

Eric Hameleers (SBo) alien at slackbuilds.org
Thu Sep 27 16:11:25 UTC 2007


Robby Workman schreef:
> xgizzmo at gmail.com wrote:
>>> Can anyone else try this and see if they can duplicate this problem?
>>> Perhaps it is something odd with my hardware?
>> I don't seem to have the keyboard and screen problems you describe.
>>
>> But here is a bit O'code the seem to fix the path issue, i am sure hacking a binary in this manner is all kinds of wrong
>> but it does seem to work. The trick to this is the old string and the new string must be the same length.
>>
>> ( cd ${PKG}
>>   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs -I '{}' replace -s /usr/local/ /usr/./././ -- {} 2> /dev/null
>> )
> 
> 
> Question: is this safe to do in the build script?
> Am I inviting other problems?
> 
> Since this is working for some people, I'm hesitant, but if it's
> safe, I'd prefer to make sure it works for everyone...
> 
> RW


I am very much against this binary patching. Symlinking would be much
cleaner.

Eric



More information about the Slackbuilds-users mailing list