SHA256
1
0
forked from pool/pommed
pommed/pommed-1.39-multiple-def-lcd_bck_info.patch
Ruediger Oertel e6122ea08a Accepting request 835947 from home:oertel:branches:Base:System
- add patch pommed-1.39-multiple-def-lcd_bck_info.patch
  to fix link issues in factory. struct is already declared in
  sysfs_backlight

OBS-URL: https://build.opensuse.org/request/show/835947
OBS-URL: https://build.opensuse.org/package/show/Base:System/pommed?expand=0&rev=17
2020-09-21 23:36:39 +00:00

23 lines
624 B
Diff

--- pommed-1.39/pommed/mactel/x1600_backlight.c 2020/09/21 23:14:08 1.1
+++ pommed-1.39/pommed/mactel/x1600_backlight.c 2020/09/21 23:14:26
@@ -45,7 +45,7 @@
#include "../dbus.h"
-struct _lcd_bck_info lcd_bck_info;
+extern struct _lcd_bck_info lcd_bck_info;
static int fd = -1;
static char *memory = NULL;
--- pommed-1.39/pommed/mactel/nv8600mgt_backlight.c 2020/09/21 23:14:47 1.1
+++ pommed-1.39/pommed/mactel/nv8600mgt_backlight.c 2020/09/21 23:14:56
@@ -48,7 +48,7 @@
#include "../dbus.h"
-struct _lcd_bck_info lcd_bck_info;
+extern struct _lcd_bck_info lcd_bck_info;
static int nv8600mgt_inited = 0;