Skip to content

Commit 6c18862

Browse files
committed
fixes
1 parent 6c109c5 commit 6c18862

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
return (new PhpCsFixer\Config())
66
->setRiskyAllowed(true)
7+
->setUnsupportedPhpVersionAllowed(true)
78
->setRules([
89
'@PSR12' => true,
910
'@Symfony' => true,

config/lib.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,16 +497,14 @@
497497
"static-libs-windows": [
498498
"libssh2.lib"
499499
],
500+
"provide-pre-built": true,
500501
"headers": [
501502
"libssh2.h",
502503
"libssh2_publickey.h",
503504
"libssh2_sftp.h"
504505
],
505506
"lib-depends": [
506507
"openssl"
507-
],
508-
"lib-suggests": [
509-
"zlib"
510508
]
511509
},
512510
"libtiff": {

config/source.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@
625625
"type": "filelist",
626626
"url": "https://download.osgeo.org/libtiff/",
627627
"regex": "/href=\"(?<file>tiff-(?<version>[^\"]+)\\.tar\\.xz)\"/",
628-
"provide-pre-built": true,
629628
"license": {
630629
"type": "file",
631630
"path": "LICENSE.md"

src/SPC/builder/unix/library/jbig.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@ trait jbig
1515
*/
1616
public function patchBeforeBuild(): bool
1717
{
18-
// Patch Makefile to add -fPIC flag for position-independent code
1918
FileSystem::replaceFileStr($this->source_dir . '/Makefile', 'CFLAGS = -O2 -W -Wno-unused-result', 'CFLAGS = -O2 -W -Wno-unused-result -fPIC');
19+
return true;
2020
}
2121

2222
/**
2323
* @throws RuntimeException
2424
*/
2525
protected function build(): void
2626
{
27-
// Build the library
2827
shell()->cd($this->source_dir)->initializeEnv($this)
2928
->exec("make -j{$this->builder->concurrency} {$this->builder->getEnvString()} lib")
3029
->exec('cp libjbig/libjbig.a ' . BUILD_LIB_PATH)

0 commit comments

Comments
 (0)