aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-11-09 22:17:07 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-11-09 22:17:07 +0000
commit4ddaaccc1714c5b16b4ade51fe24538175baacaa (patch)
tree4ef8c9721b5f85ea245098f1570bc1ae36b02837 /graphics/dia
parentd2abf95cc9162443258c5ebe7c68a8ac15848568 (diff)
downloadports-4ddaaccc1714c5b16b4ade51fe24538175baacaa.tar.gz
ports-4ddaaccc1714c5b16b4ade51fe24538175baacaa.zip
Fix the context of some patches so that they apply with stricter patch(1)
PR: 223545 With hat: portmgr
Notes
Notes: svn path=/head/; revision=453874
Diffstat (limited to 'graphics/dia')
-rw-r--r--graphics/dia/files/patch-app_main.c17
-rw-r--r--graphics/dia/files/patch-doc_fr_Makefile.in4
2 files changed, 14 insertions, 7 deletions
diff --git a/graphics/dia/files/patch-app_main.c b/graphics/dia/files/patch-app_main.c
index aca97ced24ad..d105c04a6f64 100644
--- a/graphics/dia/files/patch-app_main.c
+++ b/graphics/dia/files/patch-app_main.c
@@ -1,12 +1,19 @@
---- app/main.c.orig Sun Mar 25 19:05:16 2001
-+++ app/main.c Thu May 17 14:09:02 2001
-@@ -19,2 +19,4 @@
+--- app/main.c.orig 2014-08-24 15:44:07 UTC
++++ app/main.c
+@@ -17,12 +17,16 @@
+ */
+ #include <config.h>
+#include <ieeefp.h>
+
- #include "geometry.h"
-@@ -35,2 +37,4 @@
+ #include "app_procs.h"
+
+ #include "interface.h"
+
+ int main(int argc, char *argv[])
{
+ fpsetmask(0);
+
app_init(argc, argv);
+
+ if (!app_is_interactive())
diff --git a/graphics/dia/files/patch-doc_fr_Makefile.in b/graphics/dia/files/patch-doc_fr_Makefile.in
index a2eb3fcb9033..63e310ded944 100644
--- a/graphics/dia/files/patch-doc_fr_Makefile.in
+++ b/graphics/dia/files/patch-doc_fr_Makefile.in
@@ -1,6 +1,6 @@
---- doc/fr/Makefile.in.orig
+--- doc/fr/Makefile.in.orig 2014-09-05 15:08:04 UTC
+++ doc/fr/Makefile.in
-@@ -285,7 +285,7 @@
+@@ -389,7 +389,7 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@