summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-08-29 12:57:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-08-29 12:57:41 +0000
commit1c6fc062cc2ead4c5a609077667bd8ed267633f4 (patch)
tree1f0bb44f7be1227c54f62c96e93edb6b94f71934 /www-client/links/files
parentversion bump; Added inheritance of eutils for mysql-5.0.* ; Replaced shell fr... (diff)
downloadhistorical-1c6fc062cc2ead4c5a609077667bd8ed267633f4.tar.gz
historical-1c6fc062cc2ead4c5a609077667bd8ed267633f4.tar.bz2
historical-1c6fc062cc2ead4c5a609077667bd8ed267633f4.zip
fix for no javascript compile failure. Reported upstream with the patch that Az made in files/
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'www-client/links/files')
-rw-r--r--www-client/links/files/links-2.1pre18-no-javascript-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/www-client/links/files/links-2.1pre18-no-javascript-fix.patch b/www-client/links/files/links-2.1pre18-no-javascript-fix.patch
new file mode 100644
index 000000000000..29586a8b753b
--- /dev/null
+++ b/www-client/links/files/links-2.1pre18-no-javascript-fix.patch
@@ -0,0 +1,18 @@
+--- links-2.1pre18/view.c 2005-08-29 13:53:49.000000000 +0200
++++ links-2.1pre18.az/view.c 2005-08-29 13:57:07.000000000 +0200
+@@ -2972,6 +2972,7 @@
+ return 0;
+ }
+
++#ifdef JS
+ if (!event_catchable(ev) || !fd->f_data || !fd->vs) goto dont_catch;
+ if (fd->vs->current_link >= 0 && fd->vs->current_link < fd->f_data->nlinks) {
+ struct link *l = &fd->f_data->links[fd->vs->current_link];
+@@ -2993,6 +2994,7 @@
+ if (!(call_keyboard_event(fd, fd->f_data->js_event->keypress_code, ev))) return 1;
+ }
+ dont_catch:
++#endif
+
+ if (!F) r = frame_ev(ses, fd, ev);
+ #ifdef G