- remove void * casts for NULL

- regen WANTLIB
- no need for groff
This commit is contained in:
jasper 2011-04-16 10:59:34 +00:00
parent 2befbf3559
commit 4889b4d22a
3 changed files with 3 additions and 27 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2010/11/22 08:36:56 espie Exp $
# $OpenBSD: Makefile,v 1.21 2011/04/16 10:59:34 jasper Exp $
COMMENT= GTK+-2 Graphical filemanager
DISTNAME= gentoo-0.15.6
REVISION= 2
REVISION= 3
CATEGORIES= x11
@ -22,6 +22,7 @@ WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0
WANTLIB += GL Xxf86vm drm gthread-2.0 pthread xcb-render xcb-shm
MODULES= devel/gettext
@ -29,7 +30,6 @@ LIB_DEPENDS= x11/gtk+2
CONFIGURE_STYLE= gnu
NO_REGRESS= Yes
USE_GROFF = Yes
pre-install:
@chmod +x ${WRKSRC}/install-sh

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_file_c,v 1.2 2010/03/21 09:13:53 jasper Exp $
--- src/file.c.orig Tue Jun 23 22:57:24 2009
+++ src/file.c Fri Jan 29 19:07:07 2010
@@ -59,7 +59,7 @@ static void start_file(MainInfo *min, const gchar *cmd
bits |= (close(fd_out[STDIN_FILENO]) == 0) << 1;
}
if(bits == 3U)
- execlp(cmd, cmd, "-n", "-f", "-", NULL);
+ execlp(cmd, cmd, "-n", "-f", "-", (void *)NULL);
fprintf(stderr, "FILE: execlp() of '%s' failed (code %d)\n", cmd, errno);
exit(EXIT_FAILURE);
}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_mount_c,v 1.2 2010/03/21 09:13:53 jasper Exp $
--- src/mount.c.orig Wed Jun 24 22:06:11 2009
+++ src/mount.c Fri Jan 29 19:07:07 2010
@@ -197,7 +197,7 @@ static gint run_cmd(MainInfo *min, const gchar *cmd, c
if(dup(fd_err[STDOUT_FILENO]) == STDERR_FILENO)
{
if(close(fd_err[STDIN_FILENO]) == 0)
- execl(cmd, cname, arg, NULL);
+ execl(cmd, cname, arg, (void *)NULL);
}
}
perror("");