# Buildsheet autogenerated by ravenadm tool -- Do not edit.

NAMEBASE=		php83-dom
VERSION=		8.3.20
KEYWORDS=		lang www php textproc
VARIANTS=		std
SDESC[std]=		PHP 8.3 extension: dom Document Object Model
HOMEPAGE=		https://php.net/
CONTACT=		nobody

DOWNLOAD_GROUPS=	main
SITES[main]=		PHP/distributions
DISTFILE[1]=		php-8.3.20.tar.xz:main
DF_INDEX=		1
SPKGS[std]=		single

OPTIONS_AVAILABLE=	none
OPTIONS_STANDARD=	none

USES=			php:ext,83 pkgconfig cpe
GNOME_COMPONENTS=	libxml2

DISTNAME=		php-8.3.20/ext/{{PHP_MODNAME}}
EXTRACT_HEAD[1]=	{{TAR}} -xf
EXTRACT_TAIL[1]=	php-8.3.20/ext/{{PHP_MODNAME}}

CPE_PRODUCT=		php
CPE_VENDOR=		php
FPC_EQUIVALENT=		textproc/php83-dom

CONFIGURE_ARGS=		--enable-dom
			--with-libxml-dir={{LOCALBASE}}

[FILE:53:descriptions/desc.single]
This package contains the dom extension for PHP 8.3.


[FILE:96:distinfo]
f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c     12549020 php-8.3.20.tar.xz


[FILE:250:patches/patch-ext_dom_document.c]
--- document.c.orig	2023-11-21 14:40:35 UTC
+++ document.c
@@ -27,6 +27,7 @@
 #ifdef LIBXML_SCHEMAS_ENABLED
 #include <libxml/relaxng.h>
 #include <libxml/xmlschemas.h>
+#include <libxml/xmlsave.h>
 #endif
 
 typedef struct _idsIterator idsIterator;