diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-30 03:31:54 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:14 -0500 |
commit | 741fcd25a2e52173433b8a7521d63aef3f76fcb1 (patch) | |
tree | 0420b6ee237a2d92e806cbde698cf43ad2d485da | |
parent | 494da2f4d10f495abc7a56539b23d1d6b18d264e (diff) | |
download | packages-741fcd25a2e52173433b8a7521d63aef3f76fcb1.tar.gz packages-741fcd25a2e52173433b8a7521d63aef3f76fcb1.tar.bz2 packages-741fcd25a2e52173433b8a7521d63aef3f76fcb1.tar.xz packages-741fcd25a2e52173433b8a7521d63aef3f76fcb1.zip |
user/mimetic: Patch for newer C++ standard
-rw-r--r-- | user/mimetic/APKBUILD | 10 | ||||
-rw-r--r-- | user/mimetic/nullptr.patch | 11 |
2 files changed, 17 insertions, 4 deletions
diff --git a/user/mimetic/APKBUILD b/user/mimetic/APKBUILD index e4861c278..40ce81de3 100644 --- a/user/mimetic/APKBUILD +++ b/user/mimetic/APKBUILD @@ -2,17 +2,18 @@ # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=mimetic pkgver=0.9.8 -pkgrel=0 +pkgrel=1 pkgdesc="C++ library for processing MIME" -url="http://www.codesink.org/mimetic_mime_library.html" +url="https://www.codesink.org/mimetic_mime_library.html" arch="all" license="MIT" depends="" makedepends="doxygen" subpackages="$pkgname-dev" -source="http://www.codesink.org/download/mimetic-$pkgver.tar.gz +source="https://www.codesink.org/download/mimetic-$pkgver.tar.gz fix-compile.patch signedness.patch + nullptr.patch " prepare() { @@ -41,4 +42,5 @@ package() { sha512sums="4157eecb3e26af314d475c91192a357d6da35271a07a07b037d5037e9af84952ce2636874e86df0e94e8887dcfdb8f594a1ba04e6448181e436b0e2675f48f58 mimetic-0.9.8.tar.gz 26badbaea0e9392080ece1cfda41d16a4fa87850e92edb4120e0a080fcebeeebaf28adb0fc73ba56ecacfc670bc315b2255c9c101471beb09068b1b4c4c8c473 fix-compile.patch -d92c719134064e545e7b63f56bfc6b2898c82766a4540230ac5273b1380ef4546d220d95faa99d7b9c01508650a361b7473ad74c9a79262cb423277ca83a36b2 signedness.patch" +d92c719134064e545e7b63f56bfc6b2898c82766a4540230ac5273b1380ef4546d220d95faa99d7b9c01508650a361b7473ad74c9a79262cb423277ca83a36b2 signedness.patch +716d5b15e4e7734fc63b3bbdb0651fa45f2a89d745084788b4db7cf46a17ba30dc5d1290f8c514089dce12376e51110b8b0850bb3a87e06d024c93145fd2d5fc nullptr.patch" diff --git a/user/mimetic/nullptr.patch b/user/mimetic/nullptr.patch new file mode 100644 index 000000000..340ae37d6 --- /dev/null +++ b/user/mimetic/nullptr.patch @@ -0,0 +1,11 @@ +--- mimetic-0.9.8/mimetic/os/mmfile.cxx.old 2014-06-17 03:12:00.000000000 -0500 ++++ mimetic-0.9.8/mimetic/os/mmfile.cxx 2024-05-30 03:23:16.247921514 -0500 +@@ -57,7 +57,7 @@ + bool MMFile::map() + { + m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0); +- if(m_beg > 0) ++ if(m_beg != nullptr) + { + m_end = m_beg + m_st.st_size; + #if HAVE_MADVISE |