Skip to content

Commit 868859b

Browse files
committed
AIX patch from Darren King.
1 parent 9939e55 commit 868859b

File tree

5 files changed

+17
-22
lines changed

5 files changed

+17
-22
lines changed

src/backend/port/univel/port.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,6 @@ getrusage(int who, struct rusage * rusage)
7070
return (0);
7171
}
7272

73-
/*
74-
* Copyright (c) 1987 Regents of the University of California.
75-
* All rights reserved.
76-
*
77-
* Redistribution and use in source and binary forms are permitted
78-
* provided that this notice is preserved and that due credit is given
79-
* to the University of California at Berkeley. The name of the University
80-
* may not be used to endorse or promote products derived from this
81-
* software without specific written prior permission. This software
82-
* is provided ``as is'' without express or implied warranty.
83-
*/
84-
85-
#if defined(LIBC_SCCS) && !defined(lint)
86-
static char sccsid[] = "@(#)strcasecmp.c 5.5 (Berkeley) 11/24/87";
87-
88-
#endif /* LIBC_SCCS and not lint */
89-
9073
#include <sys/types.h>
9174
#include <string.h>
9275

src/makefiles/Makefile.aix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ $(POSTGRES_IMP):
1717
%$(EXPSUFF):
1818
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
1919

20-
%.so: %.o %$(EXPSUFF)
20+
%$(DLSUFFIX): %.o %$(EXPSUFF)
2121
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
22-
$(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
23-
#41+ $(LD) -H512 -bnoentry -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
24-
#325 $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
22+
$(LD) -H512 -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)

src/template/.similar

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ i586-pc-linux-gnu=linux-elf
1313
i686-pc-linux-gnu=linux-elf
1414
sparc-unknown-linux-gnu=linux-elf
1515
alpha-unknown-linux-gnu=linuxalpha
16+
powerpc-ibm-aix3.2.5=aix_325
17+
powerpc-ibm-aix4.1.4.0=aix_41
18+
powerpc-ibm-aix4.1.5.0=aix_41

src/template/aix_325

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
AROPT:crs
2+
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
3+
SHARED_LIB:-e _nostart -lc
4+
ALL:
5+
SRCH_INC:
6+
SRCH_LIB:
7+
USE_LOCALE:no
8+
DLSUFFIX:.so
9+
YFLAGS:-d
10+
YACC:
11+
CC:xlc

src/template/aix-cc renamed to src/template/aix_41

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AROPT:crs
22
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
3-
SHARED_LIB:
3+
SHARED_LIB:-bnoentry -lc
44
ALL:
55
SRCH_INC:
66
SRCH_LIB:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy