git: c4f42b2ef348 - main - devel/py-p4python: Unbreak build, update maintainership

From: Craig Leres <leres_at_FreeBSD.org>
Date: Sat, 01 Apr 2023 20:52:42 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c4f42b2ef348785f423e4be99ce959ef4fd9e7ba

commit c4f42b2ef348785f423e4be99ce959ef4fd9e7ba
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-04-01 20:52:16 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-04-01 20:52:16 +0000

    devel/py-p4python: Unbreak build, update maintainership
    
    Add patch to fix build after recent devel/p4api update. Also, the
    new maintainer says an update to 2022.1 is in progress.
    
    Welcome (again), new port maintainer!
    
    PR:             270583
---
 devel/py-p4python/Makefile                      |  4 ++--
 devel/py-p4python/files/patch-P4PythonDebug.cpp | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/devel/py-p4python/Makefile b/devel/py-p4python/Makefile
index 65fa6c8af96c..73f0f3160f54 100644
--- a/devel/py-p4python/Makefile
+++ b/devel/py-p4python/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	p4python
 PORTVERSION=	2016.1.1447008
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	antonfb@hesiod.org
 COMMENT=	Python bindings for the Perforce API
 WWW=		https://www.perforce.com/perforce/r14.2/manuals/p4script/python.programming.html
 
diff --git a/devel/py-p4python/files/patch-P4PythonDebug.cpp b/devel/py-p4python/files/patch-P4PythonDebug.cpp
new file mode 100644
index 000000000000..9509bb0aaa24
--- /dev/null
+++ b/devel/py-p4python/files/patch-P4PythonDebug.cpp
@@ -0,0 +1,10 @@
+--- P4PythonDebug.cpp.orig	2023-04-01 20:37:16 UTC
++++ P4PythonDebug.cpp
+@@ -29,6 +29,7 @@ $Id$
+ #include <Python.h>
+ #include <iostream>
+ 
++#include <stdhdrs.h>
+ #include <debug.h>
+ 
+ #include "P4PythonDebug.h"