public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-diskperf-plugin/files/
@ 2019-03-04  3:14 Aaron Bauman
  0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2019-03-04  3:14 UTC (permalink / raw
  To: gentoo-commits

commit:     930e6e34f710e76e6e176ed28509bb56ed1c6a38
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Mar  1 17:37:04 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 03:12:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930e6e34

xfce-extra/xfce4-diskperf-plugin: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 .../xfce4-diskperf-plugin-2.6.1-majorminor.patch   | 58 ----------------------
 1 file changed, 58 deletions(-)

diff --git a/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-majorminor.patch b/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-majorminor.patch
deleted file mode 100644
index c0515f1558b..00000000000
--- a/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-majorminor.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From: Nico R. <n-roeser@gmx.net>
-Date: Sun, 28 Jan 2018 15:15:07 +0100
-Subject: [PATCH] work around glibc namespace pollution
-
----
- panel-plugin/devperf.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c
-index 29bcb87..95d2f0e 100644
---- a/panel-plugin/devperf.c
-+++ b/panel-plugin/devperf.c
-@@ -69,7 +69,7 @@ static int DevGetPerfData1 (dev_t p_iDevice, struct devperf_t *p_poPerf)
- 	iMinorNo = minor(p_iDevice);
-     struct timeval  oTimeStamp;
-     FILE           *pF;
--    unsigned int    major, minor, rsect, wsect, ruse, wuse, use;
-+    unsigned int    majorNo, minorNo, rsect, wsect, ruse, wuse, use;
-     int             running;
-     char            acStats[128];
-     int             c, n;
-@@ -80,10 +80,10 @@ static int DevGetPerfData1 (dev_t p_iDevice, struct devperf_t *p_poPerf)
- 	return (-1);
-     }
-     while (1) {
--	n = fscanf (pF, "%u %u", &major, &minor);
-+	n = fscanf (pF, "%u %u", &majorNo, &minorNo);
- 	if (n != 2)
- 	    goto Error;
--	if ((major != iMajorNo) || (minor != iMinorNo)) {
-+	if ((majorNo != iMajorNo) || (minorNo != iMinorNo)) {
- 	    while ((c = fgetc (pF)) && (c != '\n'));	/* Goto next line */
- 	    continue;
- 	}
-@@ -126,7 +126,7 @@ static int DevGetPerfData2 (dev_t p_iDevice, struct devperf_t *p_poPerf)
- 	iMinorNo = p_iDevice & 0xFF;
-     struct timeval  oTimeStamp;
-     FILE           *pF;
--    unsigned int    major, minor, rsect, wsect, ruse, wuse, use;
-+    unsigned int    majorNo, minorNo, rsect, wsect, ruse, wuse, use;
-     int             running;
-     int             c, n;
- 
-@@ -138,9 +138,9 @@ static int DevGetPerfData2 (dev_t p_iDevice, struct devperf_t *p_poPerf)
-     while ((c = fgetc (pF)) && (c != '\n'));	/* Skip the header line */
-     while ((n = fscanf (pF,
- 			"%u %u %*u %*s %*u %*u %u %u %*u %*u %u %u %d %u %*u",
--			&major, &minor, &rsect, &ruse, &wsect,
-+			&majorNo, &minorNo, &rsect, &ruse, &wsect,
- 			&wuse, &running, &use)) == 8)
--	if ((major == iMajorNo) && (minor == iMinorNo)) {
-+	if ((majorNo == iMajorNo) && (minorNo == iMinorNo)) {
- 	    fclose (pF);
- 	    gettimeofday (&oTimeStamp, 0);
- 	    p_poPerf->timestamp_ns =
--- 
-2.16.1
-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-04  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04  3:14 [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-diskperf-plugin/files/ Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox