summaryrefslogtreecommitdiff
path: root/x11-base/xorg-server/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-18 15:15:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-18 15:15:31 +0100
commit4bd6fd31e606d063b1b8bb8bca95ad767b7d6a2b (patch)
treed08d65ce74c2ef25b9307501abad3620eaee34e9 /x11-base/xorg-server/files
parent2b4a8311da94c141ded2a8233d87b708ff066305 (diff)
x11-base/xorg-server : use Gentoo's build
Diffstat (limited to 'x11-base/xorg-server/files')
-rw-r--r--x11-base/xorg-server/files/99-synaptics-overrides.conf9
-rw-r--r--x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch53
-rw-r--r--x11-base/xorg-server/files/xorg-server-1.18-support-multiple-Files-sections.patch53
-rw-r--r--x11-base/xorg-server/files/xorg-sets.conf6
4 files changed, 0 insertions, 121 deletions
diff --git a/x11-base/xorg-server/files/99-synaptics-overrides.conf b/x11-base/xorg-server/files/99-synaptics-overrides.conf
deleted file mode 100644
index ee2a3ebd..00000000
--- a/x11-base/xorg-server/files/99-synaptics-overrides.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-# Enable clicks using touchpad (https://bugs.redcorelinux.org/show_bug.cgi?id=48)
-
-Section "InputClass"
- Identifier "touchpad overrides"
- MatchDriver "synaptics"
- Option "TapButton1" "1"
- Option "VertEdgeScroll" "1"
- Option "RBCornerButton" "3"
-EndSection
diff --git a/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch b/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch
deleted file mode 100644
index 57c7349d..00000000
--- a/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -u13 -r xorg-server-1.12.3-old/hw/xfree86/loader/loadmod.c xorg-server-1.12.3/hw/xfree86/loader/loadmod.c
---- xorg-server-1.12.3-old/hw/xfree86/loader/loadmod.c 2012-09-05 18:26:42.000000000 +0200
-+++ xorg-server-1.12.3/hw/xfree86/loader/loadmod.c 2012-09-05 18:28:54.000000000 +0200
-@@ -1109,39 +1109,38 @@
- static void
- RemoveChild(ModuleDescPtr child)
- {
- ModuleDescPtr mdp;
- ModuleDescPtr prevsib;
- ModuleDescPtr parent;
-
- if (!child->parent)
- return;
-
- parent = child->parent;
- if (parent->child == child) {
- parent->child = child->sib;
-- return;
-- }
--
-- prevsib = parent->child;
-- mdp = prevsib->sib;
-- while (mdp && mdp != child) {
-- prevsib = mdp;
-- mdp = mdp->sib;
-+ }
-+ else {
-+ prevsib = parent->child;
-+ mdp = prevsib->sib;
-+ while (mdp && mdp != child) {
-+ prevsib = mdp;
-+ mdp = mdp->sib;
-+ }
-+ if (mdp == child)
-+ prevsib->sib = child->sib;
- }
-- if (mdp == child)
-- prevsib->sib = child->sib;
- child->sib = NULL;
-- return;
- }
-
- void
- LoaderErrorMsg(const char *name, const char *modname, int errmaj, int errmin)
- {
- const char *msg;
- MessageType type = X_ERROR;
-
- switch (errmaj) {
- case LDR_NOERROR:
- msg = "no error";
- break;
- case LDR_NOMEM:
diff --git a/x11-base/xorg-server/files/xorg-server-1.18-support-multiple-Files-sections.patch b/x11-base/xorg-server/files/xorg-server-1.18-support-multiple-Files-sections.patch
deleted file mode 100644
index 0a611456..00000000
--- a/x11-base/xorg-server/files/xorg-server-1.18-support-multiple-Files-sections.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-See http://lists.x.org/archives/xorg-devel/2015-February/045755.html
-
-diff --git a/hw/xfree86/parser/Files.c b/hw/xfree86/parser/Files.c
-index 849bf92..5cc3ec7 100644
---- a/hw/xfree86/parser/Files.c
-+++ b/hw/xfree86/parser/Files.c
-@@ -76,14 +76,18 @@ static xf86ConfigSymTabRec FilesTab[] = {
- #define CLEANUP xf86freeFiles
-
- XF86ConfFilesPtr
--xf86parseFilesSection(void)
-+xf86parseFilesSection(XF86ConfFilesPtr ptr)
- {
- int i, j;
- int k, l;
- char *str;
- int token;
-
-- parsePrologue(XF86ConfFilesPtr, XF86ConfFilesRec)
-+ if (!ptr) {
-+ if( (ptr=calloc(1,sizeof(XF86ConfFilesRec))) == NULL ) {
-+ return NULL;
-+ }
-+ }
-
- while ((token = xf86getToken(FilesTab)) != ENDSECTION) {
- switch (token) {
-diff --git a/hw/xfree86/parser/configProcs.h b/hw/xfree86/parser/configProcs.h
-index 171f8e8..e8199fe 100644
---- a/hw/xfree86/parser/configProcs.h
-+++ b/hw/xfree86/parser/configProcs.h
-@@ -36,7 +36,7 @@ void xf86freeDeviceList(XF86ConfDevicePtr ptr);
- int xf86validateDevice(XF86ConfigPtr p);
-
- /* Files.c */
--XF86ConfFilesPtr xf86parseFilesSection(void);
-+XF86ConfFilesPtr xf86parseFilesSection(XF86ConfFilesPtr ptr);
- void xf86printFileSection(FILE * cf, XF86ConfFilesPtr ptr);
- void xf86freeFiles(XF86ConfFilesPtr p);
-
-diff --git a/hw/xfree86/parser/read.c b/hw/xfree86/parser/read.c
-index 327c02a..e0d6139 100644
---- a/hw/xfree86/parser/read.c
-+++ b/hw/xfree86/parser/read.c
-@@ -110,7 +110,7 @@ xf86readConfigFile(void)
- if (xf86nameCompare(xf86_lex_val.str, "files") == 0) {
- free(xf86_lex_val.str);
- xf86_lex_val.str = NULL;
-- HANDLE_RETURN(conf_files, xf86parseFilesSection());
-+ HANDLE_RETURN(conf_files, xf86parseFilesSection(ptr->conf_files));
- }
- else if (xf86nameCompare(xf86_lex_val.str, "serverflags") == 0) {
- free(xf86_lex_val.str);
diff --git a/x11-base/xorg-server/files/xorg-sets.conf b/x11-base/xorg-server/files/xorg-sets.conf
deleted file mode 100644
index 5cd8112f..00000000
--- a/x11-base/xorg-server/files/xorg-sets.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# Rebuild all X11 modules (mostly useful after xorg-server ABI change).
-[x11-module-rebuild]
-class = portage.sets.dbapi.VariableSet
-world-candidate = false
-variable = CATEGORY
-includes = x11-drivers