depot/third_party/nixpkgs/pkgs/tools/graphics/ploticus/set-prefabs-dir.patch
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03: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 */