diff options
Diffstat (limited to 'media-video/yanc/files/yanc-0.2.1-xorg-x11-compat.patch')
-rw-r--r-- | media-video/yanc/files/yanc-0.2.1-xorg-x11-compat.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-video/yanc/files/yanc-0.2.1-xorg-x11-compat.patch b/media-video/yanc/files/yanc-0.2.1-xorg-x11-compat.patch new file mode 100644 index 000000000000..c184e18f280e --- /dev/null +++ b/media-video/yanc/files/yanc-0.2.1-xorg-x11-compat.patch @@ -0,0 +1,42 @@ +diff -urN yanc-0.2.1.orig/src/Unit1.pas yanc-0.2.1/src/Unit1.pas +--- yanc-0.2.1.orig/src/Unit1.pas 2004-06-13 20:26:47.000000000 -0400 ++++ yanc-0.2.1/src/Unit1.pas 2004-06-13 20:28:34.000000000 -0400 +@@ -891,21 +891,26 @@ + if (dateiname_xf86config='') then + begin + +- if FileExists('/etc/X11/XF86Config') then ++ if FileExists('/etc/X11/xorg.conf') then + begin + inc(anzahl_xf86configs); +- dateiname_xf86config:='/etc/X11/XF86Config'; ++ dateiname_xf86config:='/etc/X11/xorg.conf'; + end; +- if FileExists('/etc/X11/XF86Config-4') then +- begin +- inc(anzahl_xf86configs); +- dateiname_xf86config:='/etc/X11/XF86Config-4'; +- end; +- if FileExists('/etc/XF86Config-4') then +- begin +- inc(anzahl_xf86configs); +- dateiname_xf86config:='/etc/XF86Config-4'; +- end; ++ if FileExists('/etc/X11/XF86Config') then ++ begin ++ inc(anzahl_xf86configs); ++ dateiname_xf86config:='/etc/X11/XF86Config'; ++ end; ++ if FileExists('/etc/X11/XF86Config-4') then ++ begin ++ inc(anzahl_xf86configs); ++ dateiname_xf86config:='/etc/X11/XF86Config-4'; ++ end; ++ if FileExists('/etc/XF86Config-4') then ++ begin ++ inc(anzahl_xf86configs); ++ dateiname_xf86config:='/etc/XF86Config-4'; ++ end; + end; + + if (anzahl_xf86configs>1) then |