Skip to content

Commit

Permalink
sagemathgh-38522: build/pkgs/libpng: Update to 1.6.43
Browse files Browse the repository at this point in the history
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Rebased and updated from sagemath#30564. Fixes sagemath#30564

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#38522
Reported by: Matthias Köppe
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed Aug 26, 2024
2 parents 6e6299c + e692479 commit f770fe2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 3 additions & 2 deletions build/pkgs/libpng/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tarball=libpng-VERSION.tar.gz
sha1=012c842e6454dc38c6390623ed31ec4005c00584
sha256=e30bf36cd5882e017c23a5c6a79a9aa1a744dd5841bb45ff7035ec6e3b3096b8
sha1=eb7ed4d6d4646542fb4b4a0a3f53f7b419cf4965
sha256=e804e465d4b109b5ad285a8fb71f0dd3f74f0068f91ce3cdfde618180c174925
upstream_url=https://download.sourceforge.net/libpng/libpng-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/libpng/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.29.p1
1.6.43
7 changes: 1 addition & 6 deletions build/pkgs/libpng/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
# libpng needs to have no default options set for grep
unset GREP_OPTIONS

export CFLAGS="$CFLAGS -fPIC -g"

# Pick up Sage's zlib:
export CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"

cd src

sdh_configure --enable-shared=yes
sdh_configure --enable-shared --disable-static
sdh_make
sdh_make_install

0 comments on commit f770fe2

Please sign in to comment.