[Wine] Re: wine and aladdin hasp hardware dongle

jeffz wineforum-user at winehq.org
Mon Aug 11 07:14:28 CDT 2008


TimFR wrote:
> Hi,
> I' d like to add this patch to my Wine (version 1.1.2, running on Ubuntu hardy) in order to use the SafeNet dongle, but I don't really know how to do it...
> 
> Please can someone help me?
> 
> PS: Thanks JeffZ for telling me this patch exists! :)


You need to get a copy of the Wine source, either through git or the version of Wine that the patch is intended for.

sudo apt-get install build-essential

cd to the root of the wine source tree, eg cd ~/wine
patch -p1 < ~/path-to-earlier-downloaded-usb.patch
./configure && make

If the build completes successfully, then you have a patched version of wine runnable from ~/wine, so to run the patched version type in full: ~/wine/wine foo.exe 


nb. if you're using 64bit Ubuntu you'll need to refer to the wiki page which shows you how to symlink 32bit libs into your wine tree and then pass the correct LD and gcc flags.







More information about the wine-users mailing list