iirc, gaza farms and fishing provided less than 10% of calories to population. animal farms were dependent upon imported animal feed.
ps. good chunk of farms were actually not for gaza consumption but for export (to israel and other places). stuff like strawberries, some leafy greens, etc. but in general farming in region is hard. there is no water. droughts been severe. Israel survives by desalinating majority (80%) of potable water (and supplying it to jordan, west bank, gaza) and recycling 90% of waste water for use in agriculture.