Incorporate the release number into NPW_PLUGIN_IDENT

As long as distributions actually remember to increment this value, they
won't keep missing updates.
This commit is contained in:
David Benjamin 2011-04-21 14:23:19 -04:00
parent 1ed587a95a
commit 63f8937736
2 changed files with 3 additions and 1 deletions

2
configure vendored
View File

@ -864,8 +864,10 @@ echo "SNAPSHOT=$SNAPSHOT" >> $config_mak
echo "#define NPW_SNAPSHOT $SNAPSHOT" >> $config_h
if test $SNAPSHOT -ge 2; then
echo "#define NPW_VERSION \"$VERSION-Pre ($SVNDATE)\"" >> $config_h
echo "#define NPW_FULL_VERSION NPW_VERSION" >> $config_h
else
echo "#define NPW_VERSION \"$VERSION\"" >> $config_h
echo "#define NPW_FULL_VERSION \"$VERSION-$RELEASE\"" >> $config_h
fi
echo "pkglibdir=$pkglibdir" >> $config_mak

View File

@ -47,7 +47,7 @@
#define NPW_WRAPPER NPW_WRAPPER_BASE ".so"
#define NPW_DEFAULT_PLUGIN_PATH NPW_HOST_LIBDIR "/" NPW_WRAPPER
#define NPW_PLUGIN_INFO_VERSION 2
#define NPW_PLUGIN_IDENT "NPW:X:" NPW_VERSION
#define NPW_PLUGIN_IDENT "NPW:X:" NPW_FULL_VERSION
#define NPW_PLUGIN_IDENT_SIZE 32
typedef struct __attribute__((packed)) {
char ident[NPW_PLUGIN_IDENT_SIZE];