mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
r285140 introduced a fdclose(3) function which shadows a net/drawterm function
definition. Shadow the stdio prototype with a macro and undef it after including stdio.h Convert port to the USES framework Regenerate the patch-Make.pthread file using makepatch PR: 201444 Submitted by: winston@ml1.net (maintainer)
This commit is contained in:
parent
7703be8960
commit
5ecc1f35f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392009
3 changed files with 17 additions and 4 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
PORTNAME= drawterm
|
||||
PORTVERSION= 20140106
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://swtch.com/drawterm/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= winston@ml1.net
|
||||
COMMENT= Plan9 cpu client
|
||||
|
@ -13,6 +13,7 @@ COMMENT= Plan9 cpu client
|
|||
# Additionally the Lucent Public License
|
||||
LICENSE= MIT
|
||||
|
||||
USES= tar:tgz
|
||||
USE_XORG= x11 xt
|
||||
|
||||
PLIST_FILES= bin/drawterm
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Make.pthread.orig 2009-08-26 00:44:41.000000000 -0500
|
||||
+++ Make.pthread 2012-02-15 14:04:26.020899861 -0600
|
||||
@@ -4,14 +4,14 @@
|
||||
--- Make.pthread.orig 2009-08-26 05:44:41 UTC
|
||||
+++ Make.pthread
|
||||
@@ -4,14 +4,14 @@ PTHREAD=-pthread -DPTHREAD
|
||||
AR=ar
|
||||
AS=no-as-here
|
||||
RANLIB=ranlib
|
||||
|
|
12
net/drawterm/files/patch-include_unix.h
Normal file
12
net/drawterm/files/patch-include_unix.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- include/unix.h.orig 2015-07-13 22:14:41 UTC
|
||||
+++ include/unix.h
|
||||
@@ -11,7 +11,9 @@
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
||||
|
||||
+#define fdclose sysfdclose
|
||||
#include <stdio.h>
|
||||
+#undef fdclose
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
Loading…
Add table
Reference in a new issue