summaryrefslogtreecommitdiffstats
path: root/sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch')
-rw-r--r--sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch b/sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch
deleted file mode 100644
index 3fcd5b5..0000000
--- a/sys-apps/util-linux/files/util-linux-2.12-mips-lseek.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Because there is no llseek defined for mips n32, we will use lseek instead.
-
---- util-linux-2.12r/fdisk/sfdisk.c.orig
-+++ util-linux-2.12r/fdisk/sfdisk.c
-@@ -172,7 +172,7 @@
- * Note: we use 512-byte sectors here, irrespective of the hardware ss.
- */
- #undef use_lseek
--#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__)
-+#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__) || defined (__mips__)
- #define use_lseek
- #endif
-
---- util-linux-2.12r/partx/partx.c.orig
-+++ util-linux-2.12r/partx/partx.c
-@@ -333,7 +333,7 @@
- /*
- * sseek: seek to specified sector
- */
--#if !defined (__alpha__) && !defined (__ia64__) && !defined (__s390x__) && !defined(__x86_64__)
-+#if !defined (__alpha__) && !defined (__ia64__) && !defined (__s390x__) && !defined(__x86_64__) && !defined(__mips__)
- #define NEED__llseek
- #endif
-