[Pkg-wmaker-commits] [wmload] 57/58: debian/patches: Remove directory; patches applied upstream.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:36:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmload.

commit a7b688598320177db3632039c8f9fb3bbf6088b2
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Mon Aug 24 19:00:30 2015 -0400

    debian/patches: Remove directory; patches applied upstream.
---
 debian/patches/bump_POSIX_C_SOURCE.patch | 20 --------------------
 debian/patches/fix_unused_result.patch   | 27 ---------------------------
 debian/patches/series                    |  2 --
 3 files changed, 49 deletions(-)

diff --git a/debian/patches/bump_POSIX_C_SOURCE.patch b/debian/patches/bump_POSIX_C_SOURCE.patch
deleted file mode 100644
index 29fa147..0000000
--- a/debian/patches/bump_POSIX_C_SOURCE.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Description: Bump _POSIX_C_SOURCE to 200112L.
- Otherwise, we get the following warning during build.
- wmload.c: In function ‘GetLoad’:
- wmload.c:523:10: warning: incompatible implicit declaration of built-in function ‘rint’
-    *usr = rint(Maximum * (float)(*usr)   /total);
-           ^
-Author: Doug Torrance <dtorrance at monmouthcollege.edu>
-Last-Update: 2015-04-15
-
---- a/wmload.c
-+++ b/wmload.c
-@@ -18,7 +18,7 @@
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
- 
--#define _POSIX_C_SOURCE 199309L
-+#define _POSIX_C_SOURCE 200112L
- 
- #include <stdio.h>
- #include <string.h>
diff --git a/debian/patches/fix_unused_result.patch b/debian/patches/fix_unused_result.patch
deleted file mode 100644
index 62e6d70..0000000
--- a/debian/patches/fix_unused_result.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: Fix -Wunused-result compiler warning.
-Author: Doug Torrance <dtorrance at monmouthcollege.edu>
-Last-Update: 2015-04-15
-
---- a/wmload.c
-+++ b/wmload.c
-@@ -145,7 +145,9 @@
- 	ruid = getuid();
- 	euid = geteuid();
- 	if ( ruid == euid ) {
--		system( Execute );
-+		if (system( Execute ) == -1)
-+			fprintf(stderr, "system(%s) returned an error",
-+				Execute);
- 		return;
- 	}
- 	pid = fork();
-@@ -171,7 +173,8 @@
- 				strerror(errno));
- 		exit(127);
- 	}
--	system( Execute );
-+	if (system( Execute ) == -1)
-+		fprintf(stderr, "system(%s) returned an error", Execute);
- 	exit(0);
- }
- int main(int argc,char *argv[])
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 74c17d0..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-bump_POSIX_C_SOURCE.patch
-fix_unused_result.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmload.git



More information about the Pkg-wmaker-commits mailing list