File: 0017-Revert-host.h-Linux-GCC-require-old-GLIBC-version-on.patch

package info (click to toggle)
vlfeat 0.9.21%2Bfull-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,632 kB
  • sloc: ansic: 27,125; python: 1,782; makefile: 201; xml: 188; sh: 49
file content (37 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Dima Kogan <dkogan@debian.org>
Date: Fri, 6 Apr 2018 21:38:37 -0700
Subject: Revert "host.h: Linux/GCC: require old GLIBC version only"

This reverts commit ef0f2fd26657c31e1b7f86069a3da5178fab59a4.

This was breaking builds on non-x86 platforms. Upstream says (in an email) that
this was intended to improve backwards compatibility in some way. As a distro,
we handle that ourselves
---
 vl/host.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/vl/host.h b/vl/host.h
index 98e20ca..ec62213 100644
--- a/vl/host.h
+++ b/vl/host.h
@@ -5,7 +5,7 @@
  **/
 
 /*
-Copyright (C) 2007-12,18 Andrea Vedaldi and Brian Fulkerson.
+Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
 All rights reserved.
 
 This file is part of the VLFeat library and is made available under
@@ -658,10 +658,5 @@ vl_swap_host_big_endianness_2 (void *dst, void* src)
 #endif
 }
 
-/* Linux: limit glibc to old versions for compatibility */
-#if defined(VL_COMPILER_GNUC) & defined(VL_OS_LINUX) & ! defined(__DOXYGEN__)
-__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
-#endif
-
 /* VL_HOST_H */
 #endif