mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
From d6ee6e73f4d5db9e15580bfa746a0e885bbd9218 Mon Sep 17 00:00:00 2001
|
|
From: Chris Roberts <cpr420@gmail.com>
|
|
Date: Sun, 24 Nov 2013 19:28:57 -0700
|
|
Subject: Updates for newer autotools and misc fixes
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 5161979..cb0524a 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -3,7 +3,7 @@ AC_INIT([LHa for UNIX], 1.14i-ac20050924p1, arai@users.sourceforge.jp, lha)
|
|
AC_CANONICAL_HOST
|
|
AC_CANONICAL_TARGET
|
|
AM_INIT_AUTOMAKE
|
|
-AM_CONFIG_HEADER(config.h)
|
|
+AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_DEFINE_UNQUOTED(PLATFORM, "$ac_cv_host",
|
|
[the type of system on which the package will run.])
|
|
@@ -14,7 +14,6 @@ AC_PROG_GCC_TRADITIONAL
|
|
AC_PROG_INSTALL
|
|
AC_PROG_MAKE_SET
|
|
AC_MINIX
|
|
-AM_C_PROTOTYPES
|
|
AC_SYS_LARGEFILE
|
|
|
|
# Checks for libraries.
|
|
diff --git a/src/prototypes.h b/src/prototypes.h
|
|
index 79e1330..cd456eb 100644
|
|
--- a/src/prototypes.h
|
|
+++ b/src/prototypes.h
|
|
@@ -70,10 +70,10 @@ void temporary_to_new_archive_file P_((size_t new_archive_size));
|
|
void cmd_add P_((void));
|
|
void cmd_delete P_((void));
|
|
/* lharc.c */
|
|
-void message P_((char *fmt, ...));
|
|
-void warning P_((char *fmt, ...));
|
|
-void error P_((char *fmt, ...));
|
|
-void fatal_error P_((char *fmt, ...));
|
|
+//void message P_((char *fmt, ...));
|
|
+//void warning P_((char *fmt, ...));
|
|
+//void error P_((char *fmt, ...));
|
|
+//void fatal_error P_((char *fmt, ...));
|
|
void cleanup P_((void));
|
|
RETSIGTYPE interrupt P_((int signo));
|
|
void *xmalloc P_((size_t size));
|
|
@@ -122,7 +122,7 @@ unsigned int decode P_((struct interfacing *interface));
|
|
size_t copyfile P_((FILE *f1, FILE *f2, size_t size, int text_flg, unsigned int *crcp));
|
|
int encode_stored_crc P_((FILE *ifp, FILE *ofp, size_t size, size_t *original_size_var, size_t *write_size_var));
|
|
boolean archive_is_msdos_sfx1 P_((char *name));
|
|
-int xsnprintf P_((char *dest, size_t size, char *fmt, ...));
|
|
+//int xsnprintf P_((char *dest, size_t size, char *fmt, ...));
|
|
char *xstrchr P_((const char *s, int c));
|
|
char *xstrrchr P_((const char *s, int c));
|
|
char *xmemchr P_((const char *s, int c, size_t n));
|
|
--
|
|
1.8.3.4
|
|
|