Extract patch in patch and use that patch to patch instead of

patching with a patch which doesn't patch the file to patch.

Noticed by: Dmitry Morozovsky <marck@FreeBSD.org>
Pointy hat: me!
This commit is contained in:
Edwin Groothuis 2005-03-08 11:29:47 +00:00
parent 51a7a0a44d
commit e7a7f7076b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130609

View file

@ -1,14 +1,8 @@
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-random.cpp 7 Mar 2005 16:00:23 -0000
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- random.cpp.orig
++++ random.cpp
+@@ -1,3 +1,5 @@
++#include "sys/time.h"
++
+ #include "random.h"
+ #include "utils.h"
--- random.cpp.orig
+++ random.cpp
@@ -1,3 +1,5 @@
+#include "sys/time.h"
+
#include "random.h"
#include "utils.h"