FreeBSD Bugzilla – Attachment 6834 Details for
Bug 15211
CFLAGS and CC not settable and one warning in siglist.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.95 KB, created by
james
on 1999-12-01 18:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
james
Created:
1999-12-01 18:20:01 UTC
Size:
2.95 KB
patch
obsolete
>diff -urN socket.bak/patches/patch-aa socket/patches/patch-aa >--- socket.bak/patches/patch-aa Sat Aug 24 12:37:47 1996 >+++ socket/patches/patch-aa Tue Nov 30 20:35:42 1999 >@@ -1,15 +1,3 @@ >---- Makefile.orig Thu Sep 10 16:59:31 1992 >-+++ Makefile Wed Aug 14 16:57:57 1996 >-@@ -43,7 +43,8 @@ >- ### CDC 4680 EP/IX: (I know it *has* setsid(2), but not with bsd43) >- # SWITCHES = -systype bsd43 -DNOSETSID >- >-- >-+# FreeBSD 2.x (4.4BSD) >-+SWITCHES=-DHAVE_SYS_PARAM_H -Wall >- >- ### It should not be necessary to change anything below this line. >- ################################################################## > --- README.orig Wed Sep 9 16:45:16 1992 > +++ README Wed Aug 14 16:57:58 1996 > @@ -166,4 +166,4 @@ >@@ -61,35 +49,6 @@ > { > fd_set readfds ; > int fdset_width ; >---- siglist.c.orig Sun Aug 30 15:50:48 1992 >-+++ siglist.c Wed Aug 14 16:57:58 1996 >-@@ -32,12 +32,18 @@ >- # endif /* !_NSIG */ >- #endif /* !NSIG */ >- >--char *sys_siglist[NSIG]; >-+#if HAVE_SYS_PARAM_H >-+# include <sys/param.h> >-+#endif >- >-+#if !(defined(BSD) && (BSD >=199306)) >-+char *sys_siglist[NSIG]; >-+#endif >- extern *malloc (); >- >--initialize_siglist () >-+void initialize_siglist () >- { >-+#if !(defined(BSD) && (BSD >=199306)) >- register int i; >- >- for (i = 0; i < NSIG; i++) >-@@ -219,4 +225,5 @@ >- sprintf (sys_siglist[i], "Unknown Signal #%d", i); >- } >- } >-+#endif /* !(defined(BSD) && (BSD >=199306)) */ >- } > --- socket.1.orig Wed Sep 9 16:38:19 1992 > +++ socket.1 Wed Aug 14 16:57:58 1996 > @@ -158,4 +158,4 @@ >@@ -216,3 +175,59 @@ > { > int i ; > #ifdef SIG_SETMASK /* only with BSD signals */ >+--- Makefile.orig Thu Sep 10 06:59:31 1992 >++++ Makefile Tue Nov 30 20:30:50 1999 >+@@ -13,9 +13,11 @@ >+ INSTALLBINMODE = 755 >+ INSTALLMANPATH = $(INSTALLBASE)/man >+ INSTALLMANMODE = 444 >++.ifndef CC >+ CC = cc >+-CFLAGS = $(SWITCHES) -O >+-LDFLAGS = $(SWITCHES) -s >++.endif >++CFLAGS += $(SWITCHES) >++LDFLAGS += $(SWITCHES) -s >+ >+ ### You may need to uncomment some lines below for your operating >+ ### system: >+@@ -43,7 +45,8 @@ >+ ### CDC 4680 EP/IX: (I know it *has* setsid(2), but not with bsd43) >+ # SWITCHES = -systype bsd43 -DNOSETSID >+ >+- >++# FreeBSD 2.x (4.4BSD) >++SWITCHES=-DHAVE_SYS_PARAM_H -Wall >+ >+ ### It should not be necessary to change anything below this line. >+ ################################################################## >+--- siglist.c.orig Sun Aug 30 05:50:48 1992 >++++ siglist.c Tue Nov 30 20:34:02 1999 >+@@ -32,12 +32,18 @@ >+ # endif /* !_NSIG */ >+ #endif /* !NSIG */ >+ >+-char *sys_siglist[NSIG]; >++#if HAVE_SYS_PARAM_H >++# include <sys/param.h> >++#endif >+ >+-extern *malloc (); >++#if !(defined(BSD) && (BSD >=199306)) >++char *sys_siglist[NSIG]; >++#endif >++extern void*malloc (); >+ >+-initialize_siglist () >++void initialize_siglist () >+ { >++#if !(defined(BSD) && (BSD >=199306)) >+ register int i; >+ >+ for (i = 0; i < NSIG; i++) >+@@ -219,4 +225,5 @@ >+ sprintf (sys_siglist[i], "Unknown Signal #%d", i); >+ } >+ } >++#endif /* !(defined(BSD) && (BSD >=199306)) */ >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15211
: 6834