aports/main/ortp/fix-pkgconfig-pc-file.patch
2024-04-12 19:06:44 +00:00

18 lines
635 B
Diff

Patch-Source: https://github.com/OpenMandrivaAssociation/ortp/blob/master/ortp-4.4.6-cmake-fix-pkgconfig-pc-file.patch
--- a/ortp.pc.in
+++ b/ortp.pc.in
@@ -1,4 +1,3 @@
-# This is a comment
prefix=@prefix@
exec_prefix=@exec_prefix@
-includedir=@includedir@
+includedir=@includedir@/ortp
@@ -6,5 +5,5 @@ includedir=@includedir@
Name: oRTP
Description: Implement the RFC3550 (RTP) with a easy to use API with high and low level access.
Version: @ORTP_PKGCONFIG_VERSION@
-Libs: -L@libdir@ -lortp @ORTPDEPS_LIBS@
-Cflags: -I@includedir@ @ORTPDEPS_CFLAGS@
+Libs: -lortp @ORTPDEPS_LIBS@
+Cflags: -I@includedir@/ortp @ORTPDEPS_CFLAGS@