summaryrefslogtreecommitdiff
path: root/devel/upnp/files/patch-src::genlib::util::gmtdate.cpp
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-04-14 02:05:22 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-04-14 02:05:22 +0000
commitdc86935656614246608a94d99c864f4c54ff35bf (patch)
tree746cbbce69902c856fafd25ea628694f1eccd718 /devel/upnp/files/patch-src::genlib::util::gmtdate.cpp
parentAdd support for configuring for a AMD64. (diff)
Backout previous commit.
It's a incompatible upgrade; net/linuxigd isn't yet ready for it. Noticed by: kris & bento, and many other linuxigd users.
Notes
Notes: svn path=/head/; revision=78926
Diffstat (limited to 'devel/upnp/files/patch-src::genlib::util::gmtdate.cpp')
-rw-r--r--devel/upnp/files/patch-src::genlib::util::gmtdate.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/upnp/files/patch-src::genlib::util::gmtdate.cpp b/devel/upnp/files/patch-src::genlib::util::gmtdate.cpp
new file mode 100644
index 000000000000..419b9a202687
--- /dev/null
+++ b/devel/upnp/files/patch-src::genlib::util::gmtdate.cpp
@@ -0,0 +1,20 @@
+--- src/genlib/util/gmtdate.cpp.orig Fri Jun 15 08:22:16 2001
++++ src/genlib/util/gmtdate.cpp Sat Aug 3 16:29:39 2002
+@@ -41,7 +41,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+-#include <values.h>
++#include <machine/limits.h>
+ #include <genlib/util/gmtdate.h>
+ #include <genlib/util/miscexceptions.h>
+
+@@ -254,7 +254,7 @@
+
+ val = (int)strtol( str, &endptr, 10 );
+
+- if ( val < 0 || val == MAXINT )
++ if ( val < 0 || val == INT_MAX )
+ {
+ return -1;
+ }