Mon Oct 1 13:02:24 2012 UTC ()
Update to 12.10

Changelog:
Fotoxx change log
=================

2012.10.01  v.12.10
+ This release focuses on user interface and efficiency improvements.
+ The user manual and F1 help are now available in Castilian Spanish.
+ The search index was revised for greater scalability. Metadata edits
  and related image searching should remain fast beyond 500K images.
  A fresh resync of the search index will be done at first startup.
+ A custom graphic menu in a popup window was implemented. Frequently
  used functions can be added and the layout arranged to taste.
+ RAW files can be opened in Ufraw (menu or thumbnail click).
+ A more precise world map was implemented (new download will be made).
+ Large image files open 30% faster and memory consumption is reduced.
+ The batch RAW converter now has a dialog to configure the parameters.
+ New pan/scroll mode: image sticks to mouse and moves with mouse.
+ Stop unnecessary refreshes of the image gallery for metadata edits.
+ Added support for exotic PNG formats (e.g. palletized) via GTK library.
+ Vignette bugfix: stop radius increase if vignette is moved off-center.

2012.09.01  v.12.09.1
Bugfix: memory management error having uncertain impact.

2012.09.01  v.12.09
+ RAW files can be opened via menu, command line or drag and drop.
+ RAW files can be seen in thumbnail galleries like other image files.
+ RAW file editing tool Ufraw was integrated into the Fotoxx menu.
+ RAW file batch conversion parameters (dcraw) are user configurable.
+ RAW file batch conversion is faster (about 50/minute on a strong PC).
+ A wavelet denoise method was added (adapted from ufraw/dcraw).
+ Deep color PNG files are supported (16 bits/color).
+ Vignette: center of shading/brightening can be moved with the mouse.
+ Images can be copied to the clipboard with a right-click popup menu.
+ Trim: target circle added in the middle of the trim rectangle.
+ World map shows locations of geotagged photos, click to see gallery.
+ User interface simplified for location-based or map-based image search.
+ A tool was added to remove chromatic abberation (color fringes).
+ Select area by mouse and color: small user interface improvement.
+ More dialogs preserve user inputs within and across Fotoxx sessions.
+ New command line option: start up with a specified menu function.
+ Panorama: option for zero image curve (e.g. to combine scanned images).
+ Gallery is updated live if a file add/delete is done outside Fotoxx.
+ Bugfix: click geotag group >> gallery window sometimes did nothing.
+ Bugfix: memory leak when processing metadata (tags, captions ...).

2012.08.20  v.12.08.1
+ New GUI translation for Catalan is available.
+ Bugfix: bad fflush() call in exiftool_server caused fotoxx to crash
  in some distros using newest c-libraries (observed in Mageia alpha).


(ryoon)
diff -r1.27 -r1.28 pkgsrc/graphics/fotoxx/Makefile
diff -r1.12 -r1.13 pkgsrc/graphics/fotoxx/PLIST
diff -r1.15 -r1.16 pkgsrc/graphics/fotoxx/distinfo
diff -r1.10 -r1.11 pkgsrc/graphics/fotoxx/patches/patch-aa
diff -r1.10 -r1.11 pkgsrc/graphics/fotoxx/patches/patch-ab
diff -r1.11 -r1.12 pkgsrc/graphics/fotoxx/patches/patch-ac

cvs diff -r1.27 -r1.28 pkgsrc/graphics/fotoxx/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/Makefile 2012/09/15 10:04:51 1.27
+++ pkgsrc/graphics/fotoxx/Makefile 2012/10/01 13:02:24 1.28
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.27 2012/09/15 10:04:51 obache Exp $ 1# $NetBSD: Makefile,v 1.28 2012/10/01 13:02:24 ryoon Exp $
2# 2#
3 3
4DISTNAME= fotoxx-12.08 4DISTNAME= fotoxx-12.10
5PKGREVISION= 2 
6CATEGORIES= graphics 5CATEGORIES= graphics
7MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/ 6MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.kornelix.com/fotoxx.html 9HOMEPAGE= http://www.kornelix.com/fotoxx.html
11COMMENT= Program for editing image files from a digital camera 10COMMENT= Program for editing image files from a digital camera
12LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
13 12
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils 15DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
17DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool 16DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
 17DEPENDS+= dcraw-[0-9]*:../../graphics/dcraw
18DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw 18DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw
19 19
20USE_LANGUAGES= c++ 20USE_LANGUAGES= c++
21USE_TOOLS+= pkg-config 21USE_TOOLS+= pkg-config
22TOOLS_NOOP+= xdg-desktop-menu 22TOOLS_NOOP+= xdg-desktop-menu
23 23
24BUILD_TARGET= fotoxx 24BUILD_TARGET= fotoxx
25INSTALL_TARGET= install 25INSTALL_TARGET= install
26 26
27.include "../../mk/bsd.prefs.mk" 27.include "../../mk/bsd.prefs.mk"
28 28
29.if exists(/usr/include/execinfo.h) 29.if exists(/usr/include/execinfo.h)
30CXXFLAGS+= -DHAVE_EXECINFO_H 30CXXFLAGS+= -DHAVE_EXECINFO_H

cvs diff -r1.12 -r1.13 pkgsrc/graphics/fotoxx/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/PLIST 2012/08/12 07:20:15 1.12
+++ pkgsrc/graphics/fotoxx/PLIST 2012/10/01 13:02:24 1.13
@@ -1,109 +1,119 @@ @@ -1,109 +1,119 @@
1@comment $NetBSD: PLIST,v 1.12 2012/08/12 07:20:15 ryoon Exp $ 1@comment $NetBSD: PLIST,v 1.13 2012/10/01 13:02:24 ryoon Exp $
2bin/fotoxx 2bin/fotoxx
3man/man1/fotoxx.1 3man/man1/fotoxx.1
4share/applications/kornelix-fotoxx.desktop 4share/applications/kornelix-fotoxx.desktop
5share/doc/fotoxx/KB-shortcuts 5share/doc/fotoxx/KB-shortcuts
6share/doc/fotoxx/README 6share/doc/fotoxx/README
7share/doc/fotoxx/changelog 7share/doc/fotoxx/changelog
8share/doc/fotoxx/copyright 8share/doc/fotoxx/copyright
9share/doc/fotoxx/edit-menus 9share/doc/fotoxx/edit-menus
10share/doc/fotoxx/fotoxx.man 10share/doc/fotoxx/fotoxx.man
11share/doc/fotoxx/images/DRGB.jpg 11share/doc/fotoxx/images/CMYK.jpg
12share/doc/fotoxx/images/HDF-paint.jpg 12share/doc/fotoxx/images/HDF-paint.jpg
13share/doc/fotoxx/images/HDR-adjust.jpg 13share/doc/fotoxx/images/HDR-adjust.jpg
 14share/doc/fotoxx/images/add-geotags.jpg
14share/doc/fotoxx/images/annotate.jpg 15share/doc/fotoxx/images/annotate.jpg
15share/doc/fotoxx/images/auto-trim.jpg 16share/doc/fotoxx/images/auto-trim.jpg
16share/doc/fotoxx/images/batch-add-geotags.jpg 17share/doc/fotoxx/images/batch-add-geotags.jpg
 18share/doc/fotoxx/images/batch-raw-conv.jpg
17share/doc/fotoxx/images/batch-rename.jpg 19share/doc/fotoxx/images/batch-rename.jpg
18share/doc/fotoxx/images/batch-resize-export.jpg 20share/doc/fotoxx/images/batch-resize-export.jpg
19share/doc/fotoxx/images/bright-ramp.jpg 21share/doc/fotoxx/images/bright-ramp.jpg
20share/doc/fotoxx/images/brightness-color.jpg 22share/doc/fotoxx/images/brightness-color.jpg
 23share/doc/fotoxx/images/chromatic.jpg
 24share/doc/fotoxx/images/colorchart.png
21share/doc/fotoxx/images/curve-edit.jpg 25share/doc/fotoxx/images/curve-edit.jpg
 26share/doc/fotoxx/images/denoise.jpg
22share/doc/fotoxx/images/edit-caption-comments.jpg 27share/doc/fotoxx/images/edit-caption-comments.jpg
23share/doc/fotoxx/images/edit-geotags.jpg 
24share/doc/fotoxx/images/edit-pixels.jpg 
25share/doc/fotoxx/images/edit-tags.jpg 28share/doc/fotoxx/images/edit-tags.jpg
26share/doc/fotoxx/images/edit-translation.jpg 29share/doc/fotoxx/images/edit-translation.jpg
27share/doc/fotoxx/images/expand-brightness.jpg 30share/doc/fotoxx/images/expand-brightness.jpg
 31share/doc/fotoxx/images/favorites.jpg
28share/doc/fotoxx/images/flatten.jpg 32share/doc/fotoxx/images/flatten.jpg
29share/doc/fotoxx/images/gallery-selection.jpg 33share/doc/fotoxx/images/gallery-selection.jpg
30share/doc/fotoxx/images/gallery-toolbar.jpg 34share/doc/fotoxx/images/gallery-toolbar.jpg
31share/doc/fotoxx/images/gamma-curve.jpg 35share/doc/fotoxx/images/gamma-curve.jpg
32share/doc/fotoxx/images/gammachart.png 36share/doc/fotoxx/images/gammachart.png
33share/doc/fotoxx/images/geotag-groups.jpg 37share/doc/fotoxx/images/geotag-groups.jpg
34share/doc/fotoxx/images/grid-lines.jpg 38share/doc/fotoxx/images/grid-lines.jpg
35share/doc/fotoxx/images/lens-parameters.jpg 39share/doc/fotoxx/images/keystone.jpg
36share/doc/fotoxx/images/leverage-edits.jpg 40share/doc/fotoxx/images/leverage-edits.jpg
 41share/doc/fotoxx/images/main-toolbar.jpg
37share/doc/fotoxx/images/manage-collections.jpg 42share/doc/fotoxx/images/manage-collections.jpg
38share/doc/fotoxx/images/match-colors.jpg 43share/doc/fotoxx/images/match-colors.jpg
39share/doc/fotoxx/images/navigation.jpg 44share/doc/fotoxx/images/navigation.jpg
40share/doc/fotoxx/images/paint-edits.jpg 45share/doc/fotoxx/images/paint-edits.jpg
 46share/doc/fotoxx/images/paint-pixels.jpg
41share/doc/fotoxx/images/pano-color.jpg 47share/doc/fotoxx/images/pano-color.jpg
42share/doc/fotoxx/images/pano-pre-align.jpg 48share/doc/fotoxx/images/pano-pre-align.jpg
43share/doc/fotoxx/images/print.jpg 49share/doc/fotoxx/images/print.jpg
44share/doc/fotoxx/images/remove-dust.jpg 50share/doc/fotoxx/images/remove-dust.jpg
45share/doc/fotoxx/images/rename.jpeg 51share/doc/fotoxx/images/rename.jpg
46share/doc/fotoxx/images/resize.jpg 52share/doc/fotoxx/images/resize.jpg
47share/doc/fotoxx/images/revise-RGB.jpg 53share/doc/fotoxx/images/revise-RGB.jpg
48share/doc/fotoxx/images/rotate.jpg 54share/doc/fotoxx/images/rotate.jpg
49share/doc/fotoxx/images/rotate2.jpg 55share/doc/fotoxx/images/rotate2.jpg
50share/doc/fotoxx/images/rotate3.jpg 56share/doc/fotoxx/images/rotate3.jpg
51share/doc/fotoxx/images/save-as.jpg 57share/doc/fotoxx/images/save-as.jpg
52share/doc/fotoxx/images/search-images-metadata.jpg 58share/doc/fotoxx/images/search-images-metadata.jpg
53share/doc/fotoxx/images/search-images.jpg 59share/doc/fotoxx/images/search-images.jpg
54share/doc/fotoxx/images/select-area.jpg 60share/doc/fotoxx/images/select-area.jpg
55share/doc/fotoxx/images/sharpen.jpeg 61share/doc/fotoxx/images/sharpen.jpeg
56share/doc/fotoxx/images/show-RGB.jpg 62share/doc/fotoxx/images/show-RGB.jpg
57share/doc/fotoxx/images/slide-show.jpg 63share/doc/fotoxx/images/slide-show.jpg
58share/doc/fotoxx/images/smart-erase.jpg 64share/doc/fotoxx/images/smart-erase.jpg
59share/doc/fotoxx/images/stack-noise.jpg 65share/doc/fotoxx/images/stack-noise.jpg
60share/doc/fotoxx/images/stack-paint.jpg 66share/doc/fotoxx/images/stack-paint.jpg
61share/doc/fotoxx/images/straighten-image.jpg 
62share/doc/fotoxx/images/stuck-pixels.jpg 67share/doc/fotoxx/images/stuck-pixels.jpg
63share/doc/fotoxx/images/synchronize.jpg 68share/doc/fotoxx/images/synchronize.jpg
64share/doc/fotoxx/images/tone-mapping.jpg 69share/doc/fotoxx/images/tone-mapping.jpg
65share/doc/fotoxx/images/trim.jpg 70share/doc/fotoxx/images/trim.jpg
66share/doc/fotoxx/images/unbend.png 71share/doc/fotoxx/images/unbend.jpg
67share/doc/fotoxx/images/user-settings.jpg 72share/doc/fotoxx/images/user-settings.jpg
68share/doc/fotoxx/images/vignette.jpg 73share/doc/fotoxx/images/vignette.jpg
69share/doc/fotoxx/images/warps.jpg 74share/doc/fotoxx/images/warps.jpg
70share/doc/fotoxx/images/watermark.jpg 75share/doc/fotoxx/images/watermark.jpg
71share/doc/fotoxx/images/white-balance.jpg 76share/doc/fotoxx/images/white-balance.jpg
72share/doc/fotoxx/translations 77share/doc/fotoxx/translations
73share/doc/fotoxx/userguide-en.html 78share/doc/fotoxx/userguide-en.html
 79share/doc/fotoxx/userguide-es.html
74share/doc/fotoxx/userguide-it.html 80share/doc/fotoxx/userguide-it.html
 81share/fotoxx/icons/bottom.png
 82share/fotoxx/icons/cancel.png
 83share/fotoxx/icons/discard.png
 84share/fotoxx/icons/down+.png
 85share/fotoxx/icons/down.png
 86share/fotoxx/icons/favorites.png
75share/fotoxx/icons/fg-color.png 87share/fotoxx/icons/fg-color.png
76share/fotoxx/icons/first-page.png 
77share/fotoxx/icons/folder256.png 88share/fotoxx/icons/folder256.png
78share/fotoxx/icons/fotoxx-banner.png 89share/fotoxx/icons/fotoxx-banner.png
79share/fotoxx/icons/fotoxx.png 90share/fotoxx/icons/fotoxx.png
80share/fotoxx/icons/help.png 91share/fotoxx/icons/help.png
81share/fotoxx/icons/last-page.png 
82share/fotoxx/icons/next-page.png 
83share/fotoxx/icons/next-row.png 
84share/fotoxx/icons/next.png 92share/fotoxx/icons/next.png
85share/fotoxx/icons/open.png 93share/fotoxx/icons/open.png
86share/fotoxx/icons/prev-page.png 
87share/fotoxx/icons/prev-row.png 
88share/fotoxx/icons/prev.png 94share/fotoxx/icons/prev.png
89share/fotoxx/icons/print.png 95share/fotoxx/icons/print.png
90share/fotoxx/icons/quit.png 96share/fotoxx/icons/quit.png
91share/fotoxx/icons/redo.png 97share/fotoxx/icons/redo.png
92share/fotoxx/icons/save+F.png 98share/fotoxx/icons/save+F.png
93share/fotoxx/icons/save+V.png 99share/fotoxx/icons/save+V.png
94share/fotoxx/icons/save.png 100share/fotoxx/icons/save.png
 101share/fotoxx/icons/top.png
95share/fotoxx/icons/trash.png 102share/fotoxx/icons/trash.png
96share/fotoxx/icons/undo.png 103share/fotoxx/icons/undo.png
 104share/fotoxx/icons/up+.png
 105share/fotoxx/icons/up.png
97share/fotoxx/icons/zoom+.png 106share/fotoxx/icons/zoom+.png
98share/fotoxx/icons/zoom-.png 107share/fotoxx/icons/zoom-.png
 108share/fotoxx/locales/fotoxx-ca.po
99share/fotoxx/locales/fotoxx-de.po 109share/fotoxx/locales/fotoxx-de.po
100share/fotoxx/locales/fotoxx-en.po 110share/fotoxx/locales/fotoxx-en.po
101share/fotoxx/locales/fotoxx-es.po 111share/fotoxx/locales/fotoxx-es.po
102share/fotoxx/locales/fotoxx-fr.po 112share/fotoxx/locales/fotoxx-fr.po
103share/fotoxx/locales/fotoxx-gl.po 113share/fotoxx/locales/fotoxx-gl.po
104share/fotoxx/locales/fotoxx-it.po 114share/fotoxx/locales/fotoxx-it.po
105share/fotoxx/locales/fotoxx-nl.po 115share/fotoxx/locales/fotoxx-nl.po
106share/fotoxx/locales/fotoxx-pt.po 116share/fotoxx/locales/fotoxx-pt.po
107share/fotoxx/locales/fotoxx-ru.po 117share/fotoxx/locales/fotoxx-ru.po
108share/fotoxx/locales/fotoxx-sv.po 118share/fotoxx/locales/fotoxx-sv.po
109share/fotoxx/locales/fotoxx-zh_CN.po 119share/fotoxx/locales/fotoxx-zh_CN.po

cvs diff -r1.15 -r1.16 pkgsrc/graphics/fotoxx/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/distinfo 2012/08/25 22:12:10 1.15
+++ pkgsrc/graphics/fotoxx/distinfo 2012/10/01 13:02:24 1.16
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.15 2012/08/25 22:12:10 dholland Exp $ 1$NetBSD: distinfo,v 1.16 2012/10/01 13:02:24 ryoon Exp $
2 2
3SHA1 (fotoxx-12.08.tar.gz) = 719e24de33cd2a1826302529987c1c97c19f5bb6 3SHA1 (fotoxx-12.10.tar.gz) = f8c096950e18b2ca8d282ae952dceffb48c4d0e8
4RMD160 (fotoxx-12.08.tar.gz) = 6bd8b614dd6d9b5e1cae183fb8e3f9163a1a600f 4RMD160 (fotoxx-12.10.tar.gz) = 7dcd1613c0c8e5ec4998d898e53a53364f07bbb9
5Size (fotoxx-12.08.tar.gz) = 1800791 bytes 5Size (fotoxx-12.10.tar.gz) = 1968889 bytes
6SHA1 (patch-aa) = 1640bf95c015519c215eeb2dafcf74cc1fb4f9a1 6SHA1 (patch-aa) = 40d89dacc4df94930aec3039e208a0ad5f00b3a7
7SHA1 (patch-ab) = 69785c5fb66fc01df74bf7d6fe3b4487260b851f 7SHA1 (patch-ab) = c5ae349a6deb88dc17a2e735569b72a9bcaad1de
8SHA1 (patch-ac) = d5443ab4e5931b4cc0e423a529280f2a1f1158fc 8SHA1 (patch-ac) = 86dc405274a9f21d4271fa850937cea4bba2cf9d

cvs diff -r1.10 -r1.11 pkgsrc/graphics/fotoxx/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/patches/patch-aa 2012/08/12 07:20:15 1.10
+++ pkgsrc/graphics/fotoxx/patches/patch-aa 2012/10/01 13:02:24 1.11
@@ -1,22 +1,24 @@ @@ -1,22 +1,24 @@
1$NetBSD: patch-aa,v 1.10 2012/08/12 07:20:15 ryoon Exp $ 1$NetBSD: patch-aa,v 1.11 2012/10/01 13:02:24 ryoon Exp $
2 2
3--- Makefile.orig 2012-08-04 11:58:30.000000000 +0000 3* Pass LDFLAGS from pkgsrc's Makefile
 4
 5--- Makefile.orig 2012-09-29 12:32:40.000000000 +0000
