pidgin/pidgin

Fix build with clang 11.0.0

2020-10-14, Steve Wills
85c82288a969
Fix build with clang 11.0.0

Testing Done:
Built on FreeBSD 13 CURRENT with clang 11.0.0

Built on debian unstable with gcc to verify no changes there. -GK

Reviewed at https://reviews.imfreedom.org/r/167/
# These are mood images that are NOT also used in the smiley theme.
MOODS = [
'afraid.png',
'bathing.png',
'cinema.png',
'disappointed.png',
'embarrassed.png',
'grumpy.png',
'hot.png',
'internet.png',
'invincible.png',
'music.png',
'restroom.png',
'search.png',
'shopping.png',
'studying.png',
'suit.png',
'surfing.png',
'typing.png',
'working.png',
'writing.png'
]
SMILEYS = [
'amorous.png',
'angel.png',
'angry.png',
'beer.png',
'bored.png',
'boy.png',
'camera.png',
'chilli.png',
'cigarette.png',
'coffee.png',
'confused.png',
'console.png',
'cold.png',
'cross.png',
'crying.png',
'devil.png',
'dont-know.png',
'drool.png',
'excited.png',
'excruciating.png',
'eyeroll.png',
'girl.png',
'glasses-cool.png',
'happy.png',
'hug-left.png',
'hug-right.png',
'hungry.png',
'in_love.png',
'kiss.png',
'lamp.png',
'lying.png',
'meeting.png',
'mobile.png',
'mrgreen.png',
'musical-note.png',
'nerdy.png',
'neutral.png',
'party.png',
'phone.png',
'pirate.png',
'pissed-off.png',
'plate.png',
'question.png',
'rose.png',
'sad.png',
'sarcastic.png',
'shame.png',
'shocked.png',
'shut-mouth.png',
'sick.png',
'silent.png',
'sleeping.png',
'sleepy.png',
'star.png',
'stressed.png',
'thinking.png',
'thunder.png',
'tongue.png',
'tv.png',
'uhm-yeah.png',
'wink.png'
]
if INSTALL_PIXMAPS
pidginsmileypixdir = pidginpixmapdir / 'emotes/small'
custom_target('small-theme',
input : 'small.theme.in',
output : 'theme',
capture : true,
command : [sedpath,
'-e', 's/^_Name=/Name=/',
'-e', 's/^_Description=/Description=/',
'-e', 's/^_Author=/Author=/',
'@INPUT@'],
install : true,
install_dir : pidginsmileypixdir)
install_data(MOODS + SMILEYS, install_dir : pidginsmileypixdir)
endif