aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qcad/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-12-11 12:13:24 +0800
committeroliver <oliver@FreeBSD.org>2003-12-11 12:13:24 +0800
commit13702aed32d93e4f0b3c8d86c117605aa90a963d (patch)
treed3ff8f763d2fab0b5cc0f3c1084aa47dd3ba0139 /cad/qcad/files
parentaa9c7d79297bbf905f14fec7823be85a192df7ca (diff)
downloadfreebsd-ports-gnome-13702aed32d93e4f0b3c8d86c117605aa90a963d.tar.gz
freebsd-ports-gnome-13702aed32d93e4f0b3c8d86c117605aa90a963d.tar.zst
freebsd-ports-gnome-13702aed32d93e4f0b3c8d86c117605aa90a963d.zip
Fix build on both, 4 and 5
Fix pkg-plist
Diffstat (limited to 'cad/qcad/files')
-rw-r--r--cad/qcad/files/patch-aa2
-rw-r--r--cad/qcad/files/patch-ag35
2 files changed, 36 insertions, 1 deletions
diff --git a/cad/qcad/files/patch-aa b/cad/qcad/files/patch-aa
index 7f88345482f0..7850ae298cf5 100644
--- a/cad/qcad/files/patch-aa
+++ b/cad/qcad/files/patch-aa
@@ -6,6 +6,6 @@
-export MAKE=make
-#export MAKE=gmake
+#export MAKE=make
-+export MAKE=gmake
++#export MAKE=gmake
#export QTDIR=/usr/share/qt3
#export PATH=$PATH:$QTDIR/bin
diff --git a/cad/qcad/files/patch-ag b/cad/qcad/files/patch-ag
new file mode 100644
index 000000000000..10139bd97c2a
--- /dev/null
+++ b/cad/qcad/files/patch-ag
@@ -0,0 +1,35 @@
+--- dxflib/src/dl_entities.h.org Wed Dec 10 20:06:25 2003
++++ dxflib/src/dl_entities.h Wed Dec 10 20:06:50 2003
+@@ -1128,10 +1128,6 @@
+ */
+ bool defined;
+
+-#ifndef __GCC2x__
+- union {
+- struct {
+-#endif
+ /*! Start point (X). */
+ double x1;
+ /*! Start point (Y). */
+@@ -1140,10 +1136,6 @@
+ double x2;
+ /*! End point (Y). */
+ double y2;
+-#ifndef __GCC2x__
+- };
+- struct {
+-#endif
+ /*! Center point of arc (X). */
+ double cx;
+ /*! Center point of arc (Y). */
+@@ -1156,10 +1148,6 @@
+ double angle2;
+ /*! Counterclockwise flag. */
+ bool ccw;
+-#ifndef __GCC2x__
+- };
+- };
+-#endif
+
+ };
+