summaryrefslogtreecommitdiff
path: root/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-11-06 20:47:50 +0100
committerAaron Bauman <bman@gentoo.org>2019-11-07 21:39:32 -0500
commitac5ad27e2f40c4e5453e5b630087cb4e54934433 (patch)
tree93e4bf15d23e94dbc4f8ec5f00e811cdd7ffff2a /sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
parent7a3732379554f89b52aa85144d6a6047c2e3af2e (diff)
downloadgentoo-ac5ad27e2f40c4e5453e5b630087cb4e54934433.tar.gz
gentoo-ac5ad27e2f40c4e5453e5b630087cb4e54934433.tar.bz2
gentoo-ac5ad27e2f40c4e5453e5b630087cb4e54934433.zip
sys-apps/lcdutils: rename patch to fit full name
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/13572 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch')
-rw-r--r--sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch b/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
new file mode 100644
index 000000000000..81870496a529
--- /dev/null
+++ b/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
@@ -0,0 +1,50 @@
+From 304013f4c81a13fa2aa3a06628e6a1c57248563c Mon Sep 17 00:00:00 2001
+From: Matt Turner <mattst88@gmail.com>
+Date: Mon, 13 Jun 2011 23:42:44 -0400
+Subject: [PATCH] include stdlib.h for exit
+
+---
+ buttond.c | 1 +
+ liblcd.c | 1 +
+ putlcd.c | 1 +
+ 3 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/buttond.c b/buttond.c
+index e99b0dd..40a85ae 100644
+--- a/buttond.c
++++ b/buttond.c
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
+ #include <unistd.h>
+diff --git a/liblcd.c b/liblcd.c
+index e8fcacf..39bceea 100644
+--- a/liblcd.c
++++ b/liblcd.c
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+diff --git a/putlcd.c b/putlcd.c
+index c193712..18dc0af 100644
+--- a/putlcd.c
++++ b/putlcd.c
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include "liblcd.h"
+--
+1.7.3.4
+