ports/52116: [patch] print/cpp2latex s/getopt/unistd/ (bento)
Volker Stolz
stolz at i2.informatik.rwth-aachen.de
Mon May 12 13:40:08 UTC 2003
>Number: 52116
>Category: ports
>Synopsis: [patch] print/cpp2latex s/getopt/unistd/ (bento)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 12 06:40:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #4: Tue Apr 29 11:28:13 CEST 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386
>Description:
print/cpp2latex looks for the getopt function in getopt.h instead of unistd.h
>How-To-Repeat:
>Fix:
- Add patch file to correct this oversight
--- patch-cpp2latex-main.cpp begins here ---
--- cpp2latex/main.cpp.orig Mon May 12 15:22:24 2003
+++ cpp2latex/main.cpp Mon May 12 15:22:34 2003
@@ -25,7 +25,7 @@
#include <fstream>
#include <vector>
#include <stdio.h>
-#include <getopt.h>
+#include <unistd.h>
struct replace{
std::string voraus;
--- patch-cpp2latex-main.cpp ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list