From 576b6208d6defe240bfa2477d6dd19f1ed83bfaf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 2 Sep 2019 05:23:45 +0200 Subject: Cleaned most of outdated stuff --- .../util-linux/files/util-linux-2.12i-pic.patch | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 sys-apps/util-linux/files/util-linux-2.12i-pic.patch (limited to 'sys-apps/util-linux/files/util-linux-2.12i-pic.patch') diff --git a/sys-apps/util-linux/files/util-linux-2.12i-pic.patch b/sys-apps/util-linux/files/util-linux-2.12i-pic.patch deleted file mode 100644 index 8fb91be..0000000 --- a/sys-apps/util-linux/files/util-linux-2.12i-pic.patch +++ /dev/null @@ -1,59 +0,0 @@ -diff -ur util-linux-2.12i.orig/fdisk/llseek.c util-linux-2.12i/fdisk/llseek.c ---- util-linux-2.12i.orig/fdisk/llseek.c 2004-11-11 20:08:34.074942938 -0500 -+++ util-linux-2.12i/fdisk/llseek.c 2004-11-11 20:09:43.040353443 -0500 -@@ -3,6 +3,9 @@ - * - * Copyright (C) 1994 Remy Card. This file may be redistributed - * under the terms of the GNU Public License. -+ * -+ * Changes: -+ * 20030712 - Alexander Gabert - adding PIC defines - */ - - #include -@@ -19,7 +22,9 @@ - - #else /* HAVE_LLSEEK */ - --#if defined(__alpha__) || defined(__ia64__) || defined(__s390x__) -+/* do not use assembler to put together syscalls at compile time (for llseek for example) when using PIC */ -+#if defined(__alpha__) || defined(__ia64__) || defined(__s390x__) \ -+ || defined(__PIC__) || defined(__pic__) - - #define my_llseek lseek - -diff -ur util-linux-2.12i.orig/fdisk/sfdisk.c util-linux-2.12i/fdisk/sfdisk.c ---- util-linux-2.12i.orig/fdisk/sfdisk.c 2004-11-11 20:08:34.074942938 -0500 -+++ util-linux-2.12i/fdisk/sfdisk.c 2004-11-11 20:11:07.242982424 -0500 -@@ -30,6 +30,7 @@ - * 19990319 - Arnaldo Carvalho de Melo - i18n - * 20040428 - Jeroen Dobbelaere - added PACKED - * 20040824 - David A. Wheeler - warnings to stderr -+ * 20030712 - Alexander Gabert - adding PIC defines - */ - - #define PROGNAME "sfdisk" -@@ -172,7 +173,9 @@ - * 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__) -+/* do not use the assembler constructed syscalls for seeking if compiled as PIC */ -+#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__) \ -+ || defined(__PIC__) && defined(__pic__) - #define use_lseek - #endif - -diff -ur util-linux-2.12i.orig/partx/partx.c util-linux-2.12i/partx/partx.c ---- util-linux-2.12i.orig/partx/partx.c 2004-11-11 20:08:34.155928155 -0500 -+++ util-linux-2.12i/partx/partx.c 2004-11-11 20:12:34.740010020 -0500 -@@ -333,7 +333,8 @@ - /* - * 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(__PIC__) && !defined(__pic__) - #define NEED__llseek - #endif - -- cgit v1.2.3