freebsd-ports/net/pchar/files/patch-Pctest.h
William Grzybowski 1dd955e03e - Fix build with clang and warnings [1]
- Use PLIST_FILES instead of pkg-plist
- NOPORTDOCS -> PORT_OPTIONS:MDOCS

PR:		ports/178350 [1]
Submitted by:	nork [1]
Approved by:	culot / jpaetzel (mentors, implicit)
2013-06-08 13:01:16 +00:00

11 lines
452 B
C

--- Pctest.h.orig 2005-02-13 05:32:18.000000000 +0900
+++ Pctest.h 2013-05-06 00:39:43.413338781 +0900
@@ -86,7 +86,7 @@
virtual char *GetPrintableAddress() = 0;
virtual char *GetPrintableAddress(void *a) = 0;
virtual char *GetName(void *a) = 0;
- virtual char *GetAddressFamilyString() = 0;
+ virtual const char *GetAddressFamilyString() = 0;
virtual int GetAddressFamily() = 0;
// Get input and output sockets needed