aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2011-01-08 13:43:00 +0000
committerThierry Thomas <thierry@FreeBSD.org>2011-01-08 13:43:00 +0000
commit89f5525fbaa03e577693ebb6a65a66af65f5eb6e (patch)
tree8bcd7fd28698018d8d22502401c4370553783b89 /x11/rxvt-unicode
parentb987111aaa7485fc58262c881c0b0e46d19910c4 (diff)
downloadports-89f5525fbaa03e577693ebb6a65a66af65f5eb6e.tar.gz
ports-89f5525fbaa03e577693ebb6a65a66af65f5eb6e.zip
Properly fix the latest problem with byteorder.h by removing obsolete
patches.
Notes
Notes: svn path=/head/; revision=267513
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/Makefile1
-rw-r--r--x11/rxvt-unicode/files/patch-src::rxvtutil.C18
-rw-r--r--x11/rxvt-unicode/files/patch-src_background.C29
-rw-r--r--x11/rxvt-unicode/files/patch-src_rxvtutil.h18
4 files changed, 1 insertions, 65 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index cedf965538f4..0ae1093042b9 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rxvt-unicode
PORTVERSION= 9.10
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/
MASTER_SITE_SUBDIR= . Attic
diff --git a/x11/rxvt-unicode/files/patch-src::rxvtutil.C b/x11/rxvt-unicode/files/patch-src::rxvtutil.C
deleted file mode 100644
index 8a20f4b0a495..000000000000
--- a/x11/rxvt-unicode/files/patch-src::rxvtutil.C
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./src/rxvtutil.C.orig Mon Aug 16 01:11:46 2004
-+++ ./src/rxvtutil.C Tue Aug 17 23:15:04 2004
-@@ -4,6 +4,7 @@
-
- #include "rxvtutil.h"
-
-+#ifdef HAVE_SYS_BYTEORDER_H
- class byteorder byteorder;
-
- byteorder::byteorder ()
-@@ -20,6 +21,6 @@
-
- e = w.u;
- }
--
-+#endif
-
-
diff --git a/x11/rxvt-unicode/files/patch-src_background.C b/x11/rxvt-unicode/files/patch-src_background.C
deleted file mode 100644
index 6bf1e173c71a..000000000000
--- a/x11/rxvt-unicode/files/patch-src_background.C
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./src/background.C.orig 2010-12-03 22:08:19.000000000 +0100
-+++ ./src/background.C 2010-12-29 12:27:37.000000000 +0100
-@@ -56,6 +56,10 @@
- #define TIMING_TEST_PRINT_RESULT(id) do {} while (0)
- #endif
-
-+#if defined( __FreeBSD__)
-+# include <sys/endian.h>
-+#endif
-+
- /*
- * Pixmap geometry string interpretation :
- * Each geometry string contains zero or one scale/position
-@@ -1596,7 +1600,15 @@
- rgba low;
- rgba high;
- int i;
-+#if defined(HAVE_SYS_BYTEORDER_H)
- int host_byte_order = byteorder.big_endian () ? MSBFirst : LSBFirst;
-+#else
-+# if _BYTE_ORDER == _LITTLE_ENDIAN
-+ int host_byte_order = LSBFirst;
-+# else
-+ int host_byte_order = MSBFirst;
-+# endif
-+#endif
-
- if (visual->c_class != TrueColor || ximage->format != ZPixmap) return;
-
diff --git a/x11/rxvt-unicode/files/patch-src_rxvtutil.h b/x11/rxvt-unicode/files/patch-src_rxvtutil.h
deleted file mode 100644
index 530272620577..000000000000
--- a/x11/rxvt-unicode/files/patch-src_rxvtutil.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/rxvtutil.h.orig 2010-08-25 04:07:15.000000000 +0200
-+++ src/rxvtutil.h 2010-12-29 12:29:26.000000000 +0100
-@@ -40,6 +40,7 @@
- # define THROW(x) throw x
- #endif
-
-+#if defined(HAVE_SYS_BYTEORDER_H)
- extern class byteorder {
- static unsigned int e; // at least 32 bits
- public:
-@@ -50,6 +51,7 @@
- static bool little_endian () { return e == 0x44332211; };
- static bool vax () { return e == 0x44332211; };
- } byteorder;
-+#endif
-
- // various utility functions
- template<typename T, typename U> static inline T min (T a, U b) { return a < (T)b ? a : (T)b; }