diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 81d95c1c89b72726954ebb2ee5a9225b90bdd177..ef5216c3cb3b27e25534e29dfec2896f6365cbe5 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -371,6 +371,7 @@ install_asn1c_from_source(){ svn co https://github.com/vlm/asn1c/trunk /tmp/asn1c-r1516 -r 1516 > /tmp/log_compile_asn1c patch -p0 < $OPENAIR_DIR/openair-cn/S1AP/MESSAGES/ASN1/asn1cpatch.p0 >> /tmp/log_compile_asn1c patch -p0 < $OPENAIR_DIR/openair-cn/S1AP/MESSAGES/ASN1/asn1cpatch_2.p0 >> /tmp/log_compile_asn1c + patch -p0 < $OPENAIR_DIR/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0 >> /tmp/log_compile_asn1c ./configure make > /tmp/log_compile_asn1c 2>&1 $SUDO make install diff --git a/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0 b/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0 new file mode 100644 index 0000000000000000000000000000000000000000..18dc516285b45214f9dd88598ce8ed08753a7588 --- /dev/null +++ b/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0 @@ -0,0 +1,13 @@ +Index: skeletons/per_opentype.c +=================================================================== +--- skeletons/per_opentype.c (revision 1516) ++++ skeletons/per_opentype.c (working copy) +@@ -277,7 +306,7 @@ + (void)constraints; + (void)sptr; + +- while(per_get_few_bits(pd, 24) >= 0); ++ while(per_get_few_bits(pd, 1 /*24*/) >= 0); + + rv.code = RC_OK; + rv.consumed = pd->moved;