aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-03-04 21:56:59 +0800
committermiwi <miwi@FreeBSD.org>2011-03-04 21:56:59 +0800
commit51bbbd56a5bb60ab13411a063828449e806efbf7 (patch)
treee747b85edc5a71301afce51cdf94c22ac3141a23
parent5e37e52319cfbfe1a416675fdf27bc8c63ccc266 (diff)
downloadfreebsd-ports-gnome-51bbbd56a5bb60ab13411a063828449e806efbf7.tar.gz
freebsd-ports-gnome-51bbbd56a5bb60ab13411a063828449e806efbf7.tar.zst
freebsd-ports-gnome-51bbbd56a5bb60ab13411a063828449e806efbf7.zip
- Unbreak for 8/9
PR: 154592 Submitted by: Tommy Scheunemann <net@arrishq.net>
-rw-r--r--x11-toolkits/efltk/Makefile4
-rw-r--r--x11-toolkits/efltk/distinfo1
-rw-r--r--x11-toolkits/efltk/files/patch-src-filename_list.cpp11
3 files changed, 13 insertions, 3 deletions
diff --git a/x11-toolkits/efltk/Makefile b/x11-toolkits/efltk/Makefile
index 52634274a964..56f4769c918e 100644
--- a/x11-toolkits/efltk/Makefile
+++ b/x11-toolkits/efltk/Makefile
@@ -40,8 +40,8 @@ USE_XORG= x11 xext
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800501
-BROKEN= does not build
+.if ${OSVERSION} < 800069
+BROKEN= does not build
.endif
.include <bsd.port.post.mk>
diff --git a/x11-toolkits/efltk/distinfo b/x11-toolkits/efltk/distinfo
index 7e82fa1fbe80..44b2a68d5b28 100644
--- a/x11-toolkits/efltk/distinfo
+++ b/x11-toolkits/efltk/distinfo
@@ -1,3 +1,2 @@
-MD5 (efltk-2.0.8.tar.gz) = 0596f27273cfb8169856009bfb611a1d
SHA256 (efltk-2.0.8.tar.gz) = 900dff72052af24e68f989346df363b0f1d211795bd168b8f56d436010dd7ee6
SIZE (efltk-2.0.8.tar.gz) = 1579590
diff --git a/x11-toolkits/efltk/files/patch-src-filename_list.cpp b/x11-toolkits/efltk/files/patch-src-filename_list.cpp
new file mode 100644
index 000000000000..c7452a030a6f
--- /dev/null
+++ b/x11-toolkits/efltk/files/patch-src-filename_list.cpp
@@ -0,0 +1,11 @@
+--- src/core/filename_list.cpp 2010-11-12 00:31:17.000000000 +0100
++++ src/core/filename_list.cpp 2009-04-22 13:51:38.000000000 +0200
+@@ -59,7 +59,7 @@
+ // The vast majority of Unix systems want the sort function to have this
+ // prototype, most likely so that it can be passed to qsort without any
+ // changes:
+- return scandir(dir, list, 0, (int(*)(const void*,const void*))sort);
++ return scandir(dir, list, 0, (int(*)(const dirent **, const dirent **))sort);
+ #else
+ // This version is when we define our own scandir (WIN32 and perhaps
+ // some Unix systems) and apparently on Irix: