forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* push upstream OpenELEC/eventlircd#2
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
packages/sysutils/eventlircd/patches/eventlircd-001-PR2-fix-gcc7.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From aae3b1193025ccec332da4165d46502f9685aea4 Mon Sep 17 00:00:00 2001 | ||
From: "Sascha Kuehndel (InuSasha)" <[email protected]> | ||
Date: Sat, 6 May 2017 16:08:14 +0200 | ||
Subject: [PATCH] make fallthru explicit, fixes compile error in gcc7 | ||
|
||
--- | ||
src/main.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/main.c b/src/main.c | ||
index f6c50fa..d0fb25a 100644 | ||
--- a/src/main.c | ||
+++ b/src/main.c | ||
@@ -105,6 +105,7 @@ int main(int argc,char **argv) | ||
{ | ||
syslog(LOG_WARNING, "the highest verbosity level is -vvv\n"); | ||
} | ||
+ /* FALLTHRU */ | ||
case 'f': | ||
foreground = true; | ||
break; |