summaryrefslogtreecommitdiff
path: root/recipes/openh264
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-01-14 18:08:15 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-01-14 18:08:15 +0100
commitcfce1dca6d78f9c505ea84a5464b4b62d87b7946 (patch)
treed9d39e61630770eec6a44e334167dae0bfc9b3ea /recipes/openh264
parenta86ebeb4eeca98e2fa20bec838a95a64c90cd081 (diff)
recipes/openh264: Use upstream commit for fixing .pc rights
Diffstat (limited to 'recipes/openh264')
-rw-r--r--recipes/openh264/0002-Don-t-install-the-pkg-config-file-as-readonly.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/openh264/0002-Don-t-install-the-pkg-config-file-as-readonly.patch b/recipes/openh264/0002-Don-t-install-the-pkg-config-file-as-readonly.patch
new file mode 100644
index 00000000..ba82eb9f
--- /dev/null
+++ b/recipes/openh264/0002-Don-t-install-the-pkg-config-file-as-readonly.patch
@@ -0,0 +1,27 @@
+From a24bac34bd292f88c41c0d3428033fb4ed72e4c4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
+Date: Fri, 2 Jan 2015 21:52:36 +0200
+Subject: [PATCH] Don't install the pkg-config file as readonly
+
+This file should be installed just as any other file, protected by
+normal user permissions, not by making the file readonly.
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 37ea626..da0e6a3 100644
+--- a/Makefile
++++ b/Makefile
+@@ -237,7 +237,7 @@ install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $
+ cp -a $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(SHAREDLIB_DIR); \
+ fi
+ mkdir -p $(PREFIX)/lib/pkgconfig
+- install -m 444 $(PROJECT_NAME).pc $(PREFIX)/lib/pkgconfig
++ install -m 644 $(PROJECT_NAME).pc $(PREFIX)/lib/pkgconfig
+ ifneq ($(EXTRA_LIBRARY),)
+ install -m 644 $(EXTRA_LIBRARY) $(PREFIX)/lib
+ endif
+--
+2.1.0
+