diff options
Diffstat (limited to 'packaging/libxslt-1.1.24-no-net-autobuild.patch')
-rw-r--r-- | packaging/libxslt-1.1.24-no-net-autobuild.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/libxslt-1.1.24-no-net-autobuild.patch b/packaging/libxslt-1.1.24-no-net-autobuild.patch new file mode 100644 index 00000000..a6643843 --- /dev/null +++ b/packaging/libxslt-1.1.24-no-net-autobuild.patch @@ -0,0 +1,11 @@ +--- xsltproc/xsltproc.c ++++ xsltproc/xsltproc.c +@@ -544,7 +544,7 @@ + + sec = xsltNewSecurityPrefs(); + xsltSetDefaultSecurityPrefs(sec); +- defaultEntityLoader = xmlGetExternalEntityLoader(); ++ defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader(); + xmlSetExternalEntityLoader(xsltprocExternalEntityLoader); + + for (i = 1; i < argc; i++) { |