freebsd-ports/graphics/cinepaint/files/patch-app__main.c
Martin Wilke f507c057f9 - Update to 1.0.4
PR:		178595
Submitted by:	Ports Fury
2013-05-21 05:43:22 +00:00

21 lines
434 B
C

--- app/main.c.orig
+++ app/main.c
@@ -448,7 +448,8 @@
#ifdef WIN32
#else
-# ifndef DEBUG_
+ if (use_debug_handler)
+ {
/* Handle some signals */
signal (SIGHUP, on_signal);
signal (SIGINT, on_signal);
@@ -466,7 +467,7 @@
/* Handle shmem reload */
signal( SIGUSR2, on_sig_refresh);
# endif
-# endif /* DEBUG */
+ }
#endif
/* Keep the command line arguments--for use in gimp_init */
gimp_argc = argc - 1;