mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
lcab: recreate patch, as diff -U0 confuses haikuporter.
Also resync the offsets of the patches of a few other recipes: * file-2.25 * x265-1.9 * libdvdnav-5.0.3 (Syncing patch offsets is not necessary but it does not hurt either.)
This commit is contained in:
@@ -36,7 +36,7 @@ diff --git a/src/searching.c b/src/searching.c
|
||||
index f6e497e..993b9d0 100644
|
||||
--- a/src/searching.c
|
||||
+++ b/src/searching.c
|
||||
@@ -1147,6 +1147,8 @@ static int32_t dvdnav_find_vobu_by_tmap(dvdnav_t *this, dvd_state_t *state,
|
||||
@@ -1153,6 +1153,8 @@ static int32_t dvdnav_find_vobu_by_tmap(dvdnav_t *this, dvd_state_t *state,
|
||||
uint64_t seek_offset = 0;
|
||||
uint32_t seek_idx = 0;
|
||||
int32_t result = 0;
|
||||
@@ -45,7 +45,7 @@ index f6e497e..993b9d0 100644
|
||||
dvdnav_pos_data_t *cell_bgn_lo = NULL;
|
||||
dvdnav_pos_data_t *cell_bgn_hi = NULL;
|
||||
dvdnav_pos_data_t *jump_lo = NULL;
|
||||
@@ -1172,8 +1174,8 @@ static int32_t dvdnav_find_vobu_by_tmap(dvdnav_t *this, dvd_state_t *state,
|
||||
@@ -1178,8 +1180,8 @@ static int32_t dvdnav_find_vobu_by_tmap(dvdnav_t *this, dvd_state_t *state,
|
||||
/* calc time of jump_time relative to cell_bgn_lo */
|
||||
seek_offset = jump->time - cell_bgn_lo->time;
|
||||
seek_idx = (uint32_t)(seek_offset / args->tmap_interval);
|
||||
@@ -56,7 +56,7 @@ index f6e497e..993b9d0 100644
|
||||
|
||||
/* get tmap entries on either side of jump_time */
|
||||
jump_lo = &(dvdnav_pos_data_t){0};
|
||||
@@ -1250,7 +1252,6 @@ static int32_t dvdnav_find_vobu_by_cell_boundaries(
|
||||
@@ -1256,7 +1258,6 @@ static int32_t dvdnav_find_vobu_by_cell_boundaries(
|
||||
/* -1: Before. Always jump to a time that is < time_in_pts_ticks */
|
||||
dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *this,
|
||||
uint64_t time_in_pts_ticks, int32_t mode) {
|
||||
@@ -64,7 +64,7 @@ index f6e497e..993b9d0 100644
|
||||
int32_t result = DVDNAV_STATUS_ERR;
|
||||
dvd_state_t *state = NULL;
|
||||
uint32_t sector_off = 0;
|
||||
@@ -1258,6 +1259,8 @@ dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *this,
|
||||
@@ -1264,6 +1265,8 @@ dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *this,
|
||||
dvdnav_cell_data_t *cell_data = NULL;
|
||||
dvdnav_jump_args_t *args = NULL;
|
||||
|
||||
@@ -77,7 +77,7 @@ diff --git a/src/vm/vm.c b/src/vm/vm.c
|
||||
index 7e4d594..e4e8995 100644
|
||||
--- a/src/vm/vm.c
|
||||
+++ b/src/vm/vm.c
|
||||
@@ -816,10 +816,12 @@ static int process_command(vm_t *vm, link_t link_values) {
|
||||
@@ -823,10 +823,12 @@ static int process_command(vm_t *vm, link_t link_values) {
|
||||
/* These should never be set in SystemSpace and/or MenuSpace */
|
||||
/* vm->state.TTN_REG = rsm_tt; ?? */
|
||||
/* vm->state.TT_PGCN_REG = vm->state.rsm_pgcN; ?? */
|
||||
|
||||
Reference in New Issue
Block a user