aboutsummaryrefslogtreecommitdiffstats
path: root/main/socat/fix-32-bit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/socat/fix-32-bit.patch')
-rw-r--r--main/socat/fix-32-bit.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/main/socat/fix-32-bit.patch b/main/socat/fix-32-bit.patch
deleted file mode 100644
index d1537ce85ad..00000000000
--- a/main/socat/fix-32-bit.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Upstream: yes, cherrry-picked from master, will be in 1.7.4.1
-Reason: Fixes 32 bit
-
---- a/compat.h
-+++ b/compat.h
-@@ -134,6 +134,8 @@ typedef int sig_atomic_t;
- # define F_uint64_t "%u"
- # elif HAVE_BASIC_UINT64_T==6
- # define F_uint64_t "%lu"
-+# elif HAVE_BASIC_UINT64_T==8
-+# define F_uint64_t "%llu"
- # else
- # error "HAVE_BASIC_UINT64_T is out of range:" HAVE_BASIC_UINT64_T
- # endif
-@@ -147,7 +149,7 @@ typedef int sig_atomic_t;
- # elif HAVE_BASIC_INT16_T==3
- # define F_int16_t "%d"
- # elif HAVE_BASIC_INT16_T==5
--# define F_int16_t "%l"
-+# define F_int16_t "%ld"
- # else
- # error "HAVE_BASIC_INT16_T is out of range:" HAVE_BASIC_INT16_T
- # endif
-@@ -161,7 +163,7 @@ typedef int sig_atomic_t;
- # elif HAVE_BASIC_INT32_T==3
- # define F_int32_t "%d"
- # elif HAVE_BASIC_INT32_T==5
--# define F_int32_t "%l"
-+# define F_int32_t "%ld"
- # else
- # error "HAVE_BASIC_INT32_T is out of range:" HAVE_BASIC_INT32_T
- # endif
-@@ -175,7 +177,9 @@ typedef int sig_atomic_t;
- # elif HAVE_BASIC_INT64_T==3
- # define F_int64_t "%d"
- # elif HAVE_BASIC_INT64_T==5
--# define F_int64_t "%l"
-+# define F_int64_t "%ld"
-+# elif HAVE_BASIC_INT64_T==7
-+# define F_int64_t "%lld"
- # else
- # error "HAVE_BASIC_INT64_T is out of range:" HAVE_BASIC_INT64_T
- # endif