summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-07-07 18:39:50 +0000
committerSteve Price <steve@FreeBSD.org>2000-07-07 18:39:50 +0000
commitda89f2c264f7a609434154d87f51bd032c0aeb60 (patch)
tree2f9b8d9ab566abe77fcd04c1acaca83154153842 /graphics
parentThe gd library now generates PNG files. Also include a necessary header (diff)
Fix ${PREFIX}/include files that have bad nested includes.
PR: 19682 Submitted by: Alec Wolman <wolman@cs.washington.edu>
Notes
Notes: svn path=/head/; revision=30317
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libwmf/Makefile3
-rw-r--r--graphics/libwmf/files/patch-af11
-rw-r--r--graphics/libwmf/files/patch-ag9
3 files changed, 23 insertions, 0 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 94089979c761..5b038abe87ea 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -25,4 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype \
-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}"/lib
+pre-configure:
+ (cd ${WRKSRC}; ln -s xgd-1.7.3 xgd)
+
.include <bsd.port.mk>
diff --git a/graphics/libwmf/files/patch-af b/graphics/libwmf/files/patch-af
new file mode 100644
index 000000000000..7287aca569cb
--- /dev/null
+++ b/graphics/libwmf/files/patch-af
@@ -0,0 +1,11 @@
+--- Xwmfapi.h Wed Aug 18 04:16:50 1999
++++ Xwmfapi.h.new Sun Jul 2 17:55:05 2000
+@@ -3,7 +3,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/X.h>
+
+-#include "myxpm.h"
++#include <X11/xpm.h>
+
+
+ typedef struct _X_Struct
diff --git a/graphics/libwmf/files/patch-ag b/graphics/libwmf/files/patch-ag
new file mode 100644
index 000000000000..9944353c95cb
--- /dev/null
+++ b/graphics/libwmf/files/patch-ag
@@ -0,0 +1,9 @@
+--- gdwmfapi.h Thu Dec 16 08:18:48 1999
++++ gdwmfapi.h.new Sun Jul 2 17:53:04 2000
+@@ -1,5 +1,5 @@
+ #include "wmfapi.h"
+-#include "gd.h"
++#include "xgd/gd.h"
+
+ typedef struct _GD_Struct
+ {