From 77398e424e45d9e98c1cef3c43bdadb9d56e81ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2019 13:21:36 +0000 Subject: gentoo resync : 10.11.2019 --- .../lcdutils/files/include-stdlib.h-for-exit.patch | 50 ---------------------- .../lcdutils-0.2-include-stdlib.h-for-exit.patch | 50 ++++++++++++++++++++++ .../lcdutils/files/lcdutils-0.2-makefile.patch | 20 +++++++++ 3 files changed, 70 insertions(+), 50 deletions(-) delete mode 100644 sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch create mode 100644 sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch create mode 100644 sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch (limited to 'sys-apps/lcdutils/files') diff --git a/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch b/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch deleted file mode 100644 index 81870496a529..000000000000 --- a/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 304013f4c81a13fa2aa3a06628e6a1c57248563c Mon Sep 17 00:00:00 2001 -From: Matt Turner -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 - #include - #include - #include -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 - #include - #include - #include -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 - #include - #include - #include "liblcd.h" --- -1.7.3.4 - 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 +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 + #include + #include + #include +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 + #include + #include + #include +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 + #include + #include + #include "liblcd.h" +-- +1.7.3.4 + diff --git a/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch b/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch new file mode 100644 index 000000000000..a67db0c2e297 --- /dev/null +++ b/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch @@ -0,0 +1,20 @@ +--- a/Makefile 2002-07-08 15:31:37.000000000 +0200 ++++ b/Makefile 2019-11-06 20:38:11.499806312 +0100 +@@ -1,13 +1,14 @@ + #CC=mips-uclibc-gcc + #LDFLAGS=-static + +-CFLAGS=-O2 -Wall ++CFLAGS?=-O2 -Wall + + all: putlcd buttond + + install: all +- install putlcd /usr/local/sbin +- install buttond /usr/local/sbin ++ install -d ${DESTDIR}/usr/bin ++ install putlcd ${DESTDIR}/usr/bin ++ install buttond ${DESTDIR}/usr/bin + + clean: + rm -f putlcd buttond *.o -- cgit v1.2.3