diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-10-14 09:11:19 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-10-14 09:11:19 +0000 |
commit | 0fa56c08b1eae63dc02d0092f022f344184fb8f2 (patch) | |
tree | ca9ce5ecf3dedd75a02c976d5fdc5e7a991f6c60 /graphics/gimp-app-devel/files/patch-libgimp_gimp.c | |
parent | Simple commandline wrapper around gpg that makes it store its passphrase (diff) |
- Readd gimp-devel
Approved by: portmgr (marcus, kris)
Notes
Notes:
svn path=/head/; revision=175287
Diffstat (limited to 'graphics/gimp-app-devel/files/patch-libgimp_gimp.c')
-rw-r--r-- | graphics/gimp-app-devel/files/patch-libgimp_gimp.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/gimp-app-devel/files/patch-libgimp_gimp.c b/graphics/gimp-app-devel/files/patch-libgimp_gimp.c new file mode 100644 index 000000000000..121a49bbf147 --- /dev/null +++ b/graphics/gimp-app-devel/files/patch-libgimp_gimp.c @@ -0,0 +1,29 @@ +--- libgimp/gimp.c.orig Fri Jun 2 08:04:39 2006 ++++ libgimp/gimp.c Fri Jun 9 11:24:56 2006 +@@ -21,7 +21,7 @@ + + #include "config.h" + +-#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */ ++#define __XSI_VISIBLE /* all the sigaction stuff is POSIX */ + #define _SVID_SOURCE /* except for SA_RESTART, it seems */ + + #include <errno.h> +@@ -30,6 +30,7 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/types.h> ++#include <floatingpoint.h> + + #ifdef HAVE_SYS_TIME_H + #include <sys/time.h> +@@ -292,6 +293,9 @@ + gimp_env_init (TRUE); + + progname = argv[0]; ++ ++ /* Ignore floating point exceptions */ ++ fpsetmask(0); + + basename = g_path_get_basename (progname); + |