1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/games/macopix/files/patch-src-gui.c
Guido Falsi 42cea4feca - Fix build after iconv change [1]
- Fix build with clang/libc++ ([2] for graphics/ipe)

While here for databases/spatialite:
- Trim Makefile headers
- Remove check for unsupported FreeBSD versions

Submitted by:	marino [1]
Reported by:	swills, antoine [1]
Submitted by:	bsam [2]
Approved by:	portmgr (bapt, implicit)
2013-09-13 17:14:53 +00:00

21 lines
391 B
C

--- src/gui.c.orig 2008-06-24 06:44:20.000000000 +0200
+++ src/gui.c 2013-09-13 14:36:40.096276204 +0200
@@ -4557,7 +4557,7 @@
gchar *dest_file;
if(flagChildDialog){
- return;
+ return(NULL);
}
else{
flagChildDialog=TRUE;
@@ -4637,7 +4637,7 @@
char win_title[64];
if(flagChildDialog){
- return;
+ return(NULL);
}
else{
flagChildDialog=TRUE;