bring back openssh-5.5p1-x11.patch
This commit is contained in:
		
							parent
							
								
									5fcfcac428
								
							
						
					
					
						commit
						86f29c353e
					
				| @ -28,16 +28,13 @@ diff -up openssh-5.3p1/channels.c.bz595935 openssh-5.3p1/channels.c | ||||
|  	return -1; | ||||
|  } | ||||
|   | ||||
| @@ -3207,8 +3210,21 @@ static int
 | ||||
| @@ -3207,8 +3210,18 @@ static int
 | ||||
|  connect_local_xsocket(u_int dnr) | ||||
|  { | ||||
|  	char buf[1024]; | ||||
| -	snprintf(buf, sizeof buf, _PATH_UNIX_X, dnr);
 | ||||
| -	return connect_local_xsocket_path(buf);
 | ||||
| +	int len;
 | ||||
| +#ifdef linux
 | ||||
| +	int ret;
 | ||||
| +#endif
 | ||||
| +	int len, ret;
 | ||||
| +	len = snprintf(buf + 1, sizeof (buf) - 1, _PATH_UNIX_X, dnr);
 | ||||
| +#ifdef linux
 | ||||
| +	/* try abstract socket first */
 | ||||
|  | ||||
| @ -139,7 +139,7 @@ Patch607: openssh-5.8p2-sigpipe.patch | ||||
| #? | ||||
| Patch608: openssh-6.1p1-askpass-ld.patch | ||||
| #https://bugzilla.mindrot.org/show_bug.cgi?id=1789 | ||||
| # drop? Patch609: openssh-5.5p1-x11.patch | ||||
| Patch609: openssh-5.5p1-x11.patch | ||||
| 
 | ||||
| #? | ||||
| Patch700: openssh-6.3p1-fips.patch | ||||
| @ -373,7 +373,7 @@ popd | ||||
| %patch606 -p1 -b .ipv6man | ||||
| %patch607 -p1 -b .sigpipe | ||||
| %patch608 -p1 -b .askpass-ld | ||||
| # drop? %patch609 -p1 -b .x11 | ||||
| %patch609 -p1 -b .x11 | ||||
| #  | ||||
| # move to the end %patch700 -p1 -b .fips | ||||
| # drop? %patch701 -p1 -b .exit-deadlock | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user