Mercurial > mxe-octave
annotate src/libdnet-1-fixes.patch @ 6213:5f64fb928091 release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 06 May 2022 19:36:10 +0200 |
parents | 99516e73b368 |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1970
diff
changeset
|
1 This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
2 See index.html for further information. |
1959 | 3 |
1970
ca9a26198323
packages libarchive libdnet: updated patch provenance
Mark Brand <mabrand@mabrand.nl>
parents:
1959
diff
changeset
|
4 Patch taken from http://sourceforge.net/mailarchive/message.php?msg_id=27995461 |
1959 | 5 |
1970
ca9a26198323
packages libarchive libdnet: updated patch provenance
Mark Brand <mabrand@mabrand.nl>
parents:
1959
diff
changeset
|
6 mingwrt 3.20 provides ssize_t and defines _SSIZE_T_. This patch |
ca9a26198323
packages libarchive libdnet: updated patch provenance
Mark Brand <mabrand@mabrand.nl>
parents:
1959
diff
changeset
|
7 allows libdnet to use this ssize_t instead of defining its |
ca9a26198323
packages libarchive libdnet: updated patch provenance
Mark Brand <mabrand@mabrand.nl>
parents:
1959
diff
changeset
|
8 own which causes build failure. Applies to libdnet 1.11. |
1959 | 9 |
10 diff --git a/include/dnet/os.h b/include/dnet/os.h | |
11 index c12c7b2..9e8bdd2 100644 | |
12 --- a/include/dnet/os.h | |
13 +++ b/include/dnet/os.h | |
14 @@ -23,8 +23,10 @@ | |
15 typedef u_short uint16_t; | |
16 typedef u_int uint32_t; | |
17 # ifndef __CYGWIN__ | |
18 +# ifndef _SSIZE_T_ | |
19 typedef long ssize_t; | |
20 # endif | |
21 +# endif | |
22 #else | |
23 # include <sys/param.h> | |
24 # include <sys/types.h> | |
25 -- | |
26 1.7.6 | |
27 |