pkgsrc/archivers/gcpio/patches/patch-ak
seb 1182b083ac Security fix for http://secunia.com/advisories/18251/ (CVE-2005-4268)
adapted from patch attached in redhat bugzilla
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172669

While here add test target support.

Bump PKGREVISION to 2.
2006-02-12 01:44:28 +00:00

22 lines
713 B
Text

$NetBSD: patch-ak,v 1.2 2006/02/12 01:44:28 seb Exp $
--- src/extern.h.orig 2004-09-08 12:49:57.000000000 +0200
+++ src/extern.h
@@ -46,7 +46,7 @@ extern int no_chown_flag;
extern int sparse_flag;
extern int quiet_flag;
extern int only_verify_crc_flag;
-extern int no_abs_paths_flag;
+extern int abs_paths_flag;
extern unsigned int warn_option;
/* Values for warn_option */
@@ -112,7 +112,7 @@ void long_format P_((struct new_cpio_hea
void print_name_with_quoting P_((char *p));
/* copyout.c */
-void write_out_header P_((struct new_cpio_header *file_hdr, int out_des));
+int write_out_header P_((struct new_cpio_header *file_hdr, int out_des));
void process_copy_out P_((void));
/* copypass.c */