That above bit in debian/rules seems unneeded, and was probably not the correct fix to whatever issue there was with os.fsync() not being defined.
Before the sed bit, there is:
#define HAVE_FSYNC 1 #define HAVE_SYNC 1
And after you end up with HAVE_FSYNC being defined twice:
#define HAVE_FSYNC 1 #define HAVE_FSYNC 1
That above bit in debian/rules seems unneeded, and was probably not the correct fix to whatever issue there was with os.fsync() not being defined.
Before the sed bit, there is:
#define HAVE_FSYNC 1
#define HAVE_SYNC 1
And after you end up with HAVE_FSYNC being defined twice:
#define HAVE_FSYNC 1
#define HAVE_FSYNC 1