]> git.pld-linux.org Git - packages/acm.git/blame - acm-general.patch
- BR: nas-devel
[packages/acm.git] / acm-general.patch
CommitLineData
434f135f 1--- acm-5.0/V/lib/Vlib.h.tim Wed Jul 7 14:53:45 1999
2+++ acm-5.0/V/lib/Vlib.h Wed Jul 7 14:54:08 1999
3@@ -316,9 +316,6 @@
4 extern Status AlibAllocColor(Viewport *v, Colormap colormap, XColor *c);
5
6
7-#ifndef SYSV
8- extern char *strdup(const char *);
9-#endif
10
11 #if (defined(_AIX) && defined(_IBMR2)) && !(defined(__GNUC__) \
12 && (__GNUC__ == 2 ))
13--- acm-5.0/V/lib/InitAWin.c.tim Wed Jul 7 14:53:52 1999
14+++ acm-5.0/V/lib/InitAWin.c Wed Jul 7 14:54:01 1999
d909bf56 15@@ -6,7 +6,6 @@
434f135f 16
17 #include <X11/Xlib.h>
18
19-extern char *malloc(size_t);
434f135f 20
21 #ifdef HAS_FRAME_BUFFER
22 void
23--- acm-5.0/src/init.c.tim Wed Jul 7 14:53:28 1999
24+++ acm-5.0/src/init.c Wed Jul 7 14:54:18 1999
25@@ -70,14 +70,14 @@
26 char libname[256];
27
28 if ((f = fopen(name, access)) == (FILE *) NULL) {
29- strcpy(libname, "../objects/");
30+ strcpy(libname, "/usr/lib/games/acm/");
31 strcat(libname, name);
32 if ((f = fopen(libname, access)) == (FILE *) NULL) {
33 strcpy(libname, _acm_fopen_library_dir);
34 strcat(libname, name);
35 if ((f = fopen(libname, access)) == (FILE *) NULL) {
36 strcpy (libname, SRCDIR);
37- strcat (libname, "/../objects/");
38+ strcat (libname, "/usr/lib/games/acm/");
39 strcat (libname, name);
40 if ((f = fopen(libname, access)) == (FILE *) NULL) {
41 fprintf(stderr, errmsg, name, _acm_fopen_library_dir, libname);
42@@ -102,7 +102,7 @@
43
44 strcpy(pname, name);
45 if (stat(name, &statbuf) != 0) {
46- strcpy(pname, "../objects/");
47+ strcpy(pname, "/usr/lib/games/acm/");
48 strcat(pname, name);
49 if (stat(pname, &statbuf) != 0) {
50 strcpy(pname, _acm_fopen_library_dir);
d909bf56
JB
51--- acm-5.0/dis/sdbm/sdbm.c.orig Tue May 12 05:59:05 1998
52+++ acm-5.0/dis/sdbm/sdbm.c Mon Jul 7 13:36:17 2003
53@@ -52,13 +52,6 @@
54 /*
55 * externals
56 */
57-#ifndef sun
58-extern int errno;
59-#endif
60-
61-extern char *malloc proto((unsigned int));
62-extern void free proto((void *));
63-extern long lseek();
64
65 /*
66 * forward
67--- acm-5.0/dis/sdbm/util.c.orig Tue Sep 26 19:02:06 1995
68+++ acm-5.0/dis/sdbm/util.c Mon Jul 7 13:38:25 2003
69@@ -1,3 +1,4 @@
70+#include <errno.h>
71 #include <stdio.h>
72 #ifdef SDBM
73 #include "sdbm.h"
74@@ -10,8 +11,7 @@
75 register char *s1;
76 register char *s2;
77 {
78- extern int errno, sys_nerr;
79- extern char *sys_errlist[];
80+ extern int sys_nerr;
81 extern char *progname;
82
83 if (progname)
This page took 0.084715 seconds and 4 git commands to generate.