Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info on FreeBSD #16

Open
kagalle opened this issue Feb 27, 2023 · 0 comments
Open

Info on FreeBSD #16

kagalle opened this issue Feb 27, 2023 · 0 comments

Comments

@kagalle
Copy link

kagalle commented Feb 27, 2023

I got this working in FreeBSD 13.1 but I needed to make two changes. I am sharing in case this would help anyone else.

  1. In the Makefile, I replaced the contents of "shell..." with its actual values:
@@ -1,6 +1,6 @@
 CFLAGS=-Wall -Wextra --std=c99 -O2
-CUPSDIR=$(shell cups-config --serverbin)
-CUPSDATADIR=$(shell cups-config --datadir)
+CUPSDIR=/usr/local/libexec/cups
+CUPSDATADIR=/usr/local/share/cups
  1. In rastertocarps.c, I changed 'unsigned int' to 'int':
@@ -149,7 +149,7 @@ void dict_add(u8 byte, u8 *dict) {
        dict[0] = byte;
 }
 
-int fls(unsigned int n) {
+int fls(int n) {

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant