Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 15:30:19 +0200 (CEST)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52116: [patch] print/cpp2latex s/getopt/unistd/ (bento)
Message-ID:  <200305121330.h4CDUJFK024499@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200305121340.h4CDe6Gn047884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305121330.h4CDUJFK024499>