openbsd-ports/graphics/dia/patches/patch-app_main_c
ajacoutot abd29c0437 - bring in 2 patches from FreeBSD
* fix pixbuf export (jpeg, png...)
* fix printing
- regen PLIST while here
2008-10-03 11:39:01 +00:00

22 lines
423 B
Plaintext

$OpenBSD: patch-app_main_c,v 1.1 2008/10/03 11:39:01 ajacoutot Exp $
--- app/main.c.orig Sun Jan 21 09:18:08 2007
+++ app/main.c Fri Oct 3 12:39:09 2008
@@ -17,6 +17,8 @@
*/
#include <config.h>
+#include <ieeefp.h>
+
#include "geometry.h"
#include "diagram.h"
#include "display.h"
@@ -28,6 +30,8 @@
int main(int argc, char *argv[])
{
+ fpsetmask(0);
+
app_init(argc, argv);
if (!app_is_interactive())