openbsd-ports/cad/qcad/patches/patch-rprgdef_h
margarida af627861ce Update to version 1.5.4;
Changes:
Examples installed in $PREFIX/examples/qcad.
Uses qt3, so respective patches are now deprecated.
Larger library of premade objects included.
Better font and translation support.
Various bugfixes.

From: MAINTAINER.

brad@ ok
2002-12-09 17:35:57 +00:00

18 lines
489 B
Plaintext

$OpenBSD: patch-rprgdef_h,v 1.1 2002/12/09 17:35:57 margarida Exp $
--- rprgdef.h.orig Sun Dec 8 22:22:37 2002
+++ rprgdef.h Sun Dec 8 22:26:21 2002
@@ -28,10 +28,11 @@
#define RUNNING_WINDOWS false
#define RUNNING_SOLARIS false
#define RUNNING_IRIX false
+#ifndef DATADIR
#define DATADIR "/usr/share"
+#endif
-
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#define DEF_FREEBSD
#undef DEF_LINUX
#define RUNNING_LINUX true // close enough