]> git.pld-linux.org Git - packages/js.git/blob - js-build.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/js.git] / js-build.patch
1 --- js/src/js.c~        2007-04-20 20:45:18.000000000 +0200
2 +++ js/src/js.c 2016-10-18 22:22:16.509762977 +0200
3 @@ -160,7 +160,7 @@
4  #endif
5      {
6          char line[256];
7 -        fprintf(gOutFile, prompt);
8 +        fprintf(gOutFile, "%s", prompt);
9          fflush(gOutFile);
10          if (!fgets(line, sizeof line, file))
11              return JS_FALSE;
12 --- js/src/config/Linux_All.mk~ 2005-05-10 21:53:44.000000000 +0200
13 +++ js/src/config/Linux_All.mk  2019-10-17 22:09:03.383335550 +0200
14 @@ -43,7 +43,7 @@
15  
16  CC = gcc
17  CCC = g++
18 -CFLAGS +=  -Wall -Wno-format
19 +CFLAGS +=  -Wall
20  OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
21  
22  RANLIB = echo
This page took 0.103972 seconds and 3 git commands to generate.