mboxgrep-0.7.9-ldflags.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. commit f51a9eafb80a5c5e506d7fe416c0b768ec1a6655
  2. Author: Eray Aslan <eras@gentoo.org>
  3. Date: Mon Jun 6 20:11:32 2011 +0300
  4. Respect LDFLAGS and do not strip
  5. diff --git a/src/Makefile.in b/src/Makefile.in
  6. index fc5ac74..2b89866 100644
  7. --- a/src/Makefile.in
  8. +++ b/src/Makefile.in
  9. @@ -39,7 +39,7 @@ INCLUDES = -I. -I$(srcdir)
  10. $(CC) $(CFLAGS) $(INCLUDES) -c $<
  11. $(TARGET): $(OBJS)
  12. - $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
  13. + $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
  14. .PHONY: clean
  15. clean:
  16. @@ -52,6 +52,6 @@ distclean:
  17. .PHONY: install
  18. install: mboxgrep
  19. $(INSTALL) -d $(prefix)/bin
  20. - $(INSTALL) -s $(TARGET) $(prefix)/bin
  21. + $(INSTALL) $(TARGET) $(prefix)/bin
  22. .NOEXPORT:
  23. commit 1a0a345ad4c38df41227e3f2600bcf05ed49bbd7
  24. Author: Eray Aslan <eras@gentoo.org>
  25. Date: Mon Jun 6 20:52:06 2011 +0300
  26. everyone has standard C headers nowadays
  27. diff --git a/src/md5.c b/src/md5.c
  28. index d6b8013..a797552 100644
  29. --- a/src/md5.c
  30. +++ b/src/md5.c
  31. @@ -26,14 +26,8 @@
  32. #include <sys/types.h>
  33. -#if STDC_HEADERS || defined _LIBC
  34. # include <stdlib.h>
  35. # include <string.h>
  36. -#else
  37. -# ifndef HAVE_MEMCPY
  38. -# define memcpy(d, s, n) bcopy ((s), (d), (n))
  39. -# endif
  40. -#endif
  41. #include "md5.h"