Title: Fix build with newer compilers on FreeBSD by rhurlin · Pull Request #125 · python-postgres/fe · GitHub
Open Graph Title: Fix build with newer compilers on FreeBSD by rhurlin · Pull Request #125 · python-postgres/fe
X Title: Fix build with newer compilers on FreeBSD by rhurlin · Pull Request #125 · python-postgres/fe
Description: On FreeBSD current the installation process of databases/py-postgresql is broken [1]. optimized.cpython-39.so is not built most likely because due to compiler errors: In file included from postgresql/port/_optimized/module.c:43: postgresql/port/_optimized/buffer.c:590:2: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion] NULL, /* tp_print */ ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' ^~~~~~~~~~~ The same happens with postgresql/port/_optimized/wirestate.c:251:2 and is reported on FreeBSD's Bugzilla [2]. The patch tries to solve the problem by setting the value of NULL to 0 for the argument tp_print. This seems to work as expected, hopefully without regressions. [1] https://portsfallout.com/fallout?port=databases/py-postgresql&maintainer=&env=main-amd64-default&category=&flavor= [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271165
Open Graph Description: On FreeBSD current the installation process of databases/py-postgresql is broken [1]. optimized.cpython-39.so is not built most likely because due to compiler errors: In file included from post...
X Description: On FreeBSD current the installation process of databases/py-postgresql is broken [1]. optimized.cpython-39.so is not built most likely because due to compiler errors: In file included from post...
Opengraph URL: https://github.com/python-postgres/fe/pull/125
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5a80159d-8412-44a2-7371-0fca582adbd6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5B8:3EC04:65637:7F3C5:697F7FAE |
| html-safe-nonce | 9a2abd8e54dadd312e7d3544b1d2a7b802edeaa245487a0e9971b8825430c1ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUI4OjNFQzA0OjY1NjM3OjdGM0M1OjY5N0Y3RkFFIiwidmlzaXRvcl9pZCI6Ijg3Mjg1NTQzMzI1MzU4ODE2NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ede41f3215b1761449a4914e938a3fea55617ea56802ce22e00719086e2ea7ae |
| hovercard-subject-tag | pull_request:1333767183 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-postgres/fe/pull/125/files |
| twitter:image | https://avatars.githubusercontent.com/u/11045499?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11045499?s=400&v=4 |
| og:image:alt | On FreeBSD current the installation process of databases/py-postgresql is broken [1]. optimized.cpython-39.so is not built most likely because due to compiler errors: In file included from post... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-postgres/fe git https://github.com/python-postgres/fe.git |
| octolytics-dimension-user_id | 2132548 |
| octolytics-dimension-user_login | python-postgres |
| octolytics-dimension-repository_id | 100230 |
| octolytics-dimension-repository_nwo | python-postgres/fe |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 100230 |
| octolytics-dimension-repository_network_root_nwo | python-postgres/fe |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width