summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/smartmontools/patches/patch-ad')
-rw-r--r--sysutils/smartmontools/patches/patch-ad19
1 files changed, 0 insertions, 19 deletions
diff --git a/sysutils/smartmontools/patches/patch-ad b/sysutils/smartmontools/patches/patch-ad
deleted file mode 100644
index 5ac6baea287..00000000000
--- a/sysutils/smartmontools/patches/patch-ad
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2006/04/20 23:22:04 martin Exp $
-
---- ataprint.c.orig 2004-06-04 22:59:16.000000000 +0200
-+++ ataprint.c 2006-04-21 01:10:45.000000000 +0200
-@@ -90,7 +90,14 @@
- char tmp[65];
-
- n = n > 64 ? 64 : n;
-+#ifndef __NetBSD__
- swapbytes(tmp, in, n);
-+#else
-+ if (isbigendian())
-+ strncpy(tmp, in, n);
-+ else
-+ swapbytes(tmp, in, n);
-+#endif
- tmp[n] = '\0';
- trim(out, tmp);
- }