fix for no javascript compile failure. Reported upstream with the patch that Az...
authorSeemant Kulleen <seemant@gentoo.org>
Mon, 29 Aug 2005 12:57:41 +0000 (12:57 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Mon, 29 Aug 2005 12:57:41 +0000 (12:57 +0000)
Package-Manager: portage-2.0.51.22-r2

www-client/links/ChangeLog
www-client/links/Manifest
www-client/links/files/links-2.1pre18-no-javascript-fix.patch [new file with mode: 0644]
www-client/links/links-2.1_pre18.ebuild

index 774209f504436a1769621ea92c5952dd48d7ff66..a2ab72731dad26f9f50af1f4dbd043156e473e9c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for www-client/links
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.28 2005/08/28 22:14:40 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.29 2005/08/29 12:57:41 seemant Exp $
+
+  29 Aug 2005; Seemant Kulleen <seemant@gentoo.org>
+  +files/links-2.1pre18-no-javascript-fix.patch, links-2.1_pre18.ebuild:
+  fix for no javascript compile failure. Reported upstream with the patch that
+  Az made in files/
 
 *links-2.1_pre18 (28 Aug 2005)
 
index 6339308271896ba14479d1076a5b798c2485a626..5e694a4cab36c3b5767b91b3d32722301622e9ca 100644 (file)
@@ -1,8 +1,9 @@
 MD5 23210c68197b9588f90f4f89cefa2ded links-2.1_pre15.ebuild 3164
-MD5 dd6e87b411cc10196c74e589c75e2af7 links-2.1_pre17-r1.ebuild 3508
-MD5 71d79b63a93508407e6e69748fe4be5f links-2.1_pre18.ebuild 3738
-MD5 329691a4bd3f436dc4cdf04da458aa8f ChangeLog 14862
 MD5 82cf55f144e0f9e258fd08a572852147 metadata.xml 498
-MD5 f2c353a99f6cbaaa4af971adf5c95c0d files/digest-links-2.1_pre17-r1 139
+MD5 6fd39c51659340df9256ff6dcc92514e links-2.1_pre18.ebuild 3795
+MD5 2b3cad48a0c13021290194369f884089 ChangeLog 15084
+MD5 dd6e87b411cc10196c74e589c75e2af7 links-2.1_pre17-r1.ebuild 3508
 MD5 9573f2a9cbff0c7dc9b33b4efe22971c files/digest-links-2.1_pre15 139
+MD5 f2c353a99f6cbaaa4af971adf5c95c0d files/digest-links-2.1_pre17-r1 139
 MD5 4ecf3369d346051658758f76dbd89eb5 files/digest-links-2.1_pre18 139
+MD5 5b8b5b21da5582f7c332b2a2d6afafcd files/links-2.1pre18-no-javascript-fix.patch 575
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 (file)
index 0000000..29586a8
--- /dev/null
@@ -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
index a2fcc6016d190d890ed747b56e1c18b988278728..bfb4a4fc1ce971f93c139dd1544da857ddf530b2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.1_pre18.ebuild,v 1.1 2005/08/28 22:14:40 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.1_pre18.ebuild,v 1.2 2005/08/29 12:57:41 seemant Exp $
 
 inherit eutils toolchain-funcs
 
@@ -70,6 +70,8 @@ src_unpack (){
                export LANG=C
                cd ${S}/intl && ./gen-intl && cd .. || die "gen-intl filed"
        fi
+
+       epatch ${FILESDIR}/links-2.1pre18-no-javascript-fix.patch
 }
 
 src_compile (){