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

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

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

OPTIONS_AVAILABLE=	none
OPTIONS_STANDARD=	none

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

DISTNAME=		php-8.2.28/ext/{{PHP_MODNAME}}
EXTRACT_HEAD[1]=	env LANG=en_US.UTF-8 {{TAR}} -xf
EXTRACT_TAIL[1]=	php-8.2.28/ext/{{PHP_MODNAME}}

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

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

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


[FILE:96:distinfo]
af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91     12147756 php-8.2.28.tar.xz


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