summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfulgurance <zohran.londais@gmail.com>2019-05-03 17:10:59 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-20 15:41:31 +0300
commit1f3c291a1d794868c714acf741974563d9ff8791 (patch)
treecdd6a59397ae9c8f5187b404c72b88f2f4e95814 /app-laptop/msi-keyboard/files
parentdev-dotnet/libgdiplus: bump version to 6.0.2 (diff)
downloadgentoo-1f3c291a1d794868c714acf741974563d9ff8791.tar.gz
gentoo-1f3c291a1d794868c714acf741974563d9ff8791.tar.bz2
gentoo-1f3c291a1d794868c714acf741974563d9ff8791.zip
app-laptop/msi-keyboard: New package
Control backlight of MSI laptop keyboards Package-Manager: Portage 2.3.72, Repoman 2.3.17 Signed-off-by: Zohran Londais <zohran.londais@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11884 Closes: https://github.com/gentoo/gentoo/pull/10476 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-laptop/msi-keyboard/files')
-rw-r--r--app-laptop/msi-keyboard/files/msi-keyboard-1.0-makefile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-laptop/msi-keyboard/files/msi-keyboard-1.0-makefile.patch b/app-laptop/msi-keyboard/files/msi-keyboard-1.0-makefile.patch
new file mode 100644
index 000000000000..08cdaa79e235
--- /dev/null
+++ b/app-laptop/msi-keyboard/files/msi-keyboard-1.0-makefile.patch
@@ -0,0 +1,20 @@
+--- a/Makefile 2019-08-19 22:40:43.258528097 +0200
++++ b/Makefile 2019-08-19 23:00:30.786462412 +0200
+@@ -1,6 +1,4 @@
+ CC=g++
+-CFLAGS=-c -Wall
+-LDFLAGS=-lhidapi-libusb
+ SOURCES=main.cpp Keyboard.cpp Color.cpp
+ OBJECTS=$(SOURCES:.cpp=.o)
+ EXECUTABLE=msi-keyboard
+@@ -11,8 +9,7 @@
+ rm $(OBJECTS) $(EXECUTABLE)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(CC) $(LDFLAGS) $(OBJECTS) -o $@
++ $(CC) $(CFLAGS) -lhidapi-libusb $(LDFLAGS) $(OBJECTS) -o $@
+
+ .cpp.o:
+- $(CC) $(CFLAGS) $< -o $@
+-
++ $(CC) $(CFLAGS) -c $< -o $@