Package: gzip-win32
Version: 1.10-2
Severity: serious
Affects: win32-loader
Tags: d-i pending
Owner: Milan Kupcevic <mi...@debian.org>
Submitter: Thomas Gaugler <tho...@dadie.net>


Merge request opened 6 months ago by Thomas Gaugler:

I noticed that gzip-win32 1.10-2 depends on the libssp-0.dll dynamic link 
library.
Therefore gzip.exe is no longer able to run standalone within win32-loader.exe.
wine also exhibits the issue:

$ wine gzip.exe
0009:err:module:import_dll Library libssp-0.dll (which is needed by 
L"Z:\\tmp\\gzip.exe") not found
0009:err:module:attach_dlls Importing dlls for L"Z:\\tmp\\gzip.exe" failed, 
status c0000135

The proposed patch links gzip.exe with the static libssp library.


From: Thomas Gaugler <tho...@dadie.net>
Date: Wed, 5 Aug 2020 20:32:39 +0200
Subject: [PATCH] Link gzip.exe with static libssp library

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 2861a82..a82aacf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,7 +76,7 @@ configure-indep-stamp: reconf-stamp
        dh_testdir
        mkdir -p builddir-indep
        cd builddir-indep && ../configure --host=i686-w64-mingw32 \
-               LIBS="-Wl,--as-needed -lssp" --disable-silent-rules
+               LIBS="-l:libssp.a" --disable-silent-rules
        :>$@
 
 build: build-stamp build-indep-stamp
-- 
2.20.1

Reply via email to