Browse Source

w3m: rebuild with openssl-1.1.1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11843 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 6 years ago
parent
commit
5702a33200
1 changed files with 16 additions and 8 deletions
  1. 16 8
      w/w3m/w3m-vl.spec

+ 16 - 8
w/w3m/w3m-vl.spec

@@ -9,7 +9,7 @@ Summary: A Pager with WWW capability
 Summary(ja): World Wide Web に対応したページャ
 Name: w3m
 Version: 0.5.3
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 
 License: BSD
 Group: Applications/Internet
@@ -92,15 +92,19 @@ w3m-img は X 環境のターミナルエミュレータ上の w3m でインラ
 find Bonus -type f | \
     xargs sed -i -e "s|/usr/local/bin/ruby|/usr/bin/ruby|g;"
 
+# http://www.linuxfromscratch.org/blfs/view/svn/basicnet/w3m.html
+# Allows building against openssl-1.1
+sed -i '/USE_EGD/s/define/undef/' config.h.in
+
 %build
 %configure \
-	--enable-japanese=E \
-	--with-termlib=ncurses \
-	--enable-image=x11 \
-	--with-imagelib=gtk2 \
-	--with-browser=gnome-open \
-	--with-mailer=gnome-open \
-	--with-editor=%{_sysbindir}/vi
+  --enable-japanese=E \
+  --with-termlib=ncurses \
+  --enable-image=x11 \
+  --with-imagelib=gtk2 \
+  --with-browser=gnome-open \
+  --with-mailer=gnome-open \
+  --with-editor=%{_sysbindir}/vi
 sed -i -e 's|#define USE_GPM 1|/* #undef USE_GPM */|' config.h
 sed -i -e 's|\-lgpm||g' Makefile
 sed -i -e 's|\-ldl|\-ldl \-lX11|g' Makefile
@@ -174,6 +178,10 @@ fi
 %{_libexecdir}/w3m/w3mimgdisplay
 
 %changelog
+* Mon Nov 05 2018 Toshiaki Ara <ara_t@384.jp> 0.5.3-5
+- rebuild with openssl-1.1.1
+- Allows building against openssl-1.1
+
 * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.3-4
 - rebuild with openssl-1.0.2