nixpkgs-suyu/pkgs/tools/graphics/ploticus/set-prefabs-dir.patch
Jan Tojnar fbc4b41e69
ploticus: 2.41 → 2.42
65f1e8e048 bumped the version but forgot to update the tarball URL.

Unfortunately, this version does not seem to ship makefiles.
2021-06-30 05:55:57 +02:00

11 lines
487 B
Diff

--- a/src/pl.h
+++ b/src/pl.h
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include "plg.h"
-#define PREFABS_DIR "" /* INSTALLERS can set this to a valid pathname, so that users don't need to set PLOTICUS_PREFABS env var */
+#define PREFABS_DIR "@out@/share/ploticus/prefabs" /* INSTALLERS can set this to a valid pathname, so that users don't need to set PLOTICUS_PREFABS env var */
#define PLVERSION "2.42-May2013" /* see also the Copyright page, and page headers and footers */