FreeBSD Bugzilla – Attachment 25517 Details for
Bug 43609
C++ compilation fixes for net/pxe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
pxe-patch.txt
pxe-patch.txt (text/plain; charset=us-ascii), 1.29 KB, created by
Craig Rodrigues
on 2002-10-03 21:19:03 UTC
(
hide
)
Description:
pxe-patch.txt
Filename:
MIME Type:
Creator:
Craig Rodrigues
Created:
2002-10-03 21:19:03 UTC
Size:
1.29 KB
patch
obsolete
>diff -urN /home/rodrigc/ports/pxe/Makefile pxe/Makefile >--- /home/rodrigc/ports/pxe/Makefile Sun Apr 7 17:35:45 2002 >+++ pxe/Makefile Thu Oct 3 15:02:47 2002 >@@ -6,7 +6,7 @@ > # > > PORTNAME= pxe >-PORTVERSION= 1.2 >+PORTVERSION= 1.3 > CATEGORIES= net > MASTER_SITES= http://www.kano.org.uk/projects/pxe/ \ > ftp://ftp.nuug.no/pub/anders/distfiles/ >diff -urN /home/rodrigc/ports/pxe/distinfo pxe/distinfo >--- /home/rodrigc/ports/pxe/distinfo Sun Apr 7 17:35:45 2002 >+++ pxe/distinfo Thu Oct 3 15:03:15 2002 >@@ -1 +1 @@ >-MD5 (pxe-1.2.tar.gz) = c7a9573e986ef62900a7b90b740bfe0b >+MD5 (pxe-1.3.tar.gz) = 3866c86ddada2bd4a4a01bb8b79cc951 >diff -urN /home/rodrigc/ports/pxe/files/patch-logfile.cc pxe/files/patch-logfile.cc >--- /home/rodrigc/ports/pxe/files/patch-logfile.cc Wed Dec 31 19:00:00 1969 >+++ pxe/files/patch-logfile.cc Wed Oct 2 22:42:28 2002 >@@ -0,0 +1,17 @@ >+--- logfile.cc.orig Wed Oct 2 22:41:50 2002 >++++ logfile.cc Wed Oct 2 22:42:09 2002 >+@@ -58,12 +58,13 @@ >+ { >+ /* open the file */ >+ umask(077); >+- logfile = new std::fstream(filename, std::ios::out|std::ios::app, 0644); >++ logfile = new std::fstream(filename, std::ios::out|std::ios::app); >+ if(logfile == NULL) >+ { >+ std::cerr << "Error: LogFile::Open:open(): " << strerror(errno) <<"\n"; >+ exit(-1); >+ } >++ chmod(filename, 0644); >+ } >+ >+
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 Raw
Actions:
View
Attachments on
bug 43609
:
25516
| 25517