Fix to compile with gcc 4.4 (and reminder: Bug#503367: plink: file conflict with putty-tools)
- To: Debian Med Project List <debian-med@lists.debian.org>
- Cc: Shaun Purcell <plink@chgr.mgh.harvard.edu>, Andrey Kislyuk <weaver@gentoo.org>
- Subject: Fix to compile with gcc 4.4 (and reminder: Bug#503367: plink: file conflict with putty-tools)
- From: Andreas Tille <tillea@rki.de>
- Date: Mon, 4 May 2009 10:25:54 +0200 (CEST)
- Message-id: <[🔎] alpine.DEB.2.00.0905041021580.20347@wr-linux02>
- In-reply-to: <alpine.DEB.2.00.0904111948290.26426@wr-linux02>
- References: <alpine.DEB.2.00.0904012235290.5989@wr-linux02> <20090402082338.150720@gmx.net> <49D641AE.9050002@gmx.de> <alpine.DEB.2.00.0904031941560.6869@wr-linux02> <49D9EFAE.9050109@gmx.de> <alpine.DEB.2.00.0904111948290.26426@wr-linux02>
Hi,
please find attached a fix to compile plink using gcc 4.4. I also
would like to remind every interested party that I decided to use
the binary
/usr/bin/p-link
for Debian because my request for comments about three weeks ago did
not deserved a single response. I will upload a package with this
name in about 24h if nobody insists.
Kind regards
Andreas.
On Tue, 14 Apr 2009, Andreas Tille wrote:
Hi,
I try to resume the thread about the name of plink binary in Debian to
finally find a solution. Status:
1. we can not use /usr/bin/plink because of the name
conflict with the putty tool
2. plink executable will be moved to /usr/lib/plink/plink
3. we use a symlink to this place under /usr/bin/<NEWNAME>
4. the issue will be documented in README.Debian,
NEWS.Debian and the long description of the package.
The remaining issue to decide about is the actual name to choose. Here
re the options:
1. snplink
Pro: Just announced by upstream as alternate name
used by Debian (which is not true because the
suggestion was never realised) and used by
Gentoo (because of this announcement)
Con: Another potential name conflict [1]
2. PLINK
Pro: Sound remains the same.
Con: Not portable to files systems which are not
case sensitive
3. Plink
Same pros/cons as 2.
4. p_link
5. p-link
I'd really love if we can find a solution together with upstream (in CC)
and I'd actually would wight upstreams opinion about this issue highest
according to the principle that it is not only a Debian issue but might
happen on any users machine who tries to install plink.
So please let us find a reasonable solution which lets us move foreward
to a policy compliant plink package inside Debian.
Kind regards
Andreas.
[1]
http://www.icr.ac.uk/research/research_sections/cancer_genetics/cancer_genetics_teams/molecular_and_population_genetics/software_and_databases/index.shtml
--
http://fam-tille.de
Author: Andreas Tille
Puropose: Compile with gcc 4.4
Forwarded: Shaun Purcell <plink@chgr.mgh.harvard.edu>
License: same as plink itself.
--- plink-1.06-src.orig/blox.cpp
+++ plink-1.06-src/blox.cpp
@@ -15,6 +15,7 @@
#include <iomanip>
#include <string>
#include <cmath>
+#include <cstdlib>
#include "options.h"
#include "helper.h"
Reply to: