summaryrefslogtreecommitdiff
path: root/debian/patches/06replace_linux_feature_macro.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/06replace_linux_feature_macro.dpatch')
-rw-r--r--debian/patches/06replace_linux_feature_macro.dpatch23
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/patches/06replace_linux_feature_macro.dpatch b/debian/patches/06replace_linux_feature_macro.dpatch
deleted file mode 100644
index ba29656..0000000
--- a/debian/patches/06replace_linux_feature_macro.dpatch
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 06replace_linux_feature_macro.dpatch by <hesso@pool.math.tu-berlin.de>
-##
-## DP: Don't test for linux, but for __GLIBC__, because this has nothing
-## DP: to do with the system we're running on (setenv is part of glibc).
-
-@DPATCH@
---- screen-4.0.3.orig/misc.c
-+++ screen-4.0.3/misc.c
-@@ -613,11 +613,11 @@
- */
- # endif /* NEEDSETENV */
- #else /* USESETENV */
--# if defined(linux) || defined(__convex__) || (BSD >= 199103)
-+# if defined(__GLIBC__) || defined(__convex__) || (BSD >= 199103)
- setenv(var, value, 1);
- # else
- setenv(var, value);
--# endif /* linux || convex || BSD >= 199103 */
-+# endif /* __GLIBC__ || convex || BSD >= 199103 */
- #endif /* USESETENV */
- }
-