patchGNU Libtool - Patches: patch #8843, Include _CRTIMP in _putenv()...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8843: Include _CRTIMP in _putenv() declaration in EXE wrapper sources

Submitter:  Vadim Zeitlin <zeitlin>
Submitted:  Thu 31 Dec 2015 02:12:26 AM UTC
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 27 Mar 2020 11:21:10 PM UTC, comment #2: 

It looks like every 5 years or so I return to this problem, only to confirm that it's still there and still not fixed. I understand the need to be patient, but, still, a single word patch languishing for almost 9 years must be some kind of a record.

Vadim Zeitlin <zeitlin>
Wed 10 Feb 2016 08:14:49 PM UTC, comment #1: 

Here is the updated version of the patch for the latest master:

```
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 2a5aaad..0217828 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -3663,7 +3663,7 @@ EOF
 /* declarations of non-ANSI functions */
 #if defined _MINGW32_
 # ifdef _STRICT_ANSI_
-int _putenv (const char *);
+_CRTIMP int _putenv (const char *);
 # endif
 #elif defined _CYGWIN_
 # ifdef _STRICT_ANSI_
```

Vadim Zeitlin <zeitlin>
Thu 31 Dec 2015 02:12:26 AM UTC, original submission:  

Please see http://lists.gnu.org/archive/html/libtool-patches/2011-06/msg00001.html for the patch submitted 4.5 years ago but which is still relevant today. The solution there is not perfect, as discussed on the list, but at least it does solve the problem and would allow me to build my project without hacking libtool.

Please consider applying it, TIA!

Vadim Zeitlin <zeitlin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zeitlin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9