diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-11-03 11:08:12 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-11-03 11:08:12 +0000 |
commit | 08882f6b5f70eee50ab61c9dd90ae11553f50039 (patch) | |
tree | 09ddcba91f677f5406089ee21aca80b0ef40c598 /x11/XFree86-4-libraries | |
parent | 1070a9f5d26d781a759ff00b7a7f33d3609fb030 (diff) | |
download | ports-08882f6b5f70eee50ab61c9dd90ae11553f50039.tar.gz ports-08882f6b5f70eee50ab61c9dd90ae11553f50039.zip |
Notes
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r-- | x11/XFree86-4-libraries/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-config_cf_Server_tmpl | 11 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-j | 11 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-k | 41 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-l | 25 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-t02 | 50 |
6 files changed, 139 insertions, 1 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile index 67e5288cc244..c156d1bf582b 100644 --- a/x11/XFree86-4-libraries/Makefile +++ b/x11/XFree86-4-libraries/Makefile @@ -7,7 +7,7 @@ PORTNAME= libraries PORTVERSION= 4.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} MASTER_SITE_SUBDIR= ${PORTVERSION} diff --git a/x11/XFree86-4-libraries/files/patch-config_cf_Server_tmpl b/x11/XFree86-4-libraries/files/patch-config_cf_Server_tmpl new file mode 100644 index 000000000000..dde9241e3eda --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-config_cf_Server_tmpl @@ -0,0 +1,11 @@ +--- config/cf/Server.tmpl.orig Fri Feb 18 08:23:07 2000 ++++ config/cf/Server.tmpl Sat Oct 28 10:09:07 2000 +@@ -41,7 +41,7 @@ + #ifndef SetUIDServerTarget + #if InstallServerSetUID + #define SetUIDServerTarget(server,subdirs,objects,libs,syslibs) @@\ +-ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTUIDFLAGS)) ++ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTBINFLAGS)) + #else + #define SetUIDServerTarget ServerTarget + #endif diff --git a/x11/XFree86-4-libraries/files/patch-j b/x11/XFree86-4-libraries/files/patch-j new file mode 100644 index 000000000000..cc9ac2f98fdb --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-j @@ -0,0 +1,11 @@ +--- programs/xdm/config/xdm-conf.cpp.orig Wed Sep 6 17:05:53 2000 ++++ programs/xdm/config/xdm-conf.cpp Wed Sep 6 17:06:03 2000 +@@ -5,7 +5,7 @@ + DisplayManager.keyFile: XDMDIR/xdm-keys + DisplayManager.servers: XDMDIR/Xservers + DisplayManager.accessFile: XDMDIR/Xaccess +-DisplayManager.willing: su nobody -c XDMDIR/Xwilling ++DisplayManager.willing: su -fm nobody -c XDMDIR/Xwilling + ! All displays should use authorization, but we cannot be sure + ! X terminals will be configured that way, so by default + ! use authorization only for local displays :0, :1, etc. diff --git a/x11/XFree86-4-libraries/files/patch-k b/x11/XFree86-4-libraries/files/patch-k new file mode 100644 index 000000000000..f620317a3a66 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-k @@ -0,0 +1,41 @@ +*** programs/Xserver/hw/xfree86/input/mouse/mouse.c.orig Sat Jul 1 01:39:02 2000 +--- programs/Xserver/hw/xfree86/input/mouse/mouse.c Fri Sep 22 11:30:18 2000 +*************** +*** 584,591 **** + { 0xc0, 0x00, 0x00, 0x00, 6, 0x00, 0xff, MPF_NONE }, /* NetScroll */ + /* Bus Mouse */ + { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* BusMouse */ +! /* Auto */ +! { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* dummy entry */ + }; + + /* +--- 584,591 ---- + { 0xc0, 0x00, 0x00, 0x00, 6, 0x00, 0xff, MPF_NONE }, /* NetScroll */ + /* Bus Mouse */ + { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* BusMouse */ +! { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* Auto */ +! { 0xf8, 0x80, 0x00, 0x00, 8, 0x00, 0xff, MPF_NONE }, /* SysMouse */ + }; + + /* +*** programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c.orig Sat Feb 12 21:45:41 2000 +--- programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c Fri Sep 22 11:30:18 2000 +*************** +*** 165,171 **** +--- 165,179 ---- + mode.rate = rate > 0 ? rate : -1; + mode.resolution = res > 0 ? res : -1; + mode.accelfactor = -1; ++ #if defined(__FreeBSD__) ++ /* ++ * As the FreeBSD sysmouse driver defaults to protocol level 0 everytime ++ * it is opened we enforce protocol level 1 again at this point. ++ */ ++ mode.level = 1; ++ #else + mode.level = -1; ++ #endif + ioctl(pInfo->fd, MOUSE_SETMODE, &mode); + } + #endif diff --git a/x11/XFree86-4-libraries/files/patch-l b/x11/XFree86-4-libraries/files/patch-l new file mode 100644 index 000000000000..d1839b1b9a9d --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-l @@ -0,0 +1,25 @@ +*** programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue Jun 20 21:38:23 2000 +--- programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue Jul 11 10:00:11 2000 +*************** +*** 1207,1216 **** + (*p_size)++; + (*p_base) = H2B(tag,range.rBegin,type); + +- #ifdef DEBUG + ErrorF("New PCI res %i base: 0x%lx, size: 0x%lx, type %s\n", + res_n,(*p_base),(1 << (*p_size)),type | ResMem ? "Mem" : "Io"); +- #endif + + if (res_n != 0xff) { + pciWriteLong(tag,PCI_CMD_BASE_REG + res_n * sizeof(CARD32), +--- 1207,1214 ---- +*************** +*** 1724,1730 **** + resPtr tmp, avoid = NULL; + + if (!pvp->validate) continue; +- avoid = xf86DupResList(pciAvoidRes); + NonSys = xf86DupResList(Sys); + m = n; + while ((pvp1 = xf86PciVideoInfo[m++])) { +--- 1722,1727 ---- diff --git a/x11/XFree86-4-libraries/files/patch-t02 b/x11/XFree86-4-libraries/files/patch-t02 new file mode 100644 index 000000000000..96ae9c2843a0 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-t02 @@ -0,0 +1,50 @@ +diff -u lib/X11.orig/omGeneric.c lib/X11/omGeneric.c +--- lib/X11.orig/omGeneric.c Tue Feb 29 12:09:04 2000 ++++ lib/X11/omGeneric.c Tue Oct 31 17:01:34 2000 +@@ -1129,6 +1129,7 @@ + if(font_set->vrotate == (VRotate)NULL) + return (-1); + ++ memset(vrotate, 0x00, sizeof(VRotateRec) * sub_num); + for(i = 0 ; i < sub_num ; i++) { + vrotate[i].charset_name = font_set->substitute[i].name; + vrotate[i].side = font_set->substitute[i].side; +diff -u lib/X11.orig/omText.c lib/X11/omText.c +--- lib/X11.orig/omText.c Sun May 9 19:50:42 1999 ++++ lib/X11/omText.c Tue Oct 31 17:01:43 2000 +@@ -196,12 +196,9 @@ + * *always* contain good data. We should probably remove + * the check for "fd->font", but we won't :-) -- jjw/pma (HP) + */ +- if(fd == (FontData) NULL || +- (font = fs->font) == (XFontStruct *) NULL){ +- +- if((font = fd->font) == (XFontStruct *) NULL) +- break; +- } ++ if ((font = fs->font) == (XFontStruct *) NULL) ++ if (fd != (FontData) NULL) font = fd->font; ++ if (font == (XFontStruct *) NULL) break; + + switch(oc->core.orientation) { + case XOMOrientation_LTR_TTB: +diff -u lib/X11.orig/omTextEsc.c lib/X11/omTextEsc.c +--- lib/X11.orig/omTextEsc.c Sun May 9 19:50:42 1999 ++++ lib/X11/omTextEsc.c Tue Oct 31 17:01:49 2000 +@@ -151,12 +151,9 @@ + is_xchar2b, FONTSCOPE); + if(ptr_len <= 0) + break; +- if(fd == (FontData) NULL || +- (font = fd->font) == (XFontStruct *) NULL) { +- +- if((font = font_set->font) == (XFontStruct *) NULL) +- break; +- } ++ if ((font = font_set->font) == (XFontStruct *) NULL) ++ if (fd != (FontData) NULL) font = fd->font; ++ if (font == (XFontStruct *) NULL) break; + + switch(oc->core.orientation) { + case XOMOrientation_LTR_TTB: + |