summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorFlorian Franzmann2022-03-06 16:18:56 +0100
committerFlorian Franzmann2022-03-06 16:19:41 +0100
commit4cb0f40b1759bd68b8fe8884f1e42a6471cc6a36 (patch)
tree4ca5d9a2411fc0142a6d0d76352a8b1d1b9d2b29 /graphics
parent3e06a17a84ebc72f5daeebfdf8e72610c7cc9b28 (diff)
graphics/lensfun: version 0.3.3
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lensfun/0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch41
-rwxr-xr-xgraphics/lensfun/DETAILS7
-rw-r--r--graphics/lensfun/HISTORY4
-rwxr-xr-xgraphics/lensfun/PRE_BUILD5
4 files changed, 7 insertions, 50 deletions
diff --git a/graphics/lensfun/0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch b/graphics/lensfun/0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch
deleted file mode 100644
index 968b6008d8..0000000000
--- a/graphics/lensfun/0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 3226f7589f476b291e8baad2fcf3593db6f14cf9 Mon Sep 17 00:00:00 2001
-From: Sebastian Kraft <mail@sebastiankraft.net>
-Date: Sat, 22 Jul 2017 19:34:34 +0200
-Subject: [PATCH] Add a virtual destructor to lfCallbackData to avoid memory
- leak in derived classes
-
----
- include/lensfun/lensfun.h.in | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/include/lensfun/lensfun.h.in b/include/lensfun/lensfun.h.in
-index ee9cf41..ec87b3c 100644
---- a/include/lensfun/lensfun.h.in
-+++ b/include/lensfun/lensfun.h.in
-@@ -1909,18 +1909,22 @@ typedef void (*lfModifyColorFunc) (void *data, float x, float y,
- typedef void (*lfModifyCoordFunc) (void *data, float *iocoord, int count);
-
- // @cond
--
-+#ifdef __cplusplus
-+
- /// Common ancestor for lfCoordCallbackData and lfColorCallbackData
- struct lfCallbackData
- {
- int priority;
- void *data;
- size_t data_size;
-+
-+ virtual ~lfCallbackData() {};
- };
-
- // A test point in the autoscale algorithm
- typedef struct { float angle, dist; } lfPoint;
-
-+#endif
- // @endcond
-
- /**
---
-2.13.3
-
diff --git a/graphics/lensfun/DETAILS b/graphics/lensfun/DETAILS
index 8f50081bfa..5efc54136a 100755
--- a/graphics/lensfun/DETAILS
+++ b/graphics/lensfun/DETAILS
@@ -10,12 +10,11 @@ if [[ $LENSFUN_BRANCH == scm ]]; then
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-scm
else
- VERSION=0.3.2
- PATCHLEVEL=1
- SOURCE_HASH=sha512:9c6f546fa70e6dc692e66ef378447345be6d3383812934780d326d772d775c1918cbf3447cd91c067655044cf659025763bf47ba2d938a82a3c2de4d60127446
+ VERSION=0.3.3
+ SOURCE_HASH=sha512:2d913e3d121ac069f4cb7acb3f09c9cf11c5d0069e743500631bd4b6007a1b19ebccf871a4ac8cfc2797a03066f8a678ea9d70feba0f7d6a05c28cef61f7d9cf
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://downloads.sourceforge.net/project/${SPELL}/${VERSION}/${SOURCE}
+ SOURCE_URL[0]=https://github.com/lensfun/lensfun/archive/refs/tags/v${VERSION}.tar.gz
fi
WEB_SITE=https://github.com/lensfun/lensfun
LICENSE[0]=GPL
diff --git a/graphics/lensfun/HISTORY b/graphics/lensfun/HISTORY
index 4ee822fbd0..6aab467552 100644
--- a/graphics/lensfun/HISTORY
+++ b/graphics/lensfun/HISTORY
@@ -1,3 +1,7 @@
+2022-03-06 Florian Franzmann <bwlf@bandrate.org>
+ * DETAILS: version 0.3.3
+ * PRE_BUILD, 0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch: removed
+
2020-01-05 Florian Franzmann <bwlf@bandrate.org>
* DETAILS: fix WEB_SITE
diff --git a/graphics/lensfun/PRE_BUILD b/graphics/lensfun/PRE_BUILD
deleted file mode 100755
index f10c859af1..0000000000
--- a/graphics/lensfun/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-default_pre_build &&
-cd "${SOURCE_DIRECTORY}" &&
-
-patch -p1 < "${SPELL_DIRECTORY}/0001-Add-a-virtual-destructor-to-lfCallbackData-to-avoid-.patch"
-