mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Tar: fix gcc2 build.
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
From 5601acb5afe236cc83a2577a5fb36ef478944bab Mon Sep 17 00:00:00 2001
|
||||
From 25395e3fa0b01a898b6e6ae456c8eef3c66849f1 Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Schleifer <js@webkeks.org>
|
||||
Date: Thu, 20 Mar 2014 14:52:58 +0100
|
||||
Subject: [PATCH] Patches from tar-1.26
|
||||
Subject: Patches from tar-1.26
|
||||
|
||||
---
|
||||
src/common.h | 2 ++
|
||||
src/extract.c | 41 +++++++++++++++++++++++++++++++++++++++++
|
||||
src/tar.c | 7 +++++++
|
||||
3 files changed, 50 insertions(+)
|
||||
|
||||
diff --git a/src/common.h b/src/common.h
|
||||
index 42fd539..633ca19 100644
|
||||
@@ -121,5 +116,32 @@ index 4f5017d..2dd5200 100644
|
||||
owner_option = -1; owner_name_option = NULL;
|
||||
group_option = -1; group_name_option = NULL;
|
||||
--
|
||||
Jonathan
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 6f729d50ba6ca87c6cd33d87462884d90d4504c0 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Fri, 28 Mar 2014 21:44:58 +0100
|
||||
Subject: gcc2 build fix.
|
||||
|
||||
|
||||
diff --git a/lib/wordsplit.h b/lib/wordsplit.h
|
||||
index b48e3cd..d286ffb 100644
|
||||
--- a/lib/wordsplit.h
|
||||
+++ b/lib/wordsplit.h
|
||||
@@ -33,10 +33,8 @@ struct wordsplit
|
||||
const char *ws_comment;
|
||||
const char *ws_escape;
|
||||
void (*ws_alloc_die) (struct wordsplit * wsp);
|
||||
- void (*ws_error) (const char *, ...)
|
||||
- __attribute__ ((__format__ (__printf__, 1, 2)));
|
||||
- void (*ws_debug) (const char *, ...)
|
||||
- __attribute__ ((__format__ (__printf__, 1, 2)));
|
||||
+ void (*ws_error) (const char *, ...);
|
||||
+ void (*ws_debug) (const char *, ...);
|
||||
|
||||
const char **ws_env;
|
||||
const char *(*ws_getvar) (const char *, size_t, void *);
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user