Michael van Elst 23 лет назад
Родитель
Сommit
af83e67a90
2 измененных файлов с 17 добавлено и 1 удалено
  1. 14 0
      w3m/w3m-ssl.patch
  2. 3 1
      w3m/w3m.spec

+ 14 - 0
w3m/w3m-ssl.patch

@@ -0,0 +1,14 @@
+--- istream.c.dist	Thu Jan  2 16:51:14 2003
++++ istream.c	Thu Jan  2 16:44:43 2003
+@@ -443,7 +443,11 @@
+ 		}
+ 	    }
+ 	    method = X509V3_EXT_get(ex);
++#if OPENSSL_VERSION_NUMBER >= 0x00907000L
++       if (method->it) ASN1_item_free(alt, ASN1_ITEM_ptr(method->it));
++	    else
++#endif
+ 	    method->ext_free(alt);
+ 	    if (i < n)		/* Found a match */
+ 		match_ident = TRUE;
+ 	    else if (seen_dnsname)

+ 3 - 1
w3m/w3m.spec

@@ -33,10 +33,11 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      BSD
 Version:      0.3.2.2
-Release:      20021205
+Release:      20030102
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/sourceforge/w3m/w3m-%{version}.tar.gz
+Patch0:       w3m-ssl.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -57,6 +58,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch0 -p0
 
 %build
     ( echo "# Configuration at `hostname`"