openbsd-ports/x11/xli/patches/patch-xlito_c
bcallah dbcdbaa850 Import x11/xli, a very lightweight image viewer for X11.
ok sthen@

xli is an image display program for X. It is a fork of xloadimage.                                                                               
                                                                                                                                                 
A variety of options are available to modify images prior to viewing.   
These options include clipping, dithering, depth reduction, zoom (either
X or Y axis independently or both at once), brightening or darkening,   
input gamma correction, and image merging. When applicable, these       
options are done automatically (eg. a color image to be displayed on a  
monochrome screen will be dithered automatically). A utility (xlito) is 
provided that allows these viewing options to be appended to the image  
files.                              
                                                                        
xli can also be used to set the X background image if called as xsetbg.
2017-06-19 17:14:19 +00:00

16 lines
298 B
Plaintext

$OpenBSD: patch-xlito_c,v 1.1.1.1 2017/06/19 17:14:19 bcallah Exp $
Missing string.h include.
Index: xlito.c
--- xlito.c.orig
+++ xlito.c
@@ -1,6 +1,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "ddxli.h"