Saturday, December 29, 2018

Work-around for not-shown JPEG images in www/links+

Hello, everybody!

My links+ in 6.4 would not display JPEG images and I figured it was due
to the configure script not detecting jpeglib. My current work-around:

1. define HAVE_LOCAL_H with 1 /usr/local/include/jconfig.h:
-#define HAVE_LOCAL_H
+#define HAVE_LOCAL_H 1
2. rebuild the package
$ cd /usr/ports/www/links+
$ make package
3. (as root) replace with self-compiled package
# cd /usr/ports/packages/all
# pkg_add -vrD unsigned links+*

I don't see whether upstream deliberately or accidentally does
#cmakedefine HAVE_LOCAL_H
instead of
#cmakedefine HAVE_LOCAL_H 1
and I, honestly, don't care. Just want to get this off my mind.

Guten Rutsch!
--
Hannes Wenzel <wenzehan@b-tu.de>

No comments:

Post a Comment