depot/third_party/nixpkgs/pkgs/tools/package-management/checkinstall/use-old-memcpy.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

12 lines
499 B
Diff

diff -ru -x '*~' checkinstall-1.6.2-orig/installwatch/installwatch.c checkinstall-1.6.2/installwatch/installwatch.c
--- checkinstall-1.6.2-orig/installwatch/installwatch.c 2008-11-16 17:20:53.000000000 +0100
+++ checkinstall-1.6.2/installwatch/installwatch.c 2013-03-15 13:50:12.717646381 +0100
@@ -28,6 +28,8 @@
* <mail@fredemmott.co.uk>
*/
+asm (".symver memcpy, memcpy@GLIBC_2.2.5");
+
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>