Переглянути джерело

port to FreeBSD 5.0; upgrade to PLUS class

Ralf S. Engelschall 23 роки тому
батько
коміт
775e58690b
2 змінених файлів з 23 додано та 14 видалено
  1. 21 12
      libtasn1/libtasn1.patch
  2. 2 2
      libtasn1/libtasn1.spec

+ 21 - 12
libtasn1/libtasn1.patch

@@ -1,30 +1,39 @@
---- src/asn1Coding.c.orig	Tue Jun 11 10:59:04 2002
-+++ src/asn1Coding.c	Thu Jul 18 10:23:52 2002
-@@ -27,6 +27,7 @@
+--- src/asn1Coding.c.orig	Mon Oct  7 21:40:56 2002
++++ src/asn1Coding.c	Wed Jan 15 11:38:36 2003
+@@ -27,8 +27,9 @@
  
  #include <stdio.h>
  #include <string.h>
 +#include <unistd.h>
  #include <libtasn1.h>
- #include <malloc.h>
+-#include <malloc.h>
++#include <stdlib.h>
  #include <config.h>
---- src/asn1Decoding.c.orig	Tue Jun 11 10:59:04 2002
-+++ src/asn1Decoding.c	Thu Jul 18 10:23:57 2002
-@@ -27,6 +27,7 @@
+ 
+ #ifdef HAVE_GETOPT_H
+--- src/asn1Decoding.c.orig	Mon Oct  7 21:41:20 2002
++++ src/asn1Decoding.c	Wed Jan 15 11:38:46 2003
+@@ -27,8 +27,9 @@
  
  #include <stdio.h>
  #include <string.h>
 +#include <unistd.h>
  #include <libtasn1.h>
- #include <malloc.h>
+-#include <malloc.h>
++#include <stdlib.h>
  #include <config.h>
---- src/asn1Parser.c.orig	Tue Jun 11 10:59:04 2002
-+++ src/asn1Parser.c	Thu Jul 18 10:24:03 2002
-@@ -27,6 +27,7 @@
+ 
+ #ifdef HAVE_GETOPT_H
+--- src/asn1Parser.c.orig	Mon Oct  7 21:41:44 2002
++++ src/asn1Parser.c	Wed Jan 15 11:38:52 2003
+@@ -27,8 +27,9 @@
  
  #include <stdio.h>
  #include <string.h>
 +#include <unistd.h>
  #include <libtasn1.h>
- #include <malloc.h>
+-#include <malloc.h>
++#include <stdlib.h>
  #include <config.h>
+ 
+ #ifdef HAVE_GETOPT_H

+ 2 - 2
libtasn1/libtasn1.spec

@@ -29,11 +29,11 @@ Summary:      ASN.1 Encoding/Decoding Library
 URL:          ftp://gnutls.hellug.gr/pub/gnutls/libtasn1/
 Vendor:       Fabio Fiorina
 Packager:     The OpenPKG Project
-Distribution: OpenPKG [EVAL]
+Distribution: OpenPKG [PLUS]
 Group:        Converter
 License:      LGPL
 Version:      0.1.2
-Release:      20021011
+Release:      20030115
 
 #   list of sources
 Source0:      ftp://gnutls.hellug.gr/pub/gnutls/libtasn1/libtasn1-%{version}.tar.gz