diffstat/diffstat-1.54.diff
Greg Kroah-Hartman a35aa464bf Accepting request 83254 from home:jengelh:bl-d
- Remove redundant tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/83254
OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=13
2011-09-20 15:57:04 +00:00

38 lines
868 B
Diff

Index: config_h.in
===================================================================
--- config_h.in.orig
+++ config_h.in
@@ -5,4 +5,10 @@
* config.h -- Kevin Buettner.
*/
-@DEFS@
+#define HAVE_GETOPT_H 0
+#define HAVE_MALLOC_H 0
+#define HAVE_POPEN 0
+#define HAVE_STDLIB_H 0
+#define HAVE_STRING_H 0
+#define HAVE_UNISTD_H 0
+#define STDC_HEADERS 0
Index: makefile.in
===================================================================
--- makefile.in.orig
+++ makefile.in
@@ -15,6 +15,7 @@ exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
+DEFS = @DEFS@
CC = @CC@
LINK = $(CC)
INSTALL = @INSTALL@
@@ -26,7 +27,7 @@ CTAGS = @CTAGS@
ETAGS = @ETAGS@
CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@
-CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@
+CPPFLAGS = -I. -I$(srcdir) $(DEFS) @CPPFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@