Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
0d391b9c
Commit
0d391b9c
authored
3 years ago
by
Xiaoding Liu
Committed by
Xin LI
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
net/shadowsocks-libev: fix build error on 14.0-CURRENT
PR: ports/259951
parent
6bdec1b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
net/shadowsocks-libev/files/patch-libcork_src_libcork_posix_env.c
+22
-0
22 additions, 0 deletions
...owsocks-libev/files/patch-libcork_src_libcork_posix_env.c
with
22 additions
and
0 deletions
net/shadowsocks-libev/files/patch-libcork_src_libcork_posix_env.c
0 → 100644
+
22
−
0
View file @
0d391b9c
---
libcork
/
src
/
libcork
/
posix
/
env
.
c
.
orig
2019
-
07
-
24
14
:
01
:
14
UTC
+++
libcork
/
src
/
libcork
/
posix
/
env
.
c
@@
-
194
,
12
+
194
,
19
@@
cork_env_set_vars
(
void
*
user_data
,
struct
cork_hash_ta
*
*
[
1
]
http
:
//www.gnu.org/software/gnulib/manual/html_node/clearenv.html
*/
+
+
#
if
(
defined
(
__FreeBSD__
)
&&
(
__FreeBSD__
<
14
))
+
/* Since FreeBSD 14.0-CURRENT, the clearenv(3) function was added to stdlib.
+ * See https://reviews.freebsd.org/R10:597b02675751e48dd04777f1e91fee382bf3a966
+ */
+
static
void
clearenv
(
void
)
{
*
environ
=
NULL
;
}
+
#
endif
#else
/* Otherwise assume that we have clearenv available. */
#endif
This diff is collapsed.
Click to expand it.
baptiste daroussin
@theonetruebapt
mentioned in commit
18a47d7c
·
3 years ago
mentioned in commit
18a47d7c
mentioned in commit 18a47d7c81c82c753c8f43fe1ab0c2384f0c63d7
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment