Hello community,

here is the log from the commit of package bumblebee for openSUSE:Factory 
checked in at 2016-08-29 15:34:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bumblebee (Old)
 and      /work/SRC/openSUSE:Factory/.bumblebee.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bumblebee"

Changes:
--------
--- /work/SRC/openSUSE:Factory/bumblebee/bumblebee.changes      2016-08-09 
22:15:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.bumblebee.new/bumblebee.changes 2016-08-29 
15:35:50.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 24 12:36:48 UTC 2016 - tchva...@suse.com
+
+- Add patch for bnc#994454 pciid's bigger than 9:
+  * bumblebee-decimal-pciid.patch
+
+-------------------------------------------------------------------

New:
----
  bumblebee-decimal-pciid.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bumblebee.spec ++++++
--- /var/tmp/diff_new_pack.CFqnon/_old  2016-08-29 15:35:52.000000000 +0200
+++ /var/tmp/diff_new_pack.CFqnon/_new  2016-08-29 15:35:52.000000000 +0200
@@ -25,6 +25,7 @@
 Url:            https://github.com/Bumblebee-Project/bumblebee
 Source0:        http://bumblebee-project.org/%{name}-%{version}.tar.gz
 Patch0:         nvidia-uvm-modeset-drm-support.patch
+Patch1:         bumblebee-decimal-pciid.patch
 BuildRequires:  glib2-devel
 BuildRequires:  help2man
 BuildRequires:  pciutils
@@ -64,10 +65,10 @@
 smart power management of the dGPU when it's not in use.
 
 %prep
-# extract the source and go into the bumblebee directory
 %setup -q
 # Apply patch to add support for nvidia-uvm
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \

++++++ bumblebee-decimal-pciid.patch ++++++
>From 2073f8537412aa47755eb6f3f22a114403e5285b Mon Sep 17 00:00:00 2001
From: Peter Wu <pe...@lekensteyn.nl>
Date: Wed, 16 Apr 2014 18:19:01 +0200
Subject: [PATCH] Fix devices with a bus larger than 9 (GH-573)

The `-isolateDevice` option accepts a PCI ID in decimal format, not hex.
---
 src/bbsecondary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bbsecondary.c b/src/bbsecondary.c
index 71a6b73..6b635ee 100644
--- a/src/bbsecondary.c
+++ b/src/bbsecondary.c
@@ -138,7 +138,7 @@ bool start_secondary(bool need_secondary) {
   if (!bb_is_running(bb_status.x_pid)) {
     char pci_id[12];
     static char *x_conf_file;
-    snprintf(pci_id, 12, "PCI:%02x:%02x:%o", pci_bus_id_discrete->bus,
+    snprintf(pci_id, 12, "PCI:%02d:%02d:%o", pci_bus_id_discrete->bus,
             pci_bus_id_discrete->slot, pci_bus_id_discrete->func);
     if (!x_conf_file) {
       x_conf_file = xorg_path_w_driver(bb_config.x_conf_file, 
bb_config.driver);

Reply via email to