Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
zoo
zoo.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zoo.patch of Package zoo
Index: basename.c =================================================================== --- basename.c.orig 1991-07-11 21:06:24.000000000 +0200 +++ basename.c 2009-11-24 19:46:08.134708000 +0100 @@ -18,7 +18,7 @@ Copyright (C) 1986, 1987 Rahul Dhesi -- /* This function strips device/directory information from a pathname and returns just the plain filename */ -void basename (pathname, fname) +void my_basename (pathname, fname) char *pathname; char fname[]; { Index: makefile =================================================================== --- makefile.orig 1992-07-27 06:01:40.000000000 +0200 +++ makefile 2009-11-24 19:46:08.143710000 +0100 @@ -18,13 +18,13 @@ MAKE = make # needed for some systems e.g. older BSD -CC = cc +CC = gcc CFLAGS = MODEL = EXTRA = -DBIG_MEM -DNDEBUG LINTFLAGS = -DLINT OPTIM = -O -DESTDIR = /usr/local/bin +DESTDIR = /usr/bin #List of all object files created for Zoo ZOOOBJS = addbfcrc.o addfname.o basename.o comment.o crcdefs.o \ @@ -107,10 +107,10 @@ bsdansi: convex: $(MAKE) CFLAGS="-c $(OPTIM) -DBSD4_3 -DANSI_HDRS" $(TARGETS) -# Linux 0.96c, gcc 2.2.2 +# Linux 2.0.0, gcc 2.7.2 linux: $(MAKE) \ - CFLAGS="-c -O2 -DBSD4_3 -DANSI_HDRS -DLINUX" \ + CFLAGS="-c $(OPTIM) -DBSD4_4 -DANSI_HDRS -DLINUX" \ $(TARGETS) # linux as above, static linked Index: options.h =================================================================== --- options.h.orig 1991-07-11 21:07:32.000000000 +0200 +++ options.h 2009-11-24 19:46:08.151711000 +0100 @@ -89,7 +89,7 @@ For documentation about this file, see o /***********************************************************************/ #ifdef BSD4_3 -#define NOSTRCHR /* not really needed for 4.3BSD */ +/* #define NOSTRCHR */ /* not really needed for 4.3BSD */ #define FILTER #define IO_MACROS #define EXISTS(f) (access(f, 00) == 0) Index: various.h =================================================================== --- various.h.orig 1991-07-11 21:07:38.000000000 +0200 +++ various.h 2009-11-24 19:46:08.157708000 +0100 @@ -26,6 +26,7 @@ the predefined type FILE. #ifdef ANSI_HDRS /* if not defined in stdio.h */ # include <string.h> # include <stdlib.h> +# include <time.h> #else FILE *fdopen PARMS ((int, char *)); FILE *fopen PARMS ((char *, char *)); Index: zooadd.c =================================================================== --- zooadd.c.orig 1991-07-11 21:07:56.000000000 +0200 +++ zooadd.c 2009-11-24 19:46:08.172712000 +0100 @@ -132,7 +132,7 @@ if (exists (zoo_path)) { if (zoo_file == NOFILE) prterror ('f', could_not_open, zoo_path); -basename(zoo_path, zoo_fname); /* get basename of archive */ +my_basename(zoo_path, zoo_fname); /* get basename of archive */ rootname (zoo_path, zoo_bak); /* name without extension */ strcat (zoo_bak, BACKUP_EXT); /* name of backup of this archive */ @@ -222,7 +222,7 @@ while (1) { break; } - basename (this_path, this_fname); /* get just filename for later */ + my_basename (this_path, this_fname); /* get just filename for later */ this_file = zooopen(this_path, Z_READ); if (this_file == NOFILE) { Index: zoofns.h =================================================================== --- zoofns.h.orig 1991-07-11 21:08:00.000000000 +0200 +++ zoofns.h 2009-11-24 19:46:08.185709000 +0100 @@ -85,7 +85,7 @@ void addbfcrc PARMS ((char *, int)); void addfname PARMS ((char *, long, unsigned int, unsigned int, unsigned, unsigned)); void add_version PARMS ((char *, struct direntry *)); -void basename PARMS ((char *, char [])); +void my_basename PARMS ((char *, char [])); void break_off PARMS ((void)); void close_file PARMS ((ZOOFILE)); void comment PARMS ((char *, char *));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor