Skip to content

Commit

Permalink
graphics/fotoxx: the port had been updated to version 22.41
Browse files Browse the repository at this point in the history
Rephrase the COMMENT for better readability and shortness.
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Nov 5, 2022
1 parent 28e20a2 commit 3f45581
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions graphics/fotoxx/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PORTNAME= fotoxx
PORTVERSION= 22.35
PORTVERSION= 22.41
CATEGORIES= graphics
MASTER_SITES= https://kornelix.net/downloads/downloads/

MAINTAINER= danfe@FreeBSD.org
COMMENT= Application to organize and edit image collections
COMMENT= Image editing and collection management program
WWW= https://kornelix.net/fotoxx/fotoxx.html

LICENSE= GPLv3+
Expand Down
6 changes: 3 additions & 3 deletions graphics/fotoxx/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1665231011
SHA256 (fotoxx-22.35.tar.gz) = 7c2760c7a499684973156b6a22e5787ae1dbb4925a1ddc8d1f463088a5c9b6ac
SIZE (fotoxx-22.35.tar.gz) = 8675173
TIMESTAMP = 1667459701
SHA256 (fotoxx-22.41.tar.gz) = 649a1964df2b4c1efa45ee2260ccff7a68075ef149873d5362857ed2ac95040b
SIZE (fotoxx-22.41.tar.gz) = 8704965
4 changes: 2 additions & 2 deletions graphics/fotoxx/files/patch-zfuncs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@
progexe = 0;
+#if defined(__linux__)
cc = readlink("/proc/self/exe",buff,300); // get my executable program path
if (cc <= 0) zexit("readlink() /proc/self/exe) failed");
if (cc <= 0) zexit(1,"readlink() /proc/self/exe) failed");
buff[cc] = 0; // readlink() quirk
+#elif defined(__FreeBSD__)
+ const int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
+ size_t len = sizeof(buff);
+ cc = sysctl(mib, 4, buff, &len, 0x0, 0);
+ if (cc == -1) zexit("sysctl(KERN_PROC_PATHNAME) failed");
+ if (cc == -1) zexit(1,"sysctl(KERN_PROC_PATHNAME) failed");
+#endif
progexe = zstrdup(buff,"zinitapp");
Expand Down
4 changes: 2 additions & 2 deletions graphics/fotoxx/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ share/applications/fotoxx.desktop
%%DATADIR%%/images/fix-motion-blur.jpg
%%DATADIR%%/images/fix-motion-blur1.jpg
%%DATADIR%%/images/fix-motion-blur2.jpg
%%DATADIR%%/images/flatten-dist1.jpg
%%DATADIR%%/images/flatten-dist2.jpg
%%DATADIR%%/images/flatten-photo1.jpg
%%DATADIR%%/images/flatten-photo2.jpg
%%DATADIR%%/images/flatten1.jpg
%%DATADIR%%/images/flatten2.jpg
%%DATADIR%%/images/folder.png
%%DATADIR%%/images/fotoxx-views.jpg
%%DATADIR%%/images/fotoxx.png
Expand Down

0 comments on commit 3f45581

Please sign in to comment.