ODROID-U3 xorg-server debian package fork :
[deb_xorg-server.git] / debian / patches / 105_nvidia_fglrx_autodetect.patch
index 1d082053941c8d03e8a8a1c6da95547e5e9d53d6..5462eb1a5704b795fe968e6aa20da204f07432b0 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
-index 43c746b..750b425 100644
 --- a/hw/xfree86/common/xf86AutoConfig.c
 +++ b/hw/xfree86/common/xf86AutoConfig.c
-@@ -75,6 +75,13 @@
+@@ -76,6 +76,13 @@
        "\tDevice\t" BUILTIN_DEVICE_NAME "\n" \
        "EndSection\n\n"
  
@@ -16,7 +14,7 @@ index 43c746b..750b425 100644
  #define BUILTIN_LAYOUT_SECTION_PRE \
        "Section \"ServerLayout\"\n" \
        "\tIdentifier\t\"Builtin Default Layout\"\n"
-@@ -153,7 +160,11 @@ xf86AutoConfig(void)
+@@ -154,7 +161,11 @@ xf86AutoConfig(void)
      for (p = deviceList; *p; p++) {
          snprintf(buf, sizeof(buf), BUILTIN_DEVICE_SECTION, *p, 0, *p);
          AppendToConfig(buf);
@@ -29,11 +27,9 @@ index 43c746b..750b425 100644
          AppendToConfig(buf);
      }
  
-diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
-index e52f1da..bd62a7e 100644
 --- a/hw/xfree86/common/xf86pciBus.c
 +++ b/hw/xfree86/common/xf86pciBus.c
-@@ -1107,7 +1107,8 @@ videoPtrToDriverList(struct pci_device *dev,
+@@ -1132,7 +1132,8 @@ xf86VideoPtrToDriverList(struct pci_devi
          driverList[0] = "ast";
          break;
      case 0x1002:
@@ -43,7 +39,7 @@ index e52f1da..bd62a7e 100644
          break;
      case 0x102c:
          driverList[0] = "chips";
-@@ -1143,6 +1144,7 @@ videoPtrToDriverList(struct pci_device *dev,
+@@ -1216,6 +1217,7 @@ xf86VideoPtrToDriverList(struct pci_devi
      {
          int idx = 0;