[MDEV-4175] Fix auth_socket to build on OpenBSD / Bitrig Created: 2013-02-15 Updated: 2013-03-08 Resolved: 2013-03-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.29 |
| Fix Version/s: | 5.5.30 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OpenBSD |
||
| Attachments: |
|
| Description |
|
The attached patches for MariaDB 5.5 and newer allow the auth_socket plugin to build on OpenBSD and Bitrig. |
| Comments |
| Comment by Sergei Golubchik [ 2013-02-15 ] |
|
Why did you add #include <my_global.h> into plugin/auth_socket/auth_socket.c ? |
| Comment by Brad Smith [ 2013-02-15 ] |
|
That is where the define is set for ucred vs sockpeercred. |
| Comment by Brad Smith [ 2013-02-15 ] |
|
Added one more patch I missed. |
| Comment by Brad Smith [ 2013-03-07 ] |
|
Any chance of getting this reviewed and into the tree? |
| Comment by Sergei Golubchik [ 2013-03-07 ] |
|
yes |
| Comment by Sergei Golubchik [ 2013-03-07 ] |
|
I'd prefer to avoid changing files outside of the plugin directory. " HAVE_PEERCRED) " HAVE_SOCKPEERCRED) -IF(HAVE_PEERCRED) |