]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- updated to 0.12pre6
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Jun 2013 14:17:11 +0000 (16:17 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Jun 2013 14:17:11 +0000 (16:17 +0200)
- added gc patch (fixes build with CONFIG_GC and recent gcc)
- verbose build by default

elinks-gc.patch [new file with mode: 0644]
elinks.spec

diff --git a/elinks-gc.patch b/elinks-gc.patch
new file mode 100644 (file)
index 0000000..af8ae82
--- /dev/null
@@ -0,0 +1,14 @@
+--- elinks-0.12pre6/src/intl/charsets.c.orig   2012-10-28 13:57:15.000000000 +0100
++++ elinks-0.12pre6/src/intl/charsets.c        2013-06-11 16:11:08.090820909 +0200
+@@ -819,7 +819,11 @@
+       /* Cast away const.  */
+       for (i = 128; i < 256; i++)
++#ifdef CONFIG_GC
++              mem_free(utf_table[i].u.str);
++#else
+               mem_free((unsigned char *) utf_table[i].u.str);
++#endif
+ }
+ static struct conv_table *
index 1c371c8e2ded9052c3a1852c13ad15d432a98c1a..ea4540a22a89328c2554608f2f2cbf0e04b4b11f 100644 (file)
@@ -5,9 +5,9 @@
 %bcond_with    lzma            # Enable lzma support
 %bcond_with    python          # Enable Python scripting support
 %bcond_with    ruby            # Enable (experimental) Ruby scripting support
-%bcond_with    smb             # Enable smb protocol support (smb requires libsmbclient)
-#The latest libsmbclient is GPLv3, while ELinks is GPL v2 only.
-%bcond_with    verbose         # verbose build (V=1)
+%bcond_with    smb             # Enable smb protocol support (requires libsmbclient)
+#                              # Note: the latest libsmbclient is GPLv3, while ELinks is GPL v2 only.
+%bcond_without verbose         # verbose build (V=1)
 %bcond_with    x               # Use the X Window System
 %bcond_without 256             # Disable 256 colors support
 %bcond_without bittorrent      # Disable BitTorrent support
@@ -27,8 +27,8 @@
 %undefine      with_openssl
 %endif
 
-%define                subver  pre5
-%define                rel             7
+%define                subver  pre6
+%define                rel     1
 Summary:       Experimantal Links (text WWW browser)
 Summary(es.UTF-8):     El links es un browser para modo texto, similar a lynx
 Summary(pl.UTF-8):     Eksperymentalny Links (tekstowa przeglÄ…darka WWW)
@@ -40,7 +40,7 @@ Epoch:                1
 License:       GPL v2
 Group:         Applications/Networking
 Source0:       http://www.elinks.cz/download/%{name}-%{version}%{subver}.tar.bz2
-# Source0-md5: 92790144290131ac5e63b44548b45e08
+# Source0-md5: 3d0962f4b65fb039342fefd3ada050a9
 Source1:       %{name}.desktop
 Source2:       links.png
 Patch0:                %{name}-home_etc.patch
@@ -50,6 +50,7 @@ Patch3:               %{name}-fbterm.patch
 Patch4:                %{name}-old_incremental.patch
 Patch5:                %{name}-0.10.0-0.9.3-typeahead-beginning.patch
 Patch6:                %{name}-double-esc.patch
+Patch7:                %{name}-gc.patch
 URL:           http://www.elinks.cz/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
@@ -63,6 +64,7 @@ BuildRequires:        gpm-devel
 %{?with_guile:BuildRequires: guile-devel}
 #BuildRequires:        heimdal-devel
 %{?with_js:BuildRequires:      js-devel >= 1.5-0.rc6a.1}
+%{?with_js:BuildRequires:      js-devel < 2:1.8.5}
 %{?with_idn:BuildRequires:     libidn-devel}
 %{?with_smb:BuildRequires:     libsmbclient-devel}
 %{?with_lua:BuildRequires:     lua50-devel}
@@ -110,6 +112,7 @@ keepalive.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch7 -p1
 %if %{with olderisbetter}
 %patch4 -p1
 %patch5 -p1
This page took 0.028213 seconds and 4 git commands to generate.