[neon/mobile/plasma-camera/Neon/stable] debian/patches: adapt to lack of c++11 stuffs

Carlos De Maine null at kde.org
Sun Oct 19 07:39:08 BST 2025


Git commit be6f0749b048d139b679bb079252fb5327d62054 by Carlos De Maine.
Committed on 19/10/2025 at 06:39.
Pushed by carlosdem into branch 'Neon/stable'.

adapt to lack of c++11 stuffs

M  +4    -3    debian/patches/exiv2.diff

https://invent.kde.org/neon/mobile/plasma-camera/-/commit/be6f0749b048d139b679bb079252fb5327d62054

diff --git a/debian/patches/exiv2.diff b/debian/patches/exiv2.diff
index a5b922e..5e854d2 100644
--- a/debian/patches/exiv2.diff
+++ b/debian/patches/exiv2.diff
@@ -1,13 +1,14 @@
 diff --git a/src/plasmacameramanager.cpp b/src/plasmacameramanager.cpp
-index 29e651a..8869c7b 100644
+index 29e651a..90fdf68 100644
 --- a/src/plasmacameramanager.cpp
 +++ b/src/plasmacameramanager.cpp
-@@ -554,7 +554,7 @@ QString getExifOffsetFormat(int offsetSeconds)
+@@ -554,8 +554,8 @@ QString getExifOffsetFormat(int offsetSeconds)
  void PlasmaCameraManager::writeExifData(const QString &fileName)
  {
      try {
 -        Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(fileName.toStdString());
+-        if (!image) {
 +        Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fileName.toStdString());
-         if (!image) {
++        if (image.get() == nullptr) {
              return;
          }


More information about the Neon-commits mailing list