summaryrefslogtreecommitdiff
path: root/Ports/zlib
AgeCommit message (Collapse)Author
2022-10-14Ports/zlib: Update to 1.2.13cflip
2022-06-08Ports: Format patches without numbering, commit hash or version numberTim Schumacher
2022-05-22Ports: Bring all ReadMes in line with their respective patchesTim Schumacher
2022-04-23Ports: Remove Clang -fPIC hack from zlibDaniel Bertalan
Despite the comment, only -fPIE was enabled by default in the Clang toolchain, and not -fPIC. With the LLVM 14 upgrade, we made PIC the default.
2022-03-29Ports: Stop zlib from trying to use the host linkerDaniel Bertalan
Backports an upstream fix for a bug that caused the host compiler to be used for linking even though the cross-compiler was specified in the `CC` environment variable. This didn't cause an issue for SERENITY_ARCH=i686 on Linux hosts, because seeing that the host linker couldn't deal with i686 objects, the configure script fell back to generating only a static library. On x86-64, the host toolchain was able to deal with the object files, but tried to link those to host libraries. On macOS hosts, nothing worked.
2022-03-29Ports: Update zlib to 1.2.12Sebastian Rueth
2021-11-14Ports: Fix building zlib with ClangDaniel Bertalan
Even though Clang generates PIC objects by default, an R_386_PC32 relocation still slips into libz.a if we don't set -fPIC explicitly.
2021-10-05Ports: Make array-like settings actual arraysTim Schumacher
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
2021-07-29Ports: Force cross compiling for zlibJelle Raaijmakers
By setting `--uname=Linux`, we tell `configure` to use the right tools for cross compilation. Without this on e.g. macOS it would try to use XCode's `libtool` which would then fail.
2021-07-29Ports: Use sha256 sig check for zlibJelle Raaijmakers
2021-04-25Ports: Build shared libraries with -Wl,-sonameGunnar Beutner
Without a SONAME gcc will put the whole library path into executables which link against these libraries: $ readelf -d Root/usr/local/games/openttd Dynamic section at offset 0xf0747c contains 32 entries: Tag Type Name/Value 0x00000001 (NEEDED) [libgcc_s.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libpng.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libz.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/liblzma.so] 0x00000001 (NEEDED) [libSDL2-2.0.so.1] 0x00000001 (NEEDED) [libicui18n.so.69] 0x00000001 (NEEDED) [libicuuc.so.69] 0x00000001 (NEEDED) [libicudata.so.69] 0x00000001 (NEEDED) [libpthread.so] 0x00000001 (NEEDED) [libm.so] 0x00000001 (NEEDED) [libc.so] This causes the executable to fail because the dynamic linker tries to find the library in the incorrect path.
2021-04-20Ports: Improve consistency and quality of portsPanagiotis Vasilopoulos
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
2021-04-16Ports: Build shared libraries for a few more portsGunnar Beutner
This manually builds shared libraries for a bunch of ports. Using libtool would be preferable but that's currently broken so I'm linking the shared libraries manually.
2021-01-22Meta: Get building on NixOS (#5005)Jonathan Turner
2020-02-06Ports: Added checksums / signature files and other fixesEmanuel Sprung
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
2020-01-26Ports: Fix zlib buildAndreas Kling
We only support static linking at the moment, and zlib was trying to build itself as a shared library. Fixes #1135.
2019-11-03Ports: Undo POSIX sh compliance changes for nowAndreas Kling
Partial revert of 704f48d7f3a1a88047a64b4e2939878d6d4fafb8. These changes made the ports system unusable.
2019-11-03POSIX compliance: (most) shell scripts converted to generic shellGeorge Pickering
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
2019-10-05Ports: Add zlib portVincent Sanders