We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm making a pkgsrc port of the last release. Can you take a look at these small patches? Thanks.
============================================= --- Makefile.orig 2019-12-17 16:05:14.000000000 +0000 +++ Makefile @@ -4,7 +4,7 @@ VERSION=3.3 # To test strict C ANSI compliance -CC = gcc -ansi -pedantic +CC ?= gcc -ansi -pedantic LIB= -lm # This allow you to write commands like "make PURE=purify demo1" @@ -26,7 +26,7 @@ CCPURE = $(PURE) $(CC) # If endianess of your machine is not automatically detected in Misc/common.h # you should manually specify here -CFLAGS += -DLITTLE_ENDIAN +#CFLAGS += -DLITTLE_ENDIAN #CFLAGS += -DBIG_ENDIAN ####################### ============================================= --- Misc/common.h.orig 2019-12-17 16:05:14.000000000 +0000 +++ Misc/common.h @@ -70,11 +70,11 @@ void swab( const char *from, char *to, int nbytes); #endif -#if defined(__GLIBC__) +#if defined(__GLIBC__) || defined(TARGET_OS_NETBSD) #include <endian.h> #undef BIG_ENDIAN #undef LITTLE_ENDIAN -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if __BYTE_ORDER == __LITTLE_ENDIAN || _BYTE_ORDER == _LITTLE_ENDIAN # define LITTLE_ENDIAN #else # define BIG_ENDIAN
The text was updated successfully, but these errors were encountered:
@adr-adr, can you provide it as proper patch file or merge request?
Sorry, something went wrong.
Sure. mbrola_pkgsrc_patches.tgz
No branches or pull requests
Hi, I'm making a pkgsrc port of the last release. Can you take a look at these small patches?
Thanks.
The text was updated successfully, but these errors were encountered: