[BACK]Return to patch-src_lookup3.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / popt / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / popt / patches / patch-src_lookup3.c (download)

Revision 1.1, Sat Aug 15 01:02:42 2020 UTC (2 years, 5 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD

popt: update to 1.18

Replace HOMEPAGE and MASTER_SITE, the old rpm5.org site seems dead & broken

Changes from popt 1.16
  fix an ugly and ancient security issue with popt failing to
    drop privileges on alias exec from a SUID/SGID program
  perform rudimentary sanity checks when reading in popt config files
  collect accumulated misc fixes (memleaks etc) from distros
  convert translations to utf-8 encoding
  convert old postscript documentation to pdf
  dust off ten years worth of autotools sediment
  reorganize and clean up the source tree for clarity
  remove the obnoxious splint annotations from the sources

$NetBSD: patch-src_lookup3.c,v 1.1 2020/08/15 01:02:42 tnn Exp $

Don't include stdint.h if it does not exist.  Fixes PR#44770

--- src/lookup3.c.orig	2011-04-01 21:06:28.047391300 +0000
+++ src/lookup3.c
@@ -34,7 +34,9 @@
 */
 /* -------------------------------------------------------------------- */
 
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 
 #if defined(_JLU3_SELFTEST)
 # define _JLU3_jlu32w		1