Hi!  Here is a patch to use a newer libtasn1 (actually needed to work
with gnutls).  The 500-cross-compile.patch patch is ugly, here is the
entire new file contents:

diff -ur libtasn1-1.1-orig/configure libtasn1-1.1/configure
--- libtasn1-1.1-orig/configure 2007-08-31 17:18:18.000000000 +0200
+++ libtasn1-1.1/configure      2007-09-06 16:39:41.000000000 +0200
@@ -23445,8 +23445,8 @@
 
 
 # For libtasn1-config.
-LIBTASN1_LIBS="-L${libdir} -ltasn1 $LIBS"
-LIBTASN1_CFLAGS="-I${includedir}"
+LIBTASN1_LIBS="-ltasn1 $LIBS"
+LIBTASN1_CFLAGS=""
 
 
 ac_config_commands="$ac_config_commands chmod"

/Simon

Index: Makefile
===================================================================
--- Makefile    (revision 3559)
+++ Makefile    (working copy)
@@ -7,9 +7,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=             libtasn1
-PKG_VERSION:=          0.2.13
+PKG_VERSION:=          1.1
 PKG_RELEASE:=          1
-PKG_MD5SUM:=           d124b11908cfb88883fe71472c25d53a
+PKG_MD5SUM:=           93b43cc5013bda4d8bf64508f1566c54
 MASTER_SITES:=         ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
                        ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \
                        
http://www.mirrors.wiretapped.net/security/network-securitygnutls/libtasn1/ \
Index: patches/500-cross-compile.patch
===================================================================
--- patches/500-cross-compile.patch     (revision 3559)
+++ patches/500-cross-compile.patch     (working copy)
@@ -1,28 +1,14 @@
-diff -ruN libtasn1-0.2.13-orig/configure libtasn1-0.2.13-1/configure
---- libtasn1-0.2.13-orig/configure     2004-12-15 19:40:02.000000000 +0100
-+++ libtasn1-0.2.13-1/configure        2005-03-15 22:35:56.000000000 +0100
-@@ -22448,8 +22448,8 @@
+diff -ur libtasn1-1.1-orig/configure libtasn1-1.1/configure
+--- libtasn1-1.1-orig/configure        2007-08-31 17:18:18.000000000 +0200
++++ libtasn1-1.1/configure     2007-09-06 16:39:41.000000000 +0200
+@@ -23445,8 +23445,8 @@
  
  
- 
+ # For libtasn1-config.
 -LIBTASN1_LIBS="-L${libdir} -ltasn1 $LIBS"
 -LIBTASN1_CFLAGS="-I${includedir}"
 +LIBTASN1_LIBS="-ltasn1 $LIBS"
 +LIBTASN1_CFLAGS=""
  
  
- 
-diff -ruN libtasn1-0.2.13-orig/configure.in libtasn1-0.2.13-1/configure.in
---- libtasn1-0.2.13-orig/configure.in  2004-12-15 19:39:01.000000000 +0100
-+++ libtasn1-0.2.13-1/configure.in     2005-03-15 22:35:46.000000000 +0100
-@@ -85,8 +85,8 @@
- ])
- AM_PROG_LIBTOOL
- 
--LIBTASN1_LIBS="-L${libdir} -ltasn1 $LIBS"
--LIBTASN1_CFLAGS="-I${includedir}"
-+LIBTASN1_LIBS="-ltasn1 $LIBS"
-+LIBTASN1_CFLAGS=""
- 
- AC_SUBST(LIBTASN1_LIBS)
- AC_SUBST(LIBTASN1_CFLAGS)
+ ac_config_commands="$ac_config_commands chmod"
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to