summaryrefslogtreecommitdiff
path: root/sys-apps/lcdutils/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/lcdutils/files')
-rw-r--r--sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch (renamed from sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch)0
-rw-r--r--sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch20
2 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch b/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
index 81870496a529..81870496a529 100644
--- a/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch
+++ b/sys-apps/lcdutils/files/lcdutils-0.2-include-stdlib.h-for-exit.patch
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