summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-20 18:07:43 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-20 18:07:43 +0000
commitf912e501621ef55d057508f33b553cd01b08012d (patch)
tree4084f12478f38e8b065b998b1fc377cb283157ab
parentf672ac1116d74107ad1927d08ff5f7c4a15ea400 (diff)
downloadpkgsrc-f912e501621ef55d057508f33b553cd01b08012d.tar.gz
Prototypes and implementation should agree on the return values.
-rw-r--r--graphics/fotoxx/distinfo3
-rw-r--r--graphics/fotoxx/patches/patch-f.repair.cc23
2 files changed, 25 insertions, 1 deletions
diff --git a/graphics/fotoxx/distinfo b/graphics/fotoxx/distinfo
index aaccf5e1385..b60518fbebf 100644
--- a/graphics/fotoxx/distinfo
+++ b/graphics/fotoxx/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2013/06/08 13:39:39 ryoon Exp $
+$NetBSD: distinfo,v 1.21 2013/10/20 18:07:43 joerg Exp $
SHA1 (fotoxx-13.06.1.tar.gz) = b437875e0317237fe640b7a9e2623a9a27690eba
RMD160 (fotoxx-13.06.1.tar.gz) = 5a0dfa2700b814a69bfd9b7ea739aa9bb53979a6
Size (fotoxx-13.06.1.tar.gz) = 2236806 bytes
SHA1 (patch-aa) = 9efea30915df6d367b947d0d3271e2bb40a1017c
SHA1 (patch-ac) = 7356613feb0f4044511dfb006d43cd9e4460c278
+SHA1 (patch-f.repair.cc) = 8aa580abcbd08b5aafeed77e2df98c85c75c3a36
diff --git a/graphics/fotoxx/patches/patch-f.repair.cc b/graphics/fotoxx/patches/patch-f.repair.cc
new file mode 100644
index 00000000000..5fc2a931179
--- /dev/null
+++ b/graphics/fotoxx/patches/patch-f.repair.cc
@@ -0,0 +1,23 @@
+$NetBSD: patch-f.repair.cc,v 1.1 2013/10/20 18:07:43 joerg Exp $
+
+--- f.repair.cc.orig 2013-10-18 21:25:06.000000000 +0000
++++ f.repair.cc
+@@ -28,6 +28,8 @@
+ Fotoxx image edit - Repair menu functions
+ ***************************************************************************/
+
++int smart_erase_blur(float radius);
++void smart_erase_func(int mode);
+
+ // image sharpening function
+
+@@ -1557,9 +1559,6 @@ void m_smart_erase(GtkWidget *, const ch
+
+ int smart_erase_dialog_event(zdialog *zd, const char *event) // overhauled
+ {
+- void smart_erase_func(int mode);
+- void smart_erase_blur(float radius);
+-
+ float radius;
+ int cc;
+