openbsd-ports/graphics/sane-backends/patches/patch-backend_dell1600n_net_c
kurt f43edc19fa - fix build on macppc by using the correct define for a tmpnam(3) buffer
w/debugging help from drahn@
- remove "libtool --finish" which messed up the shared library directories
- remove obsolete mandir fix
libtool/mandir fixes from naddy@. okay mantainer and naddy@
2006-08-14 12:55:30 +00:00

13 lines
422 B
Plaintext

$OpenBSD: patch-backend_dell1600n_net_c,v 1.1 2006/08/14 12:55:30 kurt Exp $
--- backend/dell1600n_net.c.orig Tue Aug 8 22:51:16 2006
+++ backend/dell1600n_net.c Tue Aug 8 22:51:38 2006
@@ -1762,7 +1762,7 @@ int
ProcessPageData (struct ScannerState *pState)
{
- char tempFilename[TMP_MAX] = "scan.dat";
+ char tempFilename[L_tmpnam] = "scan.dat";
FILE *fTmp;
int fdTmp;
struct jpeg_source_mgr jpegSrcMgr;