diff -urN debian.old/compat debian/compat --- debian.old/compat 1969-12-31 21:00:00.000000000 -0300 +++ debian/compat 2008-04-13 00:19:52.000000000 -0300 @@ -0,0 +1 @@ +5 diff -urN debian.old/control debian/control --- debian.old/control 2008-04-13 00:20:02.000000000 -0300 +++ debian/control 2008-04-13 00:19:52.000000000 -0300 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian-Med Packaging Team Uploaders: Steffen Moeller -Build-Depends: debhelper (>= 5), quilt, g++-3.3 +Build-Depends: debhelper (>= 5), quilt Standards-Version: 3.7.3 Homepage: http://pngu.mgh.harvard.edu/~purcell/plink/ diff -urN debian.old/patches/gcc43.patch debian/patches/gcc43.patch --- debian.old/patches/gcc43.patch 2008-04-13 00:20:02.000000000 -0300 +++ debian/patches/gcc43.patch 2008-04-13 00:19:52.000000000 -0300 @@ -1,38 +1,3 @@ -Index: plink-1.02/Makefile -=================================================================== ---- plink-1.02.orig/Makefile 2008-04-08 18:34:04.000000000 +0200 -+++ plink-1.02/Makefile 2008-04-08 22:40:59.000000000 +0200 -@@ -17,12 +17,12 @@ - SYS = UNIX - - # Leave blank after "=" to disable; put "= 1" to enable --WITH_R_PLUGINS = 1 -+WITH_R_PLUGINS = - WITH_WEBCHECK = 1 - FORCE_32BIT = - - # Put C++ compiler here; Windows has it's own specific version --CXX_UNIX = g++ -+CXX_UNIX = g++-3.3 - CXX_WIN = c:\bin\mingw\bin\mingw32-g++.exe - - # Any other compiler flags here ( -Wall, -g, etc) -@@ -43,7 +43,7 @@ - endif - - ifeq ($(SYS),UNIX) -- CXXFLAGS += -DUNIX -static -+ CXXFLAGS += -DUNIX - CXX = $(CXX_UNIX) - endif - -@@ -115,3 +115,6 @@ - - clean: - rm -f *.o *~ -+ -+distclean: clean -+ rm -f plink Index: plink-1.02/clumpld.cpp =================================================================== --- plink-1.02.orig/clumpld.cpp 2008-04-08 18:22:12.000000000 +0200 diff -urN debian.old/patches/Makefile.patch debian/patches/Makefile.patch --- debian.old/patches/Makefile.patch 2008-04-13 00:20:02.000000000 -0300 +++ debian/patches/Makefile.patch 2008-04-13 00:19:52.000000000 -0300 @@ -1,7 +1,68 @@ -Index: plink-1.02/Makefile -=================================================================== ---- plink-1.02.orig/Makefile 2008-04-09 12:20:22.000000000 +0200 -+++ plink-1.02/Makefile 2008-04-09 15:19:23.000000000 +0200 +diff -urN plink-1.02-src/debian/patches/Makefile.patch plink-1.02-src.new/debian/patches/Makefile.patch +--- plink-1.02-src/debian/patches/Makefile.patch 2008-04-13 00:01:10.000000000 -0300 ++++ plink-1.02-src.new/debian/patches/Makefile.patch 2008-04-12 23:55:55.000000000 -0300 +@@ -0,0 +1,24 @@ ++Index: plink-1.02/Makefile ++=================================================================== ++--- plink-1.02.orig/Makefile 2008-04-09 12:20:22.000000000 +0200 +++++ plink-1.02/Makefile 2008-04-09 15:19:23.000000000 +0200 ++@@ -96,6 +96,9 @@ ++ LIB += -ldl -lcrypt ++ endif ++ +++PREFIX=/usr +++DESTDIR= +++ ++ OBJ = $(SRC:.cpp=.o) ++ ++ all : $(OUTPUT) ++@@ -111,6 +114,9 @@ ++ ++ $(OUTPUT) : $(OBJ) ++ +++install: $(OUTPUT) +++ cp $(OUTPUT) $(DESTDIR)$(PREFIX)/bin +++ ++ FORCE: ++ ++ clean: +diff -urN plink-1.02-src/Makefile plink-1.02-src.new/Makefile +--- plink-1.02-src/Makefile 2008-03-27 23:49:30.000000000 -0300 ++++ plink-1.02-src.new/Makefile 2008-04-13 00:00:40.000000000 -0300 +@@ -17,7 +17,7 @@ + SYS = UNIX + + # Leave blank after "=" to disable; put "= 1" to enable +-WITH_R_PLUGINS = 1 ++WITH_R_PLUGINS = + WITH_WEBCHECK = 1 + FORCE_32BIT = + +@@ -26,13 +26,13 @@ + CXX_WIN = c:\bin\mingw\bin\mingw32-g++.exe + + # Any other compiler flags here ( -Wall, -g, etc) +-CXXFLAGS = ++CXXFLAGS = -Wall -g + + # -------------------------------------------------------------------- + # Do not edit below this line + # -------------------------------------------------------------------- + +-CXXFLAGS += -O3 -I. ++CXXFLAGS += -O2 -I. + OUTPUT = plink + + # Some system specific flags +@@ -43,7 +43,7 @@ + endif + + ifeq ($(SYS),UNIX) +- CXXFLAGS += -DUNIX -static ++ CXXFLAGS += -DUNIX + CXX = $(CXX_UNIX) + endif + @@ -96,6 +96,9 @@ LIB += -ldl -lcrypt endif @@ -12,7 +73,7 @@ OBJ = $(SRC:.cpp=.o) all : $(OUTPUT) -@@ -111,6 +114,9 @@ +@@ -111,7 +114,13 @@ $(OUTPUT) : $(OBJ) @@ -22,3 +83,7 @@ FORCE: clean: + rm -f *.o *~ ++ ++distclean: clean ++ rm -f plink diff -urN debian.old/rules debian/rules --- debian.old/rules 2008-04-13 00:20:02.000000000 -0300 +++ debian/rules 2008-04-13 00:19:52.000000000 -0300 @@ -30,6 +30,7 @@ dh_compress dh_fixperms dh_installdeb + dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb