Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos
Commits
a4a66e30
Commit
a4a66e30
authored
Aug 04, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch to build w3m with new gcc
parent
276a7091
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
component/w3m/buildout.cfg
component/w3m/buildout.cfg
+1
-1
component/w3m/w3m.gcc.forward.compat.patch
component/w3m/w3m.gcc.forward.compat.patch
+17
-0
No files found.
component/w3m/buildout.cfg
View file @
a4a66e30
...
...
@@ -31,7 +31,7 @@ patch-options =
-p1
patches =
${:_profile_base_location_}/w3m.gcc.forward.compat.patch#
75422a6f7f671b3a6d9add6724cc0945
${:_profile_base_location_}/w3m.gcc.forward.compat.patch#
2dba0c0bc5118ccfe49a56d93b8d7847
environment =
PATH=${pkgconfig:location}/bin:%(PATH)s
...
...
component/w3m/w3m.gcc.forward.compat.patch
View file @
a4a66e30
...
...
@@ -60,3 +60,20 @@ index a220d8b..6d9736d 100644
char type;
char iseos;
int (*read) ();
diff --git a/main.c b/main.c
index b421943..865c744 100644
--- a/main.c
+++ b/main.c
@@ -833,7 +833,12 @@
main(int argc, char **argv, char **envp)
mySignal(SIGPIPE, SigPipe);
#endif
+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
+ orig_GC_warn_proc = GC_get_warn_proc();
+ GC_set_warn_proc(wrap_GC_warn_proc);
+#else
orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+#endif
err_msg = Strnew();
if (load_argc == 0) {
/* no URL specified */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment