summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel/files/patch-hyphen
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-18 22:07:48 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-18 22:07:48 +0000
commit3ba1b802b2ab712bc0e50159cc776c834066441a (patch)
tree5b5beaf385a61ae44661537e19ad421399b1926f /x11-drivers/xf86-video-intel/files/patch-hyphen
parentx11-drivers/xf86-video-openchrome: fix -fno-common (diff)
x11-drivers/xf86-video-intel: Update snapshot
Update the snapshot of x11-driver/xf86-video-intel - Fix build with -fno-common - Fix MIT-SHM detection - Drop SNA/UXA options in favor of xorg.conf(5) - Add hyphen to output names for consistency with modesetting(4x) - Add UDEV and XVMC options - Add "make test" support - Drop unused dependencies - Switch to upstream versioning scheme - Document all patches - Simplify and deprecate _WITH_GETLINE - Fix most style warnings PR: 236003 Submitted by: jbiech MFH: 2020Q3
Notes
Notes: svn path=/head/; revision=545262
Diffstat (limited to 'x11-drivers/xf86-video-intel/files/patch-hyphen')
-rw-r--r--x11-drivers/xf86-video-intel/files/patch-hyphen24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/patch-hyphen b/x11-drivers/xf86-video-intel/files/patch-hyphen
new file mode 100644
index 000000000000..3ea709848058
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/patch-hyphen
@@ -0,0 +1,24 @@
+Add hyphen to RANDR output names for consistency with modesetting(4x)
+
+--- src/sna/sna_display.c.orig 2018-12-03 09:01:25 UTC
++++ src/sna/sna_display.c
+@@ -5126,7 +5126,7 @@ sna_output_add(struct sna *sna, unsigned id, unsigned
+ output_name = output_names[compat_conn.conn.connector_type];
+ else
+ output_name = "UNKNOWN";
+- len = snprintf(name, 32, "%s%d", output_name, compat_conn.conn.connector_type_id);
++ len = snprintf(name, 32, "%s-%d", output_name, compat_conn.conn.connector_type_id);
+ if (output_ignored(scrn, name))
+ return 0;
+
+--- src/uxa/intel_display.c.orig 2018-12-03 09:01:25 UTC
++++ src/uxa/intel_display.c
+@@ -1484,7 +1484,7 @@ drmmode_create_name(ScrnInfoPtr pScrn, drmModeConnecto
+ else
+ output_name = "UNKNOWN";
+
+- snprintf(name, 32, "%s%d",
++ snprintf(name, 32, "%s-%d",
+ output_name, koutput->connector_type_id);
+ }
+ }