lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

cygwin: popt patches

authored by

U-user-PC\\user and committed by
Rok Garbas
6c7899b1 7f7aca4e

+51 -1
+11
pkgs/development/libraries/popt/1.16-cygwin.patch
··· 1 + --- origsrc/poptconfig.c 2009-05-20 08:18:07.000000000 -0500 2 + +++ src/poptconfig.c 2012-03-29 18:13:46.869286100 -0500 3 + @@ -42,7 +42,7 @@ extern int glob_pattern_p (const char *_ 4 + /*@=declundef =exportheader =incondefs =protoparammatch =redecl =type @*/ 5 + #endif /* __LCLINT__ */ 6 + 7 + -#if !defined(__GLIBC__) 8 + +#if !defined(__GLIBC__) && !defined(__CYGWIN__) 9 + /* Return nonzero if PATTERN contains any metacharacters. 10 + Metacharacters can be quoted with backslashes if QUOTE is nonzero. */ 11 + static int
+34
pkgs/development/libraries/popt/1.16-vpath.patch
··· 1 + --- origsrc/Doxyfile.in 2008-04-26 16:57:32.000000000 -0500 2 + +++ src/Doxyfile.in 2012-03-29 18:15:56.649709100 -0500 3 + @@ -460,14 +460,14 @@ WARN_LOGFILE = 4 + # with spaces. 5 + 6 + INPUT = \ 7 + - ./popt.c \ 8 + - ./popt.h \ 9 + - ./poptconfig.c \ 10 + - ./popthelp.c \ 11 + - ./poptint.c \ 12 + - ./poptint.h \ 13 + - ./poptparse.c \ 14 + - ./system.h 15 + + @srcdir@/popt.c \ 16 + + @srcdir@/popt.h \ 17 + + @srcdir@/poptconfig.c \ 18 + + @srcdir@/popthelp.c \ 19 + + @srcdir@/poptint.c \ 20 + + @srcdir@/poptint.h \ 21 + + @srcdir@/poptparse.c \ 22 + + @srcdir@/system.h 23 + 24 + # If the value of the INPUT tag contains directories, you can use the 25 + # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 26 + @@ -658,7 +658,7 @@ HTML_HEADER = 27 + # each generated HTML page. If it is left blank doxygen will generate a 28 + # standard footer. 29 + 30 + -HTML_FOOTER = footer_no_timestamp.html 31 + +HTML_FOOTER = @srcdir@/footer_no_timestamp.html 32 + 33 + # The HTML_STYLESHEET tag can be used to specify a user-defined cascading 34 + # style sheet that is used by each HTML page. It can be used to
+6 -1
pkgs/development/libraries/popt/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "popt-1.16"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "http://rpm5.org/files/popt/${name}.tar.gz"; 8 8 sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77"; 9 9 }; 10 + 11 + patches = if stdenv.isCygwin then [ 12 + ./1.16-cygwin.patch 13 + ./1.16-vpath.patch 14 + ] else null; 10 15 11 16 meta = { 12 17 description = "command line option parsing library";