[SCM] pd-readanysf/master: patch for proper OS-detection
zmoelnig-guest at users.alioth.debian.org
zmoelnig-guest at users.alioth.debian.org
Thu Feb 10 12:45:29 UTC 2011
The following commit has been merged in the master branch:
commit de397d111343fa547e518d4773fd18f644dda852
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Thu Feb 10 13:41:50 2011 +0100
patch for proper OS-detection
diff --git a/debian/patches/makefile-defaultLinux.patch b/debian/patches/makefile-defaultLinux.patch
new file mode 100644
index 0000000..a847e5b
--- /dev/null
+++ b/debian/patches/makefile-defaultLinux.patch
@@ -0,0 +1,23 @@
+Author: IOhannes m zmölnig
+Description: default to (so-called) "Linux
+upstream's OS-detection assumed that everything is Darwin that is not Linux
+on Debian (which is very linux-like) UNAME could as well be "kFreeBSD" or
+"Hurd", so i thought it safer to assume that everything is "Linux"(like) that is
+not Darwin.
+
+--- pd-readanysf.orig/Makefile
++++ pd-readanysf/Makefile
+@@ -8,6 +8,13 @@
+ VERSION=0.42
+ UNAME := $(shell uname)
+
++ifneq ($(UNAME), Darwin)
++# simplistic approach to OS-detection
++ UNAME=Linux
++endif
++
++
++
+ ifeq ($(UNAME), Linux)
+ TARGET=pd_linux
+ else
diff --git a/debian/patches/series b/debian/patches/series
index f5894f4..96de522 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
makefile-objs-dir.patch
makefile-CFLAGS.patch
makefile-fPIC.patch
+makefile-defaultLinux.patch
--
pd-readanysf packaging
More information about the pkg-multimedia-commits
mailing list