4+++ Makefile 6+++ Makefile
5@@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx 7@@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx
6 ICONDIR = $(SHAREDIR)/icons 8 ICONDIR = $(SHAREDIR)/icons
7 LOCALESDIR = $(SHAREDIR)/locales 9 LOCALESDIR = $(SHAREDIR)/locales
8 DOCDIR = $(PREFIX)/share/doc/fotoxx 10 DOCDIR = $(PREFIX)/share/doc/fotoxx
9-MANDIR = $(PREFIX)/share/man/man1 11-MANDIR = $(PREFIX)/share/man/man1
10+MANDIR = $(PREFIX)/${PKGMANDIR}/man1 12+MANDIR = $(PREFIX)/${PKGMANDIR}/man1
11 MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop 13 MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop
12  14
13 CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0` 15 CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
14@@ -23,7 +23,7 @@ fotoxx: fotoxx.o f.file.o f.tools.o f.s 16@@ -23,7 +23,7 @@ fotoxx: fotoxx.o f.file.o f.tools.o f.a
15 f.retouch.o f.art.o f.comp.o zfuncs.o 17 f.retouch.o f.art.o f.comp.o zfuncs.o
16 $(CXX) $(LDFLAGS) -o fotoxx fotoxx.o f.file.o f.tools.o f.select.o f.meta.o \ 18 $(CXX) $(LDFLAGS) -o fotoxx fotoxx.o f.file.o f.tools.o f.area.o \
17 f.gallery.o f.xform.o f.retouch.o f.art.o f.comp.o zfuncs.o \ 19 f.meta.o f.xform.o f.retouch.o f.art.o f.comp.o zfuncs.o \
18- $(LIBS) -ltiff -lpthread 20- $(LIBS) -ltiff -lpthread -lpng
19+ $(LIBS) -ltiff -lpthread ${LDFLAGS} 21+ $(LIBS) -ltiff -lpthread -lpng ${LDFLAGS}
20  22
21 fotoxx.o: $(FOTOXX) fotoxx.h 23 fotoxx.o: $(FOTOXX) fotoxx.h
22 $(CXX) $(CFLAGS) -o fotoxx.o $(FOTOXX) 24 $(CXX) $(CFLAGS) -o fotoxx.o $(FOTOXX)

cvs diff -r1.10 -r1.11 pkgsrc/graphics/fotoxx/patches/patch-ab (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/patches/patch-ab 2012/08/24 20:35:39 1.10
+++ pkgsrc/graphics/fotoxx/patches/patch-ab 2012/10/01 13:02:24 1.11
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-ab,v 1.10 2012/08/24 20:35:39 ryoon Exp $ 1$NetBSD: patch-ab,v 1.11 2012/10/01 13:02:24 ryoon Exp $
 2
 3* Add non-execinfo.h platform support.
2 4
3--- zfuncs.cc.orig 2012-08-04 11:58:30.000000000 +0000 5--- zfuncs.cc.orig 2012-08-04 11:58:30.000000000 +0000
4+++ zfuncs.cc 6+++ zfuncs.cc
5@@ -81,6 +81,7 @@ void zappcrash(cchar *pMess, ... ) 7@@ -81,6 +81,7 @@ void zappcrash(cchar *pMess, ... )
6  8
7 printf("*** zappcrash: \n %s \n",message); // output message to stdout 9 printf("*** zappcrash: \n %s \n",message); // output message to stdout
8  10
9+#if defined (HAVE_EXECINFO_H) 11+#if defined (HAVE_EXECINFO_H)
10 nstack = backtrace(stacklist,nstack); // get traceback data 12 nstack = backtrace(stacklist,nstack); // get traceback data
11 stackents = backtrace_symbols(stacklist,nstack); 13 stackents = backtrace_symbols(stacklist,nstack);
12  14
13@@ -90,6 +91,7 @@ void zappcrash(cchar *pMess, ... ) 15@@ -90,6 +91,7 @@ void zappcrash(cchar *pMess, ... )
14 fid1 = fopen("zappcrash","w"); // text file for backtrace 16 fid1 = fopen("zappcrash","w"); // text file for backtrace

cvs diff -r1.11 -r1.12 pkgsrc/graphics/fotoxx/patches/patch-ac (expand / switch to unified diff)

--- pkgsrc/graphics/fotoxx/patches/patch-ac 2012/08/25 22:12:10 1.11
+++ pkgsrc/graphics/fotoxx/patches/patch-ac 2012/10/01 13:02:24 1.12
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-ac,v 1.11 2012/08/25 22:12:10 dholland Exp $ 1$NetBSD: patch-ac,v 1.12 2012/10/01 13:02:24 ryoon Exp $
 2
 3* Add non-execinfo.h platform support
2 4
3--- zfuncs.h.orig 2012-08-04 11:58:30.000000000 +0000 5--- zfuncs.h.orig 2012-08-04 11:58:30.000000000 +0000
4+++ zfuncs.h 6+++ zfuncs.h
5@@ -37,7 +37,11 @@ 7@@ -37,7 +37,11 @@
6 #include <pthread.h> 8 #include <pthread.h>
7 #include <errno.h> 9 #include <errno.h>
8 #include <signal.h> 10 #include <signal.h>
9+#include <sys/param.h> 11+#include <sys/param.h>
10+#if defined (HAVE_EXECINFO_H) 12+#if defined (HAVE_EXECINFO_H)
11 #include <execinfo.h> 13 #include <execinfo.h>
12+#endif 14+#endif
13+#include <sys/wait.h> 15+#include <sys/wait.h>
14 #include <locale.h> 16 #include <locale.h>