gengetopt/gengetopt-2.22-gcc43.patch
Debarshi Ray 90dd56a215 - Version bump to 2.22. Closes Red Hat Bugzilla bug #428641.
- Fixed build failure with gcc-4.3.
- Trimmed the 'BuildRequires' list.
- Changed character encodings from ISO8859-1 to UTF-8.
- Disabled parallel make to prevent failure with -j2.
- Added 'make check-valgrind' for ix86, x86_64, ppc and ppc64 in check
    stanza.
- Fixed Texinfo scriptlets according to Fedora packaging guidelines.
2008-03-07 17:08:10 +00:00

12 lines
342 B
Diff

diff -urNp gengetopt-2.22.orig/src/fileutils.cpp gengetopt-2.22/src/fileutils.cpp
--- gengetopt-2.22.orig/src/fileutils.cpp 2006-05-07 15:12:05.000000000 +0530
+++ gengetopt-2.22/src/fileutils.cpp 2008-03-05 08:52:25.000000000 +0530
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <cstring>
#include "fileutils.h"