]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Mon, 27 Jun 2016 15:51:57 +0000 (17:51 +0200)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Mon, 27 Jun 2016 15:56:47 +0000 (17:56 +0200)
* commit '535a742c2695a9e0c586b50d7fa76e318232ff24':
  build: Change structure of the linker version script templates

Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
common.mak
libavcodec/libavcodec.v
libavdevice/libavdevice.v
libavfilter/libavfilter.v
libavformat/libavformat.v
libavresample/libavresample.v
libavutil/libavutil.v
libpostproc/libpostproc.v
libswresample/libswresample.v
libswscale/libswscale.v

index 5eec8cc99d793a23968824560c31d90f06588bf3..fbe57d5c4a1f7a22d69c1c392f807ab85ca74696 100644 (file)
@@ -84,9 +84,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
        $(Q)echo '#include "$*.h"' >$@
 
 %.ver: %.v
-       $(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
-/' -e 's/; /;\
-/g' > $@
+       $(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
 
 %.c %.h %.ver: TAG = GEN
 
index c923cd378f5cb52cb36c89720a6b1ceea8fd955d..304c2ef4279af582b5f20bc8828ab7aaff0b25b9 100644 (file)
@@ -1,7 +1,9 @@
-LIBAVCODEC_$MAJOR {
-        global: av*;
-                #deprecated, remove after next bump
-                audio_resample;
-                audio_resample_close;
-        local:  *;
+LIBAVCODEC_MAJOR {
+    global:
+        av*;
+        #deprecated, remove after next bump
+        audio_resample;
+        audio_resample_close;
+    local:
+        *;
 };
index de7278c1933027cb324dbde9bc2ce7c2e75096ad..97616171856c676f49f01510df7c2bb1db1f4d36 100644 (file)
@@ -1,4 +1,7 @@
-LIBAVDEVICE_$MAJOR {
-        global: avdevice_*; av_*;
-        local: *;
+LIBAVDEVICE_MAJOR {
+    global:
+        avdevice_*;
+        av_*;
+    local:
+        *;
 };
index 83e88870809c2e8374152a9ef9c5a816971d6a29..6518e5fc0960bc0c468e7cd3531634857fe4c68f 100644 (file)
@@ -1,4 +1,7 @@
-LIBAVFILTER_$MAJOR {
-        global: avfilter_*; av_*;
-        local: *;
+LIBAVFILTER_MAJOR {
+    global:
+        avfilter_*;
+        av_*;
+    local:
+        *;
 };
index a00a3093c7fd2c53c8b44581fd893f3b5d431c63..c961cd8f19ccdd3ddffb7da9e56356e8d60403b5 100644 (file)
@@ -1,17 +1,19 @@
-LIBAVFORMAT_$MAJOR {
-        global: av*;
-                #FIXME those are for ffserver
-                ff_inet_aton;
-                ff_socket_nonblock;
-                ff_rtsp_parse_line;
-                ff_rtp_get_local_rtp_port;
-                ff_rtp_get_local_rtcp_port;
-                ffio_open_dyn_packet_buf;
-                ffio_set_buf_size;
-                ffurl_close;
-                ffurl_open;
-                ffurl_write;
-                #those are deprecated, remove on next bump
-                url_feof;
-        local: *;
+LIBAVFORMAT_MAJOR {
+    global:
+        av*;
+        #FIXME those are for ffserver
+        ff_inet_aton;
+        ff_socket_nonblock;
+        ff_rtsp_parse_line;
+        ff_rtp_get_local_rtp_port;
+        ff_rtp_get_local_rtcp_port;
+        ffio_open_dyn_packet_buf;
+        ffio_set_buf_size;
+        ffurl_close;
+        ffurl_open;
+        ffurl_write;
+        #those are deprecated, remove on next bump
+        url_feof;
+    local:
+        *;
 };
index b8c7c7d2e5ec5ac49fe7b2ae3ac7bdba38736837..d6fc7512bab81dbe60ecda8e0de48865bafe3f89 100644 (file)
@@ -1,4 +1,6 @@
-LIBAVRESAMPLE_$MAJOR {
-        global: av*;
-        local:  *;
+LIBAVRESAMPLE_MAJOR {
+    global:
+        av*;
+    local:
+        *;
 };
index e9f04cba65d091ef465717986aacee944743e0f6..fb17058df5de687cc1353fef3d99f6b8c79208b8 100644 (file)
@@ -1,4 +1,6 @@
-LIBAVUTIL_$MAJOR {
-        global: av*;
-        local: *;
+LIBAVUTIL_MAJOR {
+    global:
+        av*;
+    local:
+        *;
 };
index e65d76f4f6ccdfaee135bd59ba495af198b040b4..27381c6aca3ca7a2128c2d89cfe75ff2ec2d7717 100644 (file)
@@ -1,4 +1,7 @@
-LIBPOSTPROC_$MAJOR {
-        global: postproc_*; pp_*;
-        local: *;
+LIBPOSTPROC_MAJOR {
+    global:
+        postproc_*;
+        pp_*;
+    local:
+        *;
 };
index 0d5efe4706cd286c4d46586fb76009f8e5370a35..3b3508d707055fed061eade98a2c4c8afbfb9856 100644 (file)
@@ -1,4 +1,7 @@
-LIBSWRESAMPLE_$MAJOR {
-        global: swr_*; swresample_*;
-        local: *;
+LIBSWRESAMPLE_MAJOR {
+    global:
+        swr_*;
+        swresample_*;
+    local:
+        *;
 };
index 8b9a96ae6670d98adc5a8d75d3dc5af56feb1ec0..96170a16a00f292617983a402cbf8a9fa601aa6d 100644 (file)
@@ -1,4 +1,7 @@
-LIBSWSCALE_$MAJOR {
-        global: swscale_*; sws_*;
-        local: *;
+LIBSWSCALE_MAJOR {
+    global:
+        swscale_*;
+        sws_*;
+    local:
+        *;
 